Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hpc-team
strudelv2_spa
Commits
24f81649
Commit
24f81649
authored
May 20, 2020
by
Lance Wilson
Browse files
Merge branch 'dev' into 'test'
Dev See merge request
!53
parents
a02879d1
610eee99
Pipeline
#10351
passed with stages
in 3 minutes and 25 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/app/jobs.service.ts
View file @
24f81649
...
...
@@ -7,6 +7,8 @@ import { Identity } from './identity';
import
{
Subscription
,
interval
,
pipe
,
Observable
}
from
'
rxjs
'
;
import
{
BehaviorSubject
,
timer
}
from
'
rxjs
'
;
import
{
repeat
}
from
'
rxjs/operators
'
;
import
{
NotificationsService
}
from
'
./notifications.service
'
;
@
Injectable
({
providedIn
:
'
root
'
...
...
@@ -16,7 +18,7 @@ export class JobsService {
private
tsub
:
Subscription
;
private
id
:
Identity
;
constructor
(
private
tes
:
TesService
,
private
authService
:
AuthorisationService
)
{
constructor
(
private
tes
:
TesService
,
private
authService
:
AuthorisationService
,
private
notifications
:
NotificationsService
)
{
this
.
jobs$
=
new
BehaviorSubject
([]);
}
...
...
@@ -39,6 +41,11 @@ export class JobsService {
}
public
getJobsError
(
error
,
identity
:
Identity
)
{
if
(
error
.
hasOwnProperty
(
"
error
"
)
&&
error
.
error
.
hasOwnProperty
(
"
message
"
))
{
this
.
notifications
.
notify
(
error
.
error
.
message
);
this
.
tsub
.
unsubscribe
();
return
;
}
this
.
tsub
.
unsubscribe
()
this
.
authService
.
updateAgentContents
().
subscribe
((
_
)
=>
{
return
});
}
...
...
src/assets/config/authservers.prod.json
View file @
24f81649
[
{
"authorise"
:
"https://sshauthz
-dev
.cloud.cvl.org.au/pysshauthz/oauth2/oauth/authorize/choose"
,
"base"
:
"https://sshauthz
-dev
.cloud.cvl.org.au/pysshauthz/oauth2/"
,
"authorise"
:
"https://sshauthz.cloud.cvl.org.au/pysshauthz/oauth2/oauth/authorize/choose"
,
"base"
:
"https://sshauthz.cloud.cvl.org.au/pysshauthz/oauth2/"
,
"client_id"
:
"Q96kt2Vtw6S78dpORktM81DH"
,
"sign"
:
"https://sshauthz
-dev
.cloud.cvl.org.au/pysshauthz/sign/monash
_hpcid
/api/v1/sign_key"
,
"logout"
:
"https://sshauthz
-dev
.cloud.cvl.org.au/pysshauthz/oauth2/logout"
,
"sign"
:
"https://sshauthz.cloud.cvl.org.au/pysshauthz/sign/
beta_
monash/api/v1/sign_key"
,
"logout"
:
"https://sshauthz.cloud.cvl.org.au/pysshauthz/oauth2/logout"
,
"name"
:
"CVL"
,
"icon"
:
null
,
"scope"
:
"user:email"
,
...
...
src/assets/config/computesites.prod.json
View file @
24f81649
[
{
"url"
:
"https://
strudel2-api-test
.cloud.cvl.org.au/m3/"
,
"url"
:
"https://
beta-api
.cloud.cvl.org.au/m3/"
,
"name"
:
"M3"
,
"host"
:
"m3.massive.org.au"
,
"dtn"
:
"m3-dtn1.massive.org.au"
,
"cafingerprint"
:
"RSA SHA256:cmDxHrZQSPlBMUUcI/BWmruXho1XOzfXPDHSqVTwV2I"
,
"appCatalog"
:
[],
"appCatalog
Uri
"
:
"
./assets/config/m3apps.test.json
"
,
"cancelcmd"
:
"/usr/local/s
v2/sv2s
cancel
.sh
{jobid}"
,
"statcmd"
:
"/usr/local/s
v2/sv
2stat
.py
"
,
"appCatalog
Cmd
"
:
"
/usr/local/strudel2_cluster/latest/bin/getapps
"
,
"cancelcmd"
:
"/usr/local/s
trudel2_cluster/latest/bin/s2
cancel {jobid}"
,
"statcmd"
:
"/usr/local/s
trudel2_cluster/latest/bin/s
2stat"
,
"userhealth"
:
"/usr/local/userhealth/0.0.2/bin/uijson"
}
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment