forked from indigo-dc/orchestrator-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 11
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 #444 from sebastian-luna-valero/pulsar
Add TOSCA template for pulsar
- Loading branch information
Showing
4 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,9 @@ | ||
inputs: | ||
message_queue_user: | ||
tab: Pulsar configuration | ||
|
||
message_queue_password: | ||
tab: Pulsar configuration | ||
|
||
tabs: | ||
- Pulsar configuration |
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,39 @@ | ||
tosca_definitions_version: tosca_simple_yaml_1_0 | ||
|
||
imports: | ||
- ec3_custom_types: https://raw.githubusercontent.com/grycap/ec3/tosca/tosca/custom_types.yaml | ||
|
||
description: > | ||
TOSCA for configuring a Pulsar endpoint | ||
metadata: | ||
name: Pulsar | ||
display_name: Configure a Pulsar endpoint | ||
icon: images/pulsar.png | ||
parents: | ||
- htcondor_cluster.yml | ||
|
||
topology_template: | ||
inputs: | ||
|
||
message_queue_user: | ||
type: string | ||
description: User for the message queue | ||
default: changeme | ||
message_queue_password: | ||
type: string | ||
description: Password for the message queue | ||
default: changeme | ||
|
||
node_templates: | ||
|
||
pulsar_node: | ||
type: tosca.nodes.indigo.Pulsar | ||
properties: | ||
mq_user: { get_input: message_queue_user } | ||
mq_password: { get_input: message_queue_password } | ||
requirements: | ||
- lrms: lrms_front_end | ||
- host: lrms_server | ||
|
||
outputs: |