go to post Dmitry Maslennikov · Oct 3, 2023 Check this template https://github.com/intersystems-community/iris-fhir-template/blob/master... // Configure FHIR Service instance to accept unauthenticated requests set strategy = ##class(HS.FHIRServer.API.InteractionsStrategy).GetStrategyForEndpoint(appKey) set config = strategy.GetServiceConfigData() set config.DebugMode = 4 do strategy.SaveServiceConfigData(config)
go to post Dmitry Maslennikov · Oct 3, 2023 have a look at this, tool, could it be useful? I can extend it, to add not just return $ZVersion https://github.com/caretdev/iscctl
go to post Dmitry Maslennikov · Sep 28, 2023 https://github.com/grongierisc/iris-docker-multi-stage-script/blob/main/...
go to post Dmitry Maslennikov · Sep 27, 2023 But anyway, I don't see that's it's not impossible at all. The only thing that may stop with it, it's the lack of support of IRIS in different languages. But it's solvable, for instance, I could do it.
go to post Dmitry Maslennikov · Sep 26, 2023 I think would be great to expand the first link, which contains 4 interactive in-browser tutorials
go to post Dmitry Maslennikov · Sep 22, 2023 There are still some bugs left in Embedded Python, I reported one more yesterday for a very fresh 2023.3 too Another issue is that it requires much more time, to implement than I expected, so, I need some more time to finish at least one indexing algorithm.
go to post Dmitry Maslennikov · Sep 22, 2023 Or use extra symbol for &js, like @, see example ClassMethod OnPage() As %Status { &js@< if ( a > 1) { console.log('test') } >@ Quit $$$OK }
go to post Dmitry Maslennikov · Sep 22, 2023 The issue is just in `<` sign in the javascript code, replace it with something else, without <>.
go to post Dmitry Maslennikov · Sep 21, 2023 In my project iris-vector, there are a few things, which make it impossible to make it ObjectScriptLess, at least for now. I've already mentioned the issues of running Python based SQL functions, in my article, so, I had to add ObjectScript realization too. And any new DataType in IRIS, which implements custom serialization based on methods like DisplayToStorage, at the moment accepts only ObjectScript, due to tied implementation to SQL Compilation engine.
go to post Dmitry Maslennikov · Sep 21, 2023 I think it is worth mentioning, that the alternative is possible The latest technologies based on Vectors, may help to replace it, with even more capabilities.
go to post Dmitry Maslennikov · Sep 19, 2023 A bunch of services with their InboundAdapters, such as FTP, Email, SQL, Kafka, and so on, connects to external server using this InboundAdapter directly, collect data and use it in Service. And only for TCP, HTTP, SOAP, REST by some reason decided that InboundAdapter now should start our own server, so, external services should connect to us. It's useful for sure, but the why we can't use it the other way too, is it somehow completely different? The logic in the workflow is still the same, it's Input data, which have to start the workflow.
go to post Dmitry Maslennikov · Sep 18, 2023 Refactoring is the best and only solution here, get rid of those files. Yeah, it's painful, for sure, and probably sounds like a waste of time, but it's definitely necessary and will help in the future
go to post Dmitry Maslennikov · Sep 11, 2023 And the same class through VSCode, outputs always the same Compilation started on 09/11/2023 19:15:59 with qualifiers 'c-uk' Compilation finished successfully in 0.059s. Compilation started on 09/11/2023 19:16:00 with qualifiers 'c-uk' Compilation finished successfully in 0.056s. Compilation started on 09/11/2023 19:16:22 with qualifiers 'c-uk' Compilation finished successfully in 0.056s. Compilation started on 09/11/2023 19:16:27 with qualifiers 'c-uk' Compilation finished successfully in 0.050s. Compilation started on 09/11/2023 19:16:30 with qualifiers 'c-uk' Compilation finished successfully in 0.052s. Compilation started on 09/11/2023 19:16:33 with qualifiers 'c-uk' Compilation finished successfully in 0.056s. Compilation started on 09/11/2023 19:16:35 with qualifiers 'c-uk' Compilation finished successfully in 0.053s.
go to post Dmitry Maslennikov · Sep 11, 2023 In terminal, I managed to get expected log, on each third compile, but it's still insane Compilation started on 09/11/2023 19:13:27 with qualifiers 'ck-u' Compiling class User.demo Compiling table SQLUser.demo Compiling routine User.demo.1 Compilation finished successfully in 0.081s. USER>do $system.OBJ.Compile("User.demo","ck-u") Compilation started on 09/11/2023 19:13:28 with qualifiers 'ck-u' Compilation finished successfully in 0.071s. USER>do $system.OBJ.Compile("User.demo","ck-u") Compilation started on 09/11/2023 19:13:29 with qualifiers 'ck-u' Compilation finished successfully in 0.064s. USER>do $system.OBJ.Compile("User.demo","ck-u") Compilation started on 09/11/2023 19:13:30 with qualifiers 'ck-u' Compiling class User.demo Compiling table SQLUser.demo Compiling routine User.demo.1 Compilation finished successfully in 0.087s.
go to post Dmitry Maslennikov · Sep 11, 2023 Any news, about this issue, or that only happen to me? I'm working in docker, in many different IRISs, but always have this issue Or finally, no one works with ObjectScript anymore?
go to post Dmitry Maslennikov · Sep 11, 2023 You always can get Community images from Docker Hub Original vanilla images: https://hub.docker.com/u/intersystems Images with IPM/ZPM, and many other features: https://hub.docker.com/u/intersystemsdc
go to post Dmitry Maslennikov · Sep 8, 2023 Make sure, that your class responses with correct HTTP header ContentType, so, browser will understand that it's an image, and if the content type is supported it will be shown, as well as ContentDisposition for instance Content-Type: image/jpeg Content-Disposition: inline; filename="filename.jpg" PNG, and other files, should have their own content types too
go to post Dmitry Maslennikov · Sep 8, 2023 IRIS SQL does not have CHECK constraints, so, this syntax not available at all. Just try using a simple string, without enumeration.