@@ -20,18 +20,32 @@ RUN mkdir -p /tmp/deps \
20
20
21
21
RUN iris start $ISC_PACKAGE_INSTANCENAME quietly EmergencyId=sys,sys && \
22
22
/bin/echo -e "sys\n sys\n " \
23
- " Do ##class(Security.Users).UnExpireUserPasswords(\" *\" )\n " \
24
- " Do ##class(Security.Users).AddRoles(\" admin\" , \" %ALL\" )\n " \
23
+ " do ##class(Security.Users).UnExpireUserPasswords(\" *\" )\n " \
24
+ " do ##class(Security.Users).AddRoles(\" admin\" , \" %ALL\" )\n " \
25
25
" do \$ system.OBJ.Load(\" /opt/app/dswinstaller.cls\" ,\" ck\" )\n " \
26
- " Do ##class(Security.System).Get(,.p)\n " \
27
- " Set p(\" AutheEnabled\" )=\$ zb(p(\" AutheEnabled\" ),16,7)\n " \
28
- " Do ##class(Security.System).Modify(,.p)\n " \
26
+ " do ##class(Security.System).Get(,.p)\n " \
27
+ " set p(\" AutheEnabled\" )=\$ zb(p(\" AutheEnabled\" ),16,7)\n " \
28
+ " do ##class(Security.System).Modify(,.p)\n " \
29
29
" Do \$ system.OBJ.Load(\" /tmp/deps/zpm.xml\" , \" ck\" )" \
30
30
" do CreateDatabase^%SYS.SQLSEC(\" DCANALYTICS\" ,\"\" ,,0)\n " \
31
31
" zn \" DCANALYTICS\" " \
32
32
" zpm \" install dsw\" " \
33
33
" do \$ system.OBJ.ImportDir(\" /opt/app/src\" ,,\" ck\" ,,1)\n " \
34
34
" do ##class(Community.Utils).setup(\" /opt/app/globals.xml\" )" \
35
+ " zn \" %sys\" " \
36
+ " write \" Create web application ...\" ,!" \
37
+ " set webName = \" /csp/dcanalytics\" " \
38
+ " set webProperties(\" NameSpace\" ) = \" DCANALYTICS\" " \
39
+ " set webProperties(\" Enabled\" ) = 1" \
40
+ " set webProperties(\" IsNameSpaceDefault\" ) = 1" \
41
+ " set webProperties(\" CSPZENEnabled\" ) = 1" \
42
+ " set webProperties(\" AutheEnabled\" ) = 32" \
43
+ " set webProperties(\" iKnowEnabled\" ) = 1" \
44
+ " set webProperties(\" DeepSeeEnabled\" ) = 1" \
45
+ " set status = ##class(Security.Applications).Create(webName, .webProperties)" \
46
+ " write:'status \$ system.Status.DisplayError(status)" \
47
+ " write \" Web application \"\"\" _webName_\"\"\" was created!\" ,!" \
48
+ " zn \" DCANALYTICS\" " \
35
49
" halt" \
36
50
| iris session $ISC_PACKAGE_INSTANCENAME && \
37
51
/bin/echo -e "sys\n sys\n " \
0 commit comments