Skip to content
Snippets Groups Projects
Commit 60069d0e authored by Nathan Hertz's avatar Nathan Hertz Committed by Nathan Hertz
Browse files

Added button to sandbox to launch `null_dag` capability

parent 5c5af3f4
No related branches found
No related tags found
No related merge requests found
Pipeline #2925 passed
......@@ -31,6 +31,16 @@
Launch null at NMT
</button>
</div>
<div class="d-flex px-2">
<button
type="button"
id="launchNullDagCapability"
class="btn btn-secondary btn-lg"
(click)="nullDagButtonOnClick()"
>
Launch multi-stage null capability
</button>
</div>
</div>
</div>
<div class="container border rounded py-3 my-3">
......
import { Component, OnInit } from "@angular/core";
import { CapabilityLauncherService } from "./services/capability-launcher.service";
import { CapabilityRequest } from "./model/capability-request";
import { CapabilityExecution } from "./model/capability-execution";
import { JsonObject } from "@angular/compiler-cli/ngcc/src/packages/entry_point";
import { ActivatedRoute, Router } from "@angular/router";
import { CapabilityRequestService } from "./services/capability-request.service";
@Component({
......@@ -51,6 +49,13 @@ export class WorkspacesComponent implements OnInit {
this.launchCapability("null", { arguments: "-g", remote: true });
}
/**
* OnClick method that creates a capability request for the null_dag capability
*/
nullDagButtonOnClick(): void {
this.launchCapability("null_dag", {});
}
/**
* 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