summaryrefslogtreecommitdiffstats
path: root/cdap/cdap_types.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'cdap/cdap_types.yaml')
-rwxr-xr-xcdap/cdap_types.yaml129
1 files changed, 0 insertions, 129 deletions
diff --git a/cdap/cdap_types.yaml b/cdap/cdap_types.yaml
deleted file mode 100755
index ae0f146..0000000
--- a/cdap/cdap_types.yaml
+++ /dev/null
@@ -1,129 +0,0 @@
-# ================================================================================
-# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ============LICENSE_END=========================================================
-#
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
-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.3.0
-
-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
-
- dcae.interfaces.policy:
- policy_update:
- implementation:
- cdap_deploy.cdapcloudify.cdap_plugin.policy_update
- inputs:
- updated_policies:
- description: "list of policy objects"
- default: []
-
- #TODO: These can probably go away after policy_update is implemented
- 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: {}
-
- dcae.nodes.broker_deleter:
- derived_from: cloudify.nodes.Root
- interfaces:
- cloudify.interfaces.lifecycle:
- delete: #stop better than delete? not sure it matters much. Think all source interfaces are operated on before target on uninstall.
- implementation: cdap_deploy.cdapcloudify.cdap_plugin.delete_all_registered_apps
- 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"