Skip to content
Snippets Groups Projects
Commit fcacd388 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

making null execution location specifiable

parent 3a1ff463
No related branches found
No related tags found
1 merge request!501Relocatable Null
Pipeline #2871 passed
......@@ -11,6 +11,26 @@
Launch null capability
</button>
</div>
<div class="d-flex px-2">
<button
type="button"
id="launchNullCapabilityCVBtn"
class="btn btn-secondary btn-lg"
(click)="nullCVButtonOnClick()"
>
Launch null at CV-NAASC
</button>
</div>
<div class="d-flex px-2">
<button
type="button"
id="launchNullCapabilityNMTBtn"
class="btn btn-secondary btn-lg"
(click)="nullNMTButtonOnClick()"
>
Launch null at NMT
</button>
</div>
</div>
</div>
<div class="container border rounded py-3 my-3">
......
......@@ -37,6 +37,20 @@ export class WorkspacesComponent implements OnInit {
this.launchCapability("null", { arguments: "-g" });
}
/**
* OnClick method that creates a capability request for the null capability and submits it to CV-NAASC
*/
nullCVButtonOnClick(): void {
this.launchCapability("null", { arguments: "-g", "remote-cv": true });
}
/**
* OnClick method that creates a capability request for the null capability and submits it to CV-NAASC
*/
nullNMTButtonOnClick(): void {
this.launchCapability("null", { arguments: "-g", remote: true });
}
/**
* OnClick method that creates a capability request a given capability and submits it with the standard parameters:
* - Product locator
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment