Skip to content

Commit

Permalink
Merge pull request #444 from sebastian-luna-valero/pulsar
Browse files Browse the repository at this point in the history
Add TOSCA template for pulsar
  • Loading branch information
micafer authored Sep 22, 2023
2 parents 3c1fdde + f73747b commit 57eceed
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
Binary file added app/static/images/pulsar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions tosca-templates/htcondor_cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ description: >
metadata:
display_name: HTCondor virtual cluster
icon: images/htcondor.png
childs:
- pulsar.yml

topology_template:
inputs:
Expand Down
9 changes: 9 additions & 0 deletions tosca-templates/pulsar.parameters.yml
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
39 changes: 39 additions & 0 deletions tosca-templates/pulsar.yml
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:

0 comments on commit 57eceed

Please sign in to comment.