Question Jani Hurskainen · Jan 17 Are package names case sensitive? The documentation at https://docs.intersystems.com/irisforhealthlatest/csp/docbook/DocBook.UI... Case-sensitive: variable names (other than the system variables) are case-sensitive. Names of classes and their members, names of routines and their entry points, names of include files and macros are all case sensitive. Consider "fully qualified" class name: Package.subpackage.ClassName #ObjectScript #InterSystems IRIS 0 9 0 118
Article Jani Hurskainen · Dec 31, 2024 6m read My little Advent of Code 2024 journey You'll find the original text and all my Advent of Code efforts in different programming languages in https://bitbucket.org/janihur/advent-of-code/src/master/ ObjectScript code discussed here is found in https://bitbucket.org/janihur/advent-of-code/src/master/objectscript #ObjectScript #InterSystems IRIS 5 1 0 92
Question Jani Hurskainen · Nov 18, 2024 Configuration Merge: CreateUser action with password fails The following CPF entry: [Actions] CreateUser:Name=foobar,Roles=%All,Password=loremipsumdolorsitamet1234,FullName=Foo Bar,ChangePassword=1,Enabled=1,Comment=Testing testing,AccountNeverExpires=1,PasswordNeverExpires=1 Fails with an error: ERROR #506: Invalid property error at line 19, 'Password=loremipsumdolorsitamet1234', Class Security.Users, Error=<CANNOT SET THIS PROPERTY>zPasswordSet+3^Security.Users.1 A bug or a feature or a stupid user error? The documentation says nothing about the limitations: #InterSystems IRIS for Health 0 3 0 66
Question Jani Hurskainen · Nov 18, 2024 OAuth client configuration with Configuration Merge? I have just learned about configuration merge. However I see there is no option to configure OAuth2 with CPF. Any hopes to get that covered some day? #OAuth2 #InterSystems IRIS for Health 1 2 0 51
Question Jani Hurskainen · Nov 5, 2024 How to package a custom IPM resource processor? I have a custom IPM resource processor like: <Resource Name="example.json" ProcessorClass="OSEX.ipm.demo.IpmResourceProcessor" Foo="from manifest Resource attribute"/> What is the best practice to deploy the custom resource processors to the IRIS instance? It can't be part of the module that uses it for obvious (?) chicken-egg situation. #InterSystems Package Manager (IPM) #InterSystems IRIS 0 0 0 39
Question Jani Hurskainen · Oct 30, 2024 Using the other unit testing frameworks with IPM? I assume IPM manifest tag UnitTest is tightly coupled with the standard unit test framework, right? However we have our own one that predates the standard one and we are not going to switch. I think I need to import the unit test cases and then be able to run a single class method for the test run. Any ideas how this would be possible? #InterSystems Package Manager (IPM) #Key Question #InterSystems IRIS 1 9 0 108
Question Jani Hurskainen · Oct 30, 2024 Sonatype Nexus as IPM repository? It's not supported at the moment but is it possible to implement the Sonatype Nexus (or JFrog Artifactory) support based on the current (or upcoming) IPM version? In repo command help I see there is a support for filesystem repositories (which I have not yet tried) and my current (hopefully not far-fetched) interpretation is the IPM is designed to be able to support different repositories: #InterSystems Package Manager (IPM) #InterSystems IRIS 0 5 0 74
Question Jani Hurskainen · Oct 30, 2024 IPM package command failure: <VALUE OUT OF RANGE>zConstructTar+19^%ZPM.Utils.FileBinaryTar.1 I'm trying package IPM command but I'm getting the following error: zpm:IPMTEST1>package -verbose -only -path /home/irisowner/ osex-ipm-hello [IPMTEST1|osex-ipm-hello] Package START Exporting 'OSEX.ipm.hello.Hello.cls' to '/home/irisowner/src/OSEX/ipm/hello/Hello.cls' Exported to /home/irisowner/module.xml Module exported to: /home/irisowner/ [osex-ipm-hello] Package FAILURE ERROR! ObjectScript error: <VALUE OUT OF RANGE>zConstructTar+19^%ZPM.Utils.FileBinaryTar.1 What's wrong here? I can see all the correct module files created: #InterSystems Package Manager (IPM) #InterSystems IRIS 0 2 0 67
Question Jani Hurskainen · Oct 29, 2024 How to configure local IPM registry authorization? I'm working on my first (!) IPM module and I'm a little puzzled with the registry authorization. I have a working local registry (I hope!) and the module is loaded (with load-command) to the namespace. Now publish-command fails because of missing authorization. I have set nothing authorization related myself and I'm lost how the authorization should be configured. All the material I have read so far seems to ignore that and only mentions one have to authenticate ... Here's the command output: #InterSystems Package Manager (IPM) #InterSystems IRIS for Health 0 6 0 103
Question Jani Hurskainen · Oct 28, 2024 Problem with local (private) IPM registry I'm trying out the package manager (IPM). I'm trying to create a local (private) registry. To me it looks like the local registry installation succeeded but I can't figure out how to use it. I'm using latest stable v0.7.3. I have uploaded one module there (as told in one forum post): #InterSystems Package Manager (IPM) #InterSystems IRIS for Health 0 4 0 70
Question Jani Hurskainen · Aug 27, 2024 Is Test Coverage Tool coupled to InterSystems IRIS UnitTest framework (%UnitTest)? Or other way round: Can Test Coverage Tool to be used with other unit testing frameworks than %UnitTest ? Test Coverage Tool: https://openexchange.intersystems.com/package/Test-Coverage-Tool InterSystems IRIS UnitTest framework: https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic.... #InterSystems IRIS 2 3 0 98
Question Jani Hurskainen · Apr 2, 2024 How to define file name in EnsLib.File.PassthroughOperation? EnsLib.File.PassthroughOperation has File Name property with default value: %f_%Q%!+(_a) The Management Portal documentation description of the property: Name of file to output the document(s) to. May include timestamp specifiers. The %f specifier if present will be replaced with the name of the document's original source filename (stripped of characters illegal in target filenames). See the method Ens.Util.File.CreateTimestamp() for documentation of timestamping options. #InterSystems IRIS 0 5 0 198
Question Jani Hurskainen · Feb 29, 2024 Programmatic Access to External-Service Registry One can modify Interoperability External-Service Registry in Management Portal (Interoperability > Configure > External-Service Registry). Can the registry be accessed and modified programmatically? I don't find much documentation about the subject. Mainly https://docs.intersystems.com/irisforhealth20221/csp/docbook/DocBook.UI.... #Interoperability #InterSystems IRIS 0 3 0 184