diff options
author | 2017-08-18 14:16:44 -0400 | |
---|---|---|
committer | 2017-08-18 14:19:20 -0400 | |
commit | c272a87b84189f3bf8b3c7287199b816affc9926 (patch) | |
tree | b8d67976ed993633dbb6310df40481c59c641860 /cdap/cdap_types.yaml | |
parent | 2e71445141fcbe92e8e12ab24d065040d8de6d9c (diff) |
[DCAEGEN2-74] Push up initial CDAP plugin
Change-Id: I2bad410e5c55a59950cabe8fc13066954c4f5c92
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'cdap/cdap_types.yaml')
-rwxr-xr-x | cdap/cdap_types.yaml | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/cdap/cdap_types.yaml b/cdap/cdap_types.yaml new file mode 100755 index 0000000..497307c --- /dev/null +++ b/cdap/cdap_types.yaml @@ -0,0 +1,90 @@ +tosca_definitions_version: cloudify_dsl_1_3 + +imports: + - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml +plugins: + cdap_deploy: + executor: central_deployment_agent + package_name: cdapcloudify + package_version: 14.0.2 + +data_types: + cdap_connections: + properties: + services_calls: + default: [] + streams_publishes: + default: [] + streams_subscribes: + default: [] + +node_types: + dcae.nodes.MicroService.cdap: + derived_from: cloudify.nodes.Root + properties: + service_component_type: + type: string + ##### + #For the following parameters in this block, see the Broker API + ##### + jar_url: + type: string + artifact_name: + type: string + artifact_version: + type: string + connections: + type: cdap_connections + app_config: + default: {} + app_preferences: + default: {} + program_preferences: + default: [] + programs: + default: [] + streamname: + #currently, we only support CDAP apps written that read from a + #stream. This is not the only ingest mechanism for CDAP. This may have to change/get + type: string + namespace: + #the namespace to deploy the CDAP app into + #defaults to the default cdap namespace which is called "default" + type: string + default : "default" + service_endpoints: + default: [] + + interfaces: + cloudify.interfaces.lifecycle: + create: + implementation: cdap_deploy.cdapcloudify.cdap_plugin.create + inputs: + connected_broker_dns_name: + type: string + description: This is the broker's DNS name. There could be multiple brokers/clusters at a site. Could by populated via an intrinsic_function in a blueprint, or manually via inputs file + default: "cdap_broker" + start: + cdap_deploy.cdapcloudify.cdap_plugin.deploy_and_start_application + delete: + cdap_deploy.cdapcloudify.cdap_plugin.stop_and_undeploy_application + reconfiguration: + app_config_reconfigure: + implementation: cdap_deploy.cdapcloudify.cdap_plugin.app_config_reconfigure + inputs: + new_config_template: + description: "new unbound config for the CDAP AppConfig as a JSON" + default: {} + app_preferences_reconfigure: + implementation: cdap_deploy.cdapcloudify.cdap_plugin.app_preferences_reconfigure + inputs: + new_config_template: + description: "new bound config for the CDAP AppPreferences as a JSON" + default: {} + app_smart_reconfigure: + implementation: cdap_deploy.cdapcloudify.cdap_plugin.app_smart_reconfigure + inputs: + new_config_template: + description: "new unbound config for the CDAP AppConfig as a JSON" + default: {} + |