go to post Lorenzo Scalese · Apr 15, 2021 Exactly @Guillaume Rongier ! I am a Manifest Installer user and It works fine. However, sometimes people which deploy applications aren't ObjectScript developers. Manifest Installer, need to create a class, write an XML, compile. I would like a rupture between the configuration and the code. Moreover, everything is exposed in REST. It could be interesting to integrate IRIS configuration from a tool in another language. Thank you!
go to post Lorenzo Scalese · Nov 24, 2020 It's useless on your local dev, but depending your goal : You can try to dump zzDumpDoc(pkg, targetDir="c:\dev\testdumpdoc\") new (pkg, targetDir) Do:'##class(%File).DirectoryExists(targetDir) ##class(%File).CreateDirectoryChain(targetDir) Set pkgDot = pkg _ ".", class = pkgDot, restore = 0 If $Isobject($Get(%request)) { Set oldRequest = %request Set oldResponse = %response Set oldSession = %session Set restore = 1 } Set %request = ##class(%CSP.Request).%New() Set %response = ##class(%CSP.Response).%New() Set %session = ##class(%CSP.Session).%New("0123456789") Do %session.Unlock() Set %request.Data("PAGE",1) = "CLASS" For { Set class = $Order(^oddDEF(class)) Quit:$e(class,1,$l(pkgDot))'=pkgDot Set %request.Data("LIBRARY",1) = $namespace Set %request.Data("CLASSNAME",1) = class Set initialIO = $IO Set file = targetDir_class_".html" OPEN file:("NRW"):2 USE file Do ##class(%CSP.Documatic.PrintClass).OnPage() USE initialIO CLOSE file } If restore { Set %request = oldRequest Set %response = oldResponse Set %session = oldSession } quit There exits more elegant way to redirect the output (check the community).
go to post Lorenzo Scalese · Nov 24, 2020 Hi @Yuri Marx , I don't know. If nothing exists: Perhaps we can write a script to call CSP.Documatic.PrintClass.cls and dump the html response into file. ex : /csp/documatic/%25CSP.Documatic.PrintClass.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=%25Library.Integer A %Net.HttpRequest is not required. I guess we can create a %request object, redirect the IO and calling OnPage method.
go to post Lorenzo Scalese · Nov 23, 2020 What an exciting contest! So happy to win in experts votes and third in community votes. Congrats to all participants for your great apps. Thanks to experts and community for your support! Also special thanks to the OEX Team and all members behind the scene.
go to post Lorenzo Scalese · Nov 20, 2020 Hi, You can try my document converter with a Generated Interoperability client app. Install the latest version (v1.3.2+) Set sc = ##class(dc.openapi.client.Spec).generateApp("doc", "https://www.lscalese.ovh/documentconverter/api/v1/_spec") Open Swagger tools : http://localhost:52795/swagger-ui/index.html Explore : http://localhost:52795/docrest/_spec see this gif video download link for full screen view
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.