Releases: CiscoCloud/toscalib
Releases · CiscoCloud/toscalib
Release 1.2.0
Features
- Add path resolution for local imports relative to the initial profile
Improvements
- Adds travis-ci integration
Release 1.1.0
Features
- Adds tosca
get_artifact
intrinsic function - Adds tosca
token
intrinsic function - Adds ArtifactType and ArtifactDefinition
Bug Fixes
- Adds missing Version attribute on all types.
- Fixes attribute mis-spelling of Description on NodeTemplate
Improvements
- Fixes linting issues based on updated
vet
Release 1.0.2
Bugfixes
- Resolves handling of Map and Map of Map properties.
- Resolves
get_property
andget_attribute
of named key from Map property.
Release 1.0.1
Bug Fixes
- Resolves lost data and copying the incorrect data during Hierarchy flattening.
Release 1.0.0
Backward-Incompatibilities
- Drop subprojects (tosca2dot and toscaexec)
Features
- Adds Policies
- Adds Workflow
- Implements TOSCA functions
- Adds support to supply Resolver to Parse
- Adds Metadata attribute based on updated spec
- Adds ParseSource to parse based on a string (url, filepath)
- Adds ParseHooks to support custom function execution at the end of parsing a Service Template
- Adds ServiceTemplate
Clone
andMerge
methods - Adds support for Short and Full notation of RepositoryDefinition
- Adds and Updates Normative Types
- Adds reflection of Properties as Attributes
- Apply inherited data to provide complete representation of entity
- Adds ImportDefinition.
- Adds handling of recursive imports (one file imports another)
- Adds Version and version comparison support based on Tosca spec
Bug Fixes
- Align CapabilityDefinition to Tosca spec by representing properties and attributes as Map instead of Slice
- Fix InterfaceDefinition structure that included an extra map layer that resulted in parsing of the InterfaceDefinition losing Inputs defined at the InterfaceDefinition level vs. those defined at the Operations level.
- Move
Copy
attribute from NodeType to NodeTemplate to align with Tosca spec - Fix RequirementDefinition Properties to be map[string]PropertyAssignment instead of map[string]interface{} as intended by the spec.
- Fix TopologyTemplate Outputs attribute to be map[string]PropertyDefinition instead of map[string]Ouput where Output was interface{} as intended by the spec.
Improvements
- Format code using
goimports
- Static Code analysis using
gometalinters
- Add additional test cases
- Use
glide
for dependency management