也請注意,管理使用者名稱會列在 Deploy_RCQR_eWAS.py 中的三個位置,且值必須一致。下例顯示這個檔案的預設值。出現的三個管理者使用者名稱會以粗體字顯示。
# 設定自訂安全的基本內容 attrs = '[[useRegistryServerId false][primaryAdminId %s][customRegistryClassName %s]]' % ('admin', 'com.ibm.rational.cq.was.userregistry.CQUserRegistry') AdminConfig.modify(customUserRegistry, attrs)# 設定自訂內容 customProps = { 'autoCreateJazzGroups':'true', 'jazzAdmins':'admin', 'jazzProjectLeads':'lead', 'cqDbSetName':'7.0.0', 'cqUserDbName':'SAMPL', 'cqConnectionURL':'http://localhost:12080/TeamWeb/services/Team', 'cqConnectionUsername':'admin', 'cqConnectionPassword':'admin', 'cqConnectionPasswordEncrypted':'false', }
%RATIONAL_COMMON%/CM/profiles/reportalprofile/bin/startServer server1 -profileName reportalprofile
wsadmin.bat -lang jython -f ..\..\..\Scripts\Deploy_RCQR_eWAS.py
%RATIONAL_COMMON%/eWAS/bin/wasservice -add reportalprofile -serverName server1 -profilePath "%RATIONAL_COMMON%/CM/profiles/reportalprofile" -stopArgs "-username <user> -password <password>"
%RATIONAL_COMMON%CM/profiles/reportalprofile/startServer server1
https://machinename.domain:portnumber/jazz/reportal/projects/Vega