forked from PYDuquesnoy/SAML-COS
-
Notifications
You must be signed in to change notification settings - Fork 2
/
iris.script
31 lines (25 loc) · 963 Bytes
/
iris.script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Unexpire passwords for dev mode
zn "%SYS"
Do ##class(Security.Users).UnExpireUserPasswords("*")
// Use this script for testing installing procedures
// ---------------------
// ZPM install (SAML-COS)
// ---------------------
// install latest zpm version
//zn "%SYS"
//do $SYSTEM.OBJ.Load("/tmp/zpm.xml", "ck")
// create test environment
zn "USER"
do $SYSTEM.OBJ.Load("/opt/saml-cos/app/src/IBSP/CONN/SAML/Installer.cls", "ck")
set vars("CreateEnvironment")="yes"
set vars("Namespace")="SAML-COS"
set vars("CreateWebApp")="yes"
set vars("WebApp")="/saml-cos/api"
set vars("BasePath")="/opt/saml-cos/app"
set vars("DataDBPath")="/opt/saml-cos/db/data"
set vars("CodeDBPath")="/opt/saml-cos/db/code"
set sc = ##class(IBSP.CONN.SAML.Installer).RunWithParams(.vars)
// install module & run tests
zn "SAML-COS"
zpm "load -verbose /opt/saml-cos/app/"
halt