Update TOSCA artifacts type

Update the naming of currently supported TOSCA artifacts Bash and Python per
latest spec.

Change-Id: I46bfc4b3f7cee9f9240d4abbfdd9dcf291770647
This commit is contained in:
spzala 2015-07-29 19:07:34 -07:00
parent 88e1910354
commit 6fa360e804
2 changed files with 4 additions and 4 deletions

View File

@ -692,13 +692,13 @@ tosca.artifacts.Implementation:
derived_from: tosca.artifacts.Root
description: TOSCA base type for implementation artifacts
tosca.artifacts.impl.Bash:
tosca.artifacts.Implementation.Bash:
derived_from: tosca.artifacts.Implementation
description: Script artifact for the Unix Bash shell
mime_type: application/x-sh
file_ext: [ sh ]
tosca.artifacts.impl.Python:
tosca.artifacts.Implementation.Python:
derived_from: tosca.artifacts.Implementation
description: Artifact for the interpreted Python language
mime_type: application/x-python

View File

@ -24,8 +24,8 @@ webserver_type = NodeType('tosca.nodes.WebServer')
database_type = NodeType('tosca.nodes.Database')
artif_root_type = ArtifactTypeDef('tosca.artifacts.Root')
artif_file_type = ArtifactTypeDef('tosca.artifacts.File')
artif_bash_type = ArtifactTypeDef('tosca.artifacts.impl.Bash')
artif_python_type = ArtifactTypeDef('tosca.artifacts.impl.Python')
artif_bash_type = ArtifactTypeDef('tosca.artifacts.Implementation.Bash')
artif_python_type = ArtifactTypeDef('tosca.artifacts.Implementation.Python')
artif_container_docker_type = ArtifactTypeDef('tosca.artifacts.'
'Deployment.Image.'
'Container.Docker')