-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #627 from erwindon/zzz-orchestrate
add support for orchestrations
- Loading branch information
Showing
11 changed files
with
395 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Branch zzz-orchestrate | ||
("zzz" to move it to the bottom of the list) | ||
PoC for supporting the orchestration mechanism | ||
|
||
PRO: | ||
* previously, orchestrations were not supported | ||
|
||
CON: | ||
* so far, no one really need this | ||
|
||
VERDICT: | ||
Keep until there is an actual request for it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* global */ | ||
|
||
import {JobsSummaryPanel} from "../panels/JobsSummary.js"; | ||
import {OrchestrationsPanel} from "../panels/Orchestrations.js"; | ||
import {Page} from "./Page.js"; | ||
import {Utils} from "../Utils.js"; | ||
|
||
export class OrchestrationsPage extends Page { | ||
|
||
constructor (pRouter) { | ||
super("orchestrations", "Orchestrations", "page-orchestrations", "button-orchestrations", pRouter); | ||
|
||
this.orchestrations = new OrchestrationsPanel(); | ||
super.addPanel(this.orchestrations); | ||
this.jobs = new JobsSummaryPanel(); | ||
super.addPanel(this.jobs); | ||
} | ||
|
||
/* eslint-disable class-methods-use-this */ | ||
isVisible () { | ||
/* eslint-enable class-methods-use-this */ | ||
// show orchestrations menu item if orchestrations defined | ||
return Utils.getStorageItemBoolean("session", "orchestrations"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.