Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
8a3f060f
Commit
8a3f060f
authored
11 months ago
by
Sam Kagan
Browse files
Options
Downloads
Patches
Plain Diff
Added field for CASA version to WS UI under Restore
parent
26480f05
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1706
merge 2.8.4 to main
,
!1652
Added field for CASA version to WS UI under Restore
Pipeline
#15521
failed
11 months ago
Stage: pull-db
Stage: build
Stage: test-coverage
Stage: .post
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/web/src/app/workspaces/ws-home/ws-home.component.html
+7
-0
7 additions, 0 deletions
apps/web/src/app/workspaces/ws-home/ws-home.component.html
apps/web/src/app/workspaces/ws-home/ws-home.component.ts
+11
-0
11 additions, 0 deletions
apps/web/src/app/workspaces/ws-home/ws-home.component.ts
with
18 additions
and
0 deletions
apps/web/src/app/workspaces/ws-home/ws-home.component.html
+
7
−
0
View file @
8a3f060f
...
...
@@ -120,6 +120,13 @@
(change)=
"setCalProductLocator($event.target.value)"
/>
</div>
</div>
<div
class=
"col-4"
>
<div
class=
"md-form"
>
<label
for=
"casaHome"
class=
""
>
CASA Home
</label>
<input
type=
"text"
id=
"casaHome"
class=
"form-control"
[value]=
"casaHome"
(change)=
"setCasaHome($event.target.value)"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"md-form"
>
<label
for=
"userEmail"
class=
""
>
Email Address
</label>
...
...
This diff is collapsed.
Click to expand it.
apps/web/src/app/workspaces/ws-home/ws-home.component.ts
+
11
−
0
View file @
8a3f060f
...
...
@@ -32,6 +32,7 @@ export class WsHomeComponent implements OnInit {
public
productGroupId
:
number
;
public
calProductLocator
:
string
;
public
userEmail
:
string
;
public
casaHome
:
string
;
public
inputFileList
:
FileList
;
public
cmsPath
:
string
;
public
sdmId
:
string
;
...
...
@@ -45,6 +46,7 @@ export class WsHomeComponent implements OnInit {
// this is the famous 394 MB 13B-014 execblock, a useful smallish test
this
.
productLocator
=
"
uid://evla/quicklook_image/f5610635-efe3-49b4-a281-3c0f871e7e5b
"
;
this
.
userEmail
=
null
;
this
.
casaHome
=
"
/home/casa/packages/pipeline/production
"
;
}
ngOnInit
():
void
{}
...
...
@@ -117,6 +119,7 @@ export class WsHomeComponent implements OnInit {
product_locator
:
this
.
productLocator
,
cal_locator
:
this
.
calProductLocator
,
user_email
:
this
.
userEmail
,
casa_home
:
this
.
casaHome
,
});
}
...
...
@@ -178,6 +181,14 @@ export class WsHomeComponent implements OnInit {
this
.
userEmail
=
email
;
}
/**
* method to set the CASA home path for Restore Capability Requests
* @param casaHome: user-specified CASA Version
*/
setCasaHome
(
casaHome
:
string
):
void
{
this
.
casaHome
=
casaHome
;
}
/**
* Set files to be uploaded to variable
* @param inputFileList List of files from modal form
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment