Robert Cemper · Sep 21, 2022 go to post

The actual GTY is containers.intersystems.com/intersystems/webgateway:2022.1.0.209.0

And there is no :latest defined
 

Robert Cemper · Sep 21, 2022 go to post

DONE!
I found my solution and placed it in a PullRequest.
it was slightly more than just a missing port.

Robert Cemper · Sep 21, 2022 go to post

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"

 

Robert Cemper · Sep 20, 2022 go to post

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 ???
Robert Cemper · Sep 20, 2022 go to post

Not sure if I can make the date.
Anyhow using Studio since its first days in Caché 5.0 for 20+ years almost daily
and 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

Robert Cemper · Sep 19, 2022 go to post

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 ofIsError should be 1.  It is an Error.

Robert Cemper · Sep 18, 2022 go to post

%BI classes date back to Miner (DeepSee-1) and just were left in Caché over a decade at least
while 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 correctly
AND: 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

Robert Cemper · Sep 17, 2022 go to post

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

Robert Cemper · Sep 8, 2022 go to post

just to make your valuable entry visible in browser and email
http://<server-ip>:<smp-port>/api/atelier/
and you get back this nice JSON object:

Robert Cemper · Sep 7, 2022 go to post

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

Robert Cemper · Aug 31, 2022 go to post

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 browser
and translates your pages to DE if available.
Docker itself seems to have no idea about your environment.

Robert Cemper · Aug 26, 2022 go to post

if it is a straight 8bit DB  you have the challenge to find out
how characters beyond the primitive 7bit ASCII are stored  e.g. ÀöÜß € ¡¿ è & é ç
is it ISO Latin 1 , 2 ,3 4, 5 ... or any of the horrible Win encondings

Robert Cemper · Aug 24, 2022 go to post

2 mistakes: 
#1^$get(node) delivers the content of variable node
but you would expect the result of $get(@node)  usingnode as global reference

#2) the better way is to use the implicit GET
Set node = $Query(^FromExtraMed(""),1,value)
write value  

Robert Cemper · Aug 23, 2022 go to post

if you have just to place a bunch of lines at OS level from inside IRIS you may try my package
WebCommand If you can operate with irisowner privileges
It's  similar to  ! or $  in normal terminal or console access.   Article on DC
 

Robert Cemper · Aug 20, 2022 go to post

A somewhat similar example might be found in ENSDEMO

Class Demo.Loan.FindRateTCPService

Robert Cemper · Aug 18, 2022 go to post

The count is totally correct as you asked for all lines of codes 
you get counted all executable code.
you do not count properties, comments, whatever .....

It might be easier to do an export in UDL format and let some
Notepad or similar count the lines without any qualification.

BTW. do get paid by lines ?