go to post Robert Cemper · Sep 22, 2022 my PR contains an update on docker-compose.ymland a bash script startflask.shall available here https://github.com/rcemper/iris-python-flask-api-template Sep.23 all merged
go to post Robert Cemper · Sep 21, 2022 The actual GTY is containers.intersystems.com/intersystems/webgateway:2022.1.0.209.0 And there is no :latest defined
go to post Robert Cemper · Sep 21, 2022 DONE!I found my solution and placed it in a PullRequest.it was slightly more than just a missing port.
go to post Robert Cemper · Sep 21, 2022 You may use input redirection as you find it in almost all Dockerfile installations: RUN iris start IRIS \ && iris session IRIS < iris.script \ && iris stop IRIS quietly and iris.script (as example) zn "%SYS"Do ##class(Security.Users).UnExpireUserPasswords("*")zn "USER"
go to post Robert Cemper · Sep 20, 2022 As Issues are disabled in the GitHub Repo I place my issue here. Container starts fine Postman fails:POST http://localhost:5000/persons/ Error: connect ECONNREFUSED 127.0.0.1:5000 Network agent: "Desktop Agent" Request Headers Content-Type: application/json User-Agent: PostmanRuntime/7.29.2 Accept: */* Cache-Control: no-cache Postman-Token: d40ec7c2-5b24-4944-8a76-c4cbf2685bf7 Host: localhost:5000 Accept-Encoding: gzip, deflate, br Connection: keep-alive Request Body {"name":"Elon Musk","title":"CEO","company":"Tesla","phone":"123-123-1233","dob":"1982-01-19"} as port 5000 is not mapped in docker-compose.yml this might be related ???
go to post Robert Cemper · Sep 20, 2022 I miss this in your Trigger code:%ok: A variable used only in trigger code.If trigger code succeeds, it sets %ok=1.If trigger code fails, it sets %ok=0. see %ok, %msg, and %oper System Variables
go to post Robert Cemper · Sep 20, 2022 Not sure if I can make the date.Anyhow using Studio since its first days in Caché 5.0 for 20+ years almost dailyand still firmly tied to Windows I just have no need for change.And I use my experience with all tricks and shorthands burned deep in my mind.It's just Dino's behavior as a veteran that started with X ^% in terminal
go to post Robert Cemper · Sep 19, 2022 Class Reference of %SYSTEM.Status says:classMethode IsError(statuscode As %Status) as %Boolean Returns 1 if the statuscode contains errors. Otherwise, it returns 0. So if you get [res] as (0,....) it is an ERROR! and therefore the result of IsError should be 1. It is an Error.
go to post Robert Cemper · Sep 18, 2022 %BI classes date back to Miner (DeepSee-1) and just were left in Caché over a decade at leastwhile its functionality was replaced by %DeepSee classes more than 10 years ago. Of course, you can map all %BI.* classes to some DB where you have R/W access and import it from Caché.that's about 300 Classes.BUT: no one can tell you if they compile correctlyAND: you have to take care of the hidden %bi*.obj (~430) and other deployed code which you can't compile, but import and pray they work.SO: this doesn't look like a promising approach.Therefore I'd suggest migrating from %BI to %DeepSee in Caché first and to IRIS next
go to post Robert Cemper · Sep 17, 2022 The questions seem to imply the view from a management position: However, how would you recommend to people aged between 20 and 30 to start, maintain, or reboot their joy, excitement, love, or interest for coding and software development? As I had the responsibility for a team of specialists my experience is such: Is there any other motivation as simple payment? If yes, the person could be raised. Any small success is a motivator. Especially if recognized by management. Curiosity is another motivator. Exploring something no one did before could be driving. My personal trigger always was. "This not possible" It is known as the "Galilei effect": And she (earth) is moving anyhow! Competition within a team works but is risky if competitors are too different. The weaker one may give up if it sees o chance. The best of all motivators is fun. Often in a team of 2 rather equal qualified people. HTH
go to post Robert Cemper · Sep 8, 2022 just to make your valuable entry visible in browser and emailhttp://<server-ip>:<smp-port>/api/atelier/ and you get back this nice JSON object:
go to post Robert Cemper · Sep 7, 2022 SOAP is quite specific and critical to data format and structure.You might extend it, but then Edge Server is the active part and you depend on its regular "broadcast".If Doc Server should be the active partner I'd rather suggest to use JDBC in Linux.Your actual $get might be embedded as a Method projected as SQL Procedure that you call.There exist examples to even execute COS commands by that approach:see: ObjectScript over ODBC
go to post Robert Cemper · Sep 7, 2022 How do you connect to Edge Server? ECP? Some ODBC/JDBC access? plain TCP ?
go to post Robert Cemper · Aug 31, 2022 %SYS.NLS.Locale is the class to achieve this.though it's not so funnyseems to be wrapper around ^%NLS and ^%SYS.NLS
go to post Robert Cemper · Aug 31, 2022 Hi @Ditmar Tybussek Raw containers from ISC are always just US versions. (aka. international)If you use Dockfile you have all freedom to condition YOUR container according to your needs. MgmtPortal: this is a good old CSP feature that looks for the primary language of your browserand translates your pages to DE if available.Docker itself seems to have no idea about your environment.