Skip to content

Commit a82eb6f

Browse files
feat(config): add privateSPCert and SNS event trigger URLs to configuration files
1 parent 02b012d commit a82eb6f

2 files changed

Lines changed: 142 additions & 129 deletions

File tree

config/config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"path": "/samllogin",
7474
"entryPoint": "https://dev-64629994.okta.com/app/dev-64629994_researchgateway_1/exkaoo9k27Z5n8YCc5d7/sso/saml",
7575
"issuer": "http://www.okta.com/exkaoo9k27Z5n8YCc5d7",
76+
"privateSPCert": "/rlc/cc/server/app/config/key.pem",
7677
"cert": "/rlc/cc/server/app/config/okta.cert",
7778
"logoutUrl": "https://enterprise-test1.rlcatalyst.com/logout",
7879
"groupToRoleMapping": {
@@ -109,6 +110,8 @@
109110
"credentialManagementURL": "http://sp2_cc-3102:3002/authentication",
110111
"projectSyncURL": "http://sp2_cc-3102:3002/sync-product",
111112
"researchGatewayAPIToken": "REPLACE_WITH_API_TOKEN",
113+
"snsRetryEventTriggerURL": "http://sp2_cc-3102:3002/retrySNSEvent",
114+
"projectEventTriggerURL": "http://sp2_cc-3102:3002/project",
112115
"nsUseSecretsManager": true,
113116
"thresholdPercentage": 80,
114117
"PrincipalArn": "RG-Service-Catalog-Role",

config/settings-config.json

Lines changed: 139 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -68,141 +68,151 @@
6868
]
6969
},
7070
"aws-pcs": {
71-
"actions": {
72-
"running": {
73-
"connect": [
74-
{
75-
"menu": "SSH Terminal",
76-
"imageUrl": "../../assets/images/technology@2x.png",
77-
"outputsRequired": ["ClusterId"]
78-
},
79-
{
80-
"menu": "Submit Job",
81-
"imageUrl": "../../assets/images/technology@2x.png",
82-
"outputsRequired": ["ClusterId"]
83-
}
84-
],
85-
"action": [
86-
]
87-
},
88-
"stopped": {
89-
"connect": [],
90-
"action": [
91-
{
92-
"action": "Start",
93-
"imageUrl": "../../assets/images/play@2x.png",
94-
"outputsRequired": []
95-
}
96-
]
97-
},
98-
"default": {
99-
"connect": [
100-
{
101-
"menu": "SSH Terminal",
102-
"imageUrl": "../../assets/images/technology@2x.png",
103-
"outputsRequired": []
104-
},
105-
{
106-
"menu": "Remote Desktop",
107-
"imageUrl": "../../assets/images/Screen-icon.png",
108-
"outputsRequired": []
109-
}
110-
],
111-
"action": [
112-
{
113-
"action": "Stop",
114-
"imageUrl": "../../assets/images/no-stopping@2x.png",
115-
"outputsRequired": []
116-
},
117-
{
118-
"action": "Reboot",
119-
"imageUrl": "../../assets/images/reset@2x.png",
120-
"outputsRequired": []
121-
}
122-
]
71+
"actions": {
72+
"running": {
73+
"connect": [
74+
{
75+
"menu": "SSH Terminal",
76+
"imageUrl": "../../assets/images/technology@2x.png",
77+
"outputsRequired": [
78+
"ClusterId"
79+
]
80+
},
81+
{
82+
"menu": "Submit Job",
83+
"imageUrl": "../../assets/images/technology@2x.png",
84+
"outputsRequired": [
85+
"ClusterId"
86+
]
87+
}
88+
],
89+
"action": []
90+
},
91+
"stopped": {
92+
"connect": [],
93+
"action": [
94+
{
95+
"action": "Start",
96+
"imageUrl": "../../assets/images/play@2x.png",
97+
"outputsRequired": []
12398
}
99+
]
124100
},
125-
"transient_states": [
126-
"pending",
127-
"shutting-down",
128-
"stopping",
129-
"deleting"
130-
],
131-
"active_states": [
132-
"running",
133-
"active"
134-
],
135-
"stopped_states": [
136-
"stopped"
137-
],
138-
"terminated_states": [
139-
"terminated"
140-
]
101+
"default": {
102+
"connect": [
103+
{
104+
"menu": "SSH Terminal",
105+
"imageUrl": "../../assets/images/technology@2x.png",
106+
"outputsRequired": []
107+
},
108+
{
109+
"menu": "Remote Desktop",
110+
"imageUrl": "../../assets/images/Screen-icon.png",
111+
"outputsRequired": []
112+
}
113+
],
114+
"action": [
115+
{
116+
"action": "Stop",
117+
"imageUrl": "../../assets/images/no-stopping@2x.png",
118+
"outputsRequired": []
119+
},
120+
{
121+
"action": "Reboot",
122+
"imageUrl": "../../assets/images/reset@2x.png",
123+
"outputsRequired": []
124+
}
125+
]
126+
}
127+
},
128+
"transient_states": [
129+
"pending",
130+
"shutting-down",
131+
"stopping",
132+
"deleting"
133+
],
134+
"active_states": [
135+
"running",
136+
"active"
137+
],
138+
"stopped_states": [
139+
"stopped"
140+
],
141+
"terminated_states": [
142+
"terminated"
143+
]
141144
},
142145
"ec2-remote-desktop": {
143-
"actions": {
144-
"running": {
145-
"connect": [
146-
{
147-
"menu": "Remote Desktop",
148-
"imageUrl": "../../assets/images/Screen-icon.png"
149-
}
150-
],
151-
"action": [
152-
{
153-
"action": "Stop",
154-
"imageUrl": "../../assets/images/no-stopping@2x.png"
155-
},
156-
{
157-
"action": "Reboot",
158-
"imageUrl": "../../assets/images/reset@2x.png"
159-
}
160-
]
161-
},
162-
"stopped": {
163-
"connect": [],
164-
"action": [
165-
{
166-
"action": "Start",
167-
"imageUrl": "../../assets/images/play@2x.png"
168-
},
169-
{
170-
"action": "Instance Type",
171-
"imageUrl": "../../assets/images/pencil.png",
172-
"outputsRequired": [
173-
"InstanceId"
174-
]
175-
}
176-
]
177-
},
178-
"default": {
179-
"connect": [
180-
{
181-
"menu": "Remote Desktop",
182-
"imageUrl": "../../assets/images/Screen-icon.png"
183-
}
184-
],
185-
"action": [
186-
{
187-
"action": "Stop",
188-
"imageUrl": "../../assets/images/no-stopping@2x.png"
189-
},
190-
{
191-
"action": "Reboot",
192-
"imageUrl": "../../assets/images/reset@2x.png"
193-
}
194-
]
146+
"actions": {
147+
"running": {
148+
"connect": [
149+
{
150+
"menu": "Remote Desktop",
151+
"imageUrl": "../../assets/images/Screen-icon.png"
152+
}
153+
],
154+
"action": [
155+
{
156+
"action": "Stop",
157+
"imageUrl": "../../assets/images/no-stopping@2x.png"
158+
},
159+
{
160+
"action": "Reboot",
161+
"imageUrl": "../../assets/images/reset@2x.png"
162+
}
163+
]
164+
},
165+
"stopped": {
166+
"connect": [],
167+
"action": [
168+
{
169+
"action": "Start",
170+
"imageUrl": "../../assets/images/play@2x.png"
171+
},
172+
{
173+
"action": "Instance Type",
174+
"imageUrl": "../../assets/images/pencil.png",
175+
"outputsRequired": [
176+
"InstanceId"
177+
]
195178
}
179+
]
196180
},
197-
"transient_states": [
198-
"pending",
199-
"shutting-down",
200-
"stopping",
201-
"deleting"
202-
],
203-
"active_states": ["running", "active"],
204-
"stopped_states": ["stopped"],
205-
"terminated_states": ["terminated"]
181+
"default": {
182+
"connect": [
183+
{
184+
"menu": "Remote Desktop",
185+
"imageUrl": "../../assets/images/Screen-icon.png"
186+
}
187+
],
188+
"action": [
189+
{
190+
"action": "Stop",
191+
"imageUrl": "../../assets/images/no-stopping@2x.png"
192+
},
193+
{
194+
"action": "Reboot",
195+
"imageUrl": "../../assets/images/reset@2x.png"
196+
}
197+
]
198+
}
199+
},
200+
"transient_states": [
201+
"pending",
202+
"shutting-down",
203+
"stopping",
204+
"deleting"
205+
],
206+
"active_states": [
207+
"running",
208+
"active"
209+
],
210+
"stopped_states": [
211+
"stopped"
212+
],
213+
"terminated_states": [
214+
"terminated"
215+
]
206216
},
207217
"sagemaker": {
208218
"NotebookInstanceLifecycleConfigName": "Research-Portal-Setup",

0 commit comments

Comments
 (0)