Question Alin Soare · Oct 28 IIS Routing Question I have a question about the routing of IIS. If I have a javascript application that has a single entry point app.html. Is it possible to configure the IIS server such that both the urls addr:port/entry1 addr:port/entry2 to provide the same app.html and let the javascript code from application decide what component to load next, depending on the path of the URL ? My IIS server is configured such that when I do a GET url1, ir tries to send entry1.html , respectively entry2.html when I do GET url2. #REST API #InterSystems IRIS 1 2 0 40
Question Alin Soare · Oct 16 Generate JWT token in Cache 2018 Hi, I try to generate JWT tokens in Cache (not in IRIS). In IRIS I managed to generate tokens using ##class(%OAuth2.JWKS).AddOct("HS256",secret,.jwks).But In Cache there is no such routine. Could you provide me a place to find an example how to use JWT, please ? I am interested to generate a token in Cache, send it to javascript client, and read a token provided by the client and check it is valid. Kind regards, Alin Soare. #Security #Caché 0 1 0 65
Question Alin Soare · Sep 26 Create a "class variable" and a "singleton". Hi, I tried to create what is know as a "class variable". As far as I understand the only analogy to class variables would be the "class parameters". I tried to use a class parameter but I cannot change its value at runtime. Parameter STATUSES = {{}}; Property repr As %String; Method %OnNew(repr) As %Status{ w ##class(Test...).#STATUSES w ..#STATUSES ... } #ObjectScript #InterSystems IRIS 0 6 0 87
Question Alin Soare · Jul 30 Generate JWT token Hi there, My purpose is to encrypt a communication using JWT tokens. I am developing on IRIS and my purpose is to generate a JWT token that will run on an older version of Cache (so I have to use functions that are compatible with the older version, Cache). I wrote this code in IRIS: s username = "user-test123"set st = ##class(%OAuth2.Utils).TimeInSeconds($ztimestamp,0)set et = ##class(%OAuth2.Utils).TimeInSeconds($ztimestamp, 60*15) #ObjectScript #Caché #InterSystems IRIS #InterSystems IRIS for Health 0 0 0 126
Question Alin Soare · Jun 20 Prevent auto formatting after compilation in Studio. Hi, I would like to ask whether there is some option to stop auto-formatting when I compile. The code is sometimes well formatted but the auto-formatter does not work correctly in some situations. I am talking about the compilation in the Studio editor in this image, not about Visual Studio Code. Thank you in advance, Alin C Soare. #Studio #InterSystems IRIS 0 6 0 125
Question Alin Soare · May 31 Irisnative library that works on Windows 10 with 8-bit IRIS Hi there, I am interested to execute ObjectScript commands from external language. I saw that IRIS provides the irisnative library for this. I am using Windows and 8-bit IRIS server (due to compatibility with old software I need to use 8-bit instead of Unicode). #Languages #InterSystems IRIS 0 0 0 58
Question Alin Soare · May 30 Javascript library "Irisnative" does not work for 8 bits IRIS servers Hi, I almost managed to connect myself from nodejs to IRIS via intersystems-iris-native, but the connection failed. #JavaScript #Node.js #InterSystems IRIS 0 1 0 98
Question Alin Soare · May 30 python library "irisnative" for Windows 10 Hi, I am using Windows 10 and I cannot find an installation source for the irisnative python library. I tried to install the wheel file provided by intersystems on github (https://github.com/intersystems/quickstarts-python/). #Python #InterSystems IRIS 0 0 0 74
Question Alin Soare · May 28 OPENSSL_Uplink(....): no OPENSSL_Applink Hi, In my Iris Installation I cannot use python. When I try to install external libraries I get no OPENSSL_Applink: $ pwd /cygdrive/c/InterSystems/IRIS2/bin $ ./irispip install --target ../Mgr/python/ pandas OPENSSL_Uplink(00007FFBEC2F7068,08): no OPENSSL_Applink I get the same error when I try to install a wheel file: #Python #InterSystems IRIS 0 5 0 135
Question Alin Soare · Apr 23 Internal of ObjectScript -- source code of Standard Library Hello, I am interested about reading the source code of the primitives of the system. For example, I want to see how WRITE is implemented. Can you help me to get a reflexive interrogation of the system ? Kind regards, Alin C Soare. #Languages #ObjectScript #Open Source #InterSystems IRIS 0 9 0 217