@@ -20,18 +20,32 @@ RUN mkdir -p /tmp/deps \
2020
2121RUN iris start $ISC_PACKAGE_INSTANCENAME quietly EmergencyId=sys,sys && \
2222 /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 " \
2525 " 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 " \
2929 " Do \$ system.OBJ.Load(\" /tmp/deps/zpm.xml\" , \" ck\" )" \
3030 " do CreateDatabase^%SYS.SQLSEC(\" DCANALYTICS\" ,\"\" ,,0)\n " \
3131 " zn \" DCANALYTICS\" " \
3232 " zpm \" install dsw\" " \
3333 " do \$ system.OBJ.ImportDir(\" /opt/app/src\" ,,\" ck\" ,,1)\n " \
3434 " 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\" " \
3549 " halt" \
3650 | iris session $ISC_PACKAGE_INSTANCENAME && \
3751 /bin/echo -e "sys\n sys\n " \
0 commit comments