Skip to content

Commit 3037ee3

Browse files
committed
Installer for IRIS and Cache
1 parent 3bb66d3 commit 3037ee3

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

MDX2JSON/Installer.cls.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,23 @@ todo add optional parameter WEBAPP to Alter web app name if it needs to have ano
5353
</If>
5454
</Namespace>
5555
56+
<If Condition="($system.Version.GetISCProduct()=4)">
5657
<If Condition='(##class(Config.Namespaces).Exists("%All")=0)'>
5758
<Log Text="Creating namespace %All" Level="0"/>
58-
<Namespace Name="%All" Create="yes" Ensemble="0">
59+
<Namespace Name="%All" Create="yes" Code="IRISTEMP" Data="IRISTEMP" Ensemble="0">
60+
<Configuration>
61+
<Log Text="Mapping MDX2JSON package to %All namespace" Level="0"/>
62+
<ClassMapping From="${Namespace}" Package="MDX2JSON"/>
63+
<GlobalMapping From="${Namespace}" Global="MDX2JSON"/>
64+
</Configuration>
65+
</Namespace>
66+
</If>
67+
</If>
68+
69+
<If Condition="($system.Version.GetISCProduct()&lt;4)">
70+
<If Condition='(##class(Config.Namespaces).Exists("%All")=0)'>
71+
<Log Text="Creating namespace %All" Level="0"/>
72+
<Namespace Name="%All" Create="yes" Code="CACHETEMP" Data="CACHETEMP" Ensemble="0">
5973
<Configuration>
6074
<Log Text="Mapping MDX2JSON package to %All namespace" Level="0"/>
6175
<ClassMapping From="${Namespace}" Package="MDX2JSON"/>
@@ -73,6 +87,7 @@ todo add optional parameter WEBAPP to Alter web app name if it needs to have ano
7387
</Configuration>
7488
</Namespace>
7589
</If>
90+
</If>
7691
7792
<!--<RunInstall Class="MDX2JSON.Installer" Method="createrole" />-->
7893

MDX2JSON/Tests.cls.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Classes with support methods for testing MDX2JSON</Description>
88

99
<Parameter name="LastCommit">
1010
<Type>%String</Type>
11-
<Default>3932aa72ebc5e28732f5f66f73508d1bf000afb8</Default>
11+
<Default>3bb66d3e2bc6b82d9d6570d9d4107a35dc1878f6</Default>
1212
</Parameter>
1313

1414
<Parameter name="LastCommitTS">
1515
<Type>%TimeStamp</Type>
16-
<Default>2018-10-17 11:44:52.678</Default>
16+
<Default>2018-10-17 12:20:48.137</Default>
1717
</Parameter>
1818

1919
<Method name="ProjectLength">

0 commit comments

Comments
 (0)