diff options
author | Hansen, Tony (th1395) <th1395@att.com> | 2020-06-09 18:27:12 +0000 |
---|---|---|
committer | Hansen, Tony (th1395) <th1395@att.com> | 2020-06-09 18:27:47 +0000 |
commit | c5abb9b34468400bdcdd3ce23595af41ac03cd80 (patch) | |
tree | 98a6442fa910166638d644dd07358629883a59fd /pgaas/pgaas_types.yaml | |
parent | 2c78a2e1161c0f2ccfc0ab7cc7a588e4e918f9de (diff) |
rename typefiles to be consistent with nexus
Change-Id: Iebfda41db8225db233d0ff0f41e197d2e4cc0688
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2207
Diffstat (limited to 'pgaas/pgaas_types.yaml')
-rw-r--r-- | pgaas/pgaas_types.yaml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/pgaas/pgaas_types.yaml b/pgaas/pgaas_types.yaml new file mode 100644 index 0000000..a81d3f6 --- /dev/null +++ b/pgaas/pgaas_types.yaml @@ -0,0 +1,67 @@ +# -*- indent-tabs-mode: nil -*- # vi: set expandtab: +tosca_definitions_version: cloudify_dsl_1_3 + +plugins: + pgaas: + executor: central_deployment_agent + package_name: pgaas + package_version: 1.3.0 + +node_types: + dcae.nodes.pgaas.cluster: + derived_from: cloudify.nodes.Root + properties: + writerfqdn: + description: 'FQDN used for admin/read-write access to the cluster' + type: string + use_existing: + type: boolean + default: false + description: 'If set to true, the cluster exists and is being referenced' + readerfqdn: + description: 'FQDN used for read-only access to the cluster (default - same as writerfqdn)' + type: string + default: '' + port: + description: 'Port used for access to the cluster' + type: string + default: '5432' + initialpassword: + description: 'Password of existing PG instance to take control of' + type: string + default: '' + interfaces: + cloudify.interfaces.lifecycle: + create: pgaas.pgaas.pgaas_plugin.add_pgaas_cluster + delete: pgaas.pgaas.pgaas_plugin.rm_pgaas_cluster + + dcae.nodes.pgaas.database: + derived_from: cloudify.nodes.Root + properties: + name: + type: string + description: 'Name of database (max 44 alphanumeric)' + use_existing: + type: boolean + default: false + description: 'If set to true, the database exists and is being referenced' + writerfqdn: + type: string + default: '' + description: 'Shortcut for connecting to a pgaas.cluster node (with use_existing=true) with a runson_pgaas_cluster relationship' + interfaces: + cloudify.interfaces.lifecycle: + create: pgaas.pgaas.pgaas_plugin.create_database + delete: pgaas.pgaas.pgaas_plugin.delete_database + +relationships: + dcae.relationships.pgaas_cluster_uses_sshkeypair: + derived_from: cloudify.relationships.connected_to + dcae.relationships.database_runson_pgaas_cluster: + derived_from: cloudify.relationships.contained_in + dcae.relationships.application_uses_pgaas_database: + derived_from: cloudify.relationships.connected_to + +workflows: + update_db_passwd : + mapping : pgaas.pgaas.pgaas_plugin.update_database |