go to post Lorenzo Scalese · Nov 18, 2020 Yes, I agree with @Vic Sun. The built-in web server shouldn't be used in production. If you're a docker user, perhaps [this](https://github.com/lscalese/isc-webgateway-letsencrypt) can help you. So, using encryption with let's encrypt needs a fully qualified domain name, but Docker file file and setupWebGateway.shcould help you.
go to post Lorenzo Scalese · Nov 17, 2020 Hi @Botai Zhang Take a look to this post : https://community.intersystems.com/post/running-management-portal-privat...
go to post Lorenzo Scalese · Nov 16, 2020 Hi @Yuri Marx , Great!I must test this app. I'm working on document converter tool, perhaps may I integrate OCR with your app.
go to post Lorenzo Scalese · May 4, 2020 Hi!Congrats for your victory @Henrique Dias and all nominate @Nikolay Solovyev, @Henry Pereira! Thanks to the community team for their advice and @Evgeny Shvarov for his help and availability. Thank you for your votes!
go to post Lorenzo Scalese · May 1, 2020 Hi, The demo is temporarily hosted on AWS server.login : contestpassword : Contest2004 Demo page linkSwagger-UI LINKBy default, Swagger-UI open URL localhost:52773, replace by http://3.124.175.55/csp/jsonfilterrest/_spec
go to post Lorenzo Scalese · Apr 29, 2020 Hi @lw wei, I don't know if an API exists to do this, but if nothing exists you can use the job command with an input file.example : JOB ^STURECOV:("%SYS"::infile:outfile):3 "infile" is the path to your input file that contains all entries for each read."outfile" optional, but interesting to know what happened.
go to post Lorenzo Scalese · Apr 29, 2020 Hello @Arto Alatalo If there is no overload on production server, perhaps can you perform a D ^%BENCHLANG on production and dev machine? It's benchmark CPU against ObjectScript language. Compare the COSMark result.
go to post Lorenzo Scalese · Apr 28, 2020 Thank you for your feedback @Robert Cemper I didn't run a benchmark, because in my case it's a deprecated class without intensive usage. It's good to know the indirection performance is not bad.
go to post Lorenzo Scalese · Apr 28, 2020 Interesting @Robert Cemper ! I wrote a similar code the last year in order to have storage compatible Caché\healthshare and Iris. We have a legacy persistent class mapped on ^CacheMsg global, my solution : <SQLMap name="CacheMsg"><Data name="msg"><Delimiter>"^"</Delimiter><Piece>1</Piece></Data><Global>@($s($zv'["IRIS":"^CacheMsg",1:"^IRIS.Msg"))@</Global> It works very well, but perhaps a little bit slow due to indirection usage. I'll keep this code until a complete migration to Iris and then It will be removed.
go to post Lorenzo Scalese · Apr 17, 2020 Thank you @Evgeny Shvarov . Glad to see a feature for custom parameters.
go to post Lorenzo Scalese · Apr 9, 2020 Yes, that's it ! We can see a dot. It works fine.Thank you for your help.
go to post Lorenzo Scalese · Apr 9, 2020 Hello @Timothy Leavitt Thank you for this great article! I tried to add "UnitTest" tag to my module.xml but something wrong during the publish process.<UnitTest Name="tests" Package="UnitTest.Isc.JSONFiltering.Services" Phase="test"/> tests directory contain a directory tree UnitTest/Isc/JSONFiltering/Services/ with a %UnitTest.TestCase sublcass. Exported 'tests' to /tmp/dirLNgC2s/json-filter-1.2.0/tests/.testsERROR #5018: Routine 'tests' does not exist[json-filter] Package FAILURE - ERROR #5018: Routine 'tests' does not existERROR #5018: Routine 'tests' does not exist I also tried with objectscript-math project. This is the output of objectscript-math publish -v :Exported 'src/cls/UnitTests' to /tmp/dir7J1Fhz/objectscript-math-0.0.4/src/cls/unittests/.src/cls/unittestsERROR #5018: Routine 'src/cls/UnitTests' does not exist[objectscript-math] Package FAILURE - ERROR #5018: Routine 'src/cls/UnitTests' does not existERROR #5018: Routine 'src/cls/UnitTests' does not exist Did I miss something or is a package manager issue ?Thank you.
go to post Lorenzo Scalese · Mar 22, 2020 Hello @Evgeny Shvarov , I tested the following code in an Iris terminal to add %DB_%DEFAULT role, It seems to work : Write !,"Current user roles : ",$Roles Zn "%SYS" Set tSc = ##class(Security.Applications).Get("/csp/user",.p) Write !,"Get application : ",$SYSTEM.Status.GetOneErrorText(tSc) Set p("MatchRoles")=p("MatchRoles")_":%DB_%DEFAULT" Set tSc = ##class(Security.Applications).Modify("/csp/user",.p) Write !,"Modify application : ",$SYSTEM.Status.GetOneErrorText(tSc) Kill p
go to post Lorenzo Scalese · Mar 19, 2020 Yeah + 1 with Dmitriy I wish to read nice ObjectScript code !
go to post Lorenzo Scalese · Mar 17, 2020 Hello @Mario Sanchez Macias , I think it's not a correct usage of %ConvertJSONToObject, the third argument must be a target object instance. Depending on your need, you should use "%Array of %String". It's more flexible for SQL that "%List". If "valueRecived" variable is a dynamic array like ["green","yellow","blue"], you can test this code : Set valueRecived = ["green","yellow","blue"] Set array = ##class(%ArrayOfDataTypes).%New() Do ##class(%ZEN.Auxiliary.jsonProvider).%ConvertJSONToObject(valueRecived.%ToJSON(),,.array) Zw array