Uploaded image for project: 'OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC'
  1. OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC
  2. TOSCA-282

Norm. Cap. Type "Endpoint.protocol" missing required=true in schema defn.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: V1.1_CSD04
    • Fix Version/s: None
    • Component/s: Profile-YAML
    • Labels:
      None
    • Resolution:
      Hide

      TC meeting of 2016-06-23 (motion passed): The TC closes TOSCA-282 based on section 5.5.7.3 changes.

      Show
      TC meeting of 2016-06-23 (motion passed): The TC closes TOSCA-282 based on section 5.5.7.3 changes.

      Description

      The definition in the TOSCA v1.0 Simple Profile for "Endpoint" Capability type has "protocol" as being a required property; however the schema does not have the key "required" at all. That is OK since it should default to true (per spec. rules for property definitions), but the schema should be explicit where possible to avoid ambiguities.

      The schema today reads:
      tosca.capabilities.Endpoint:
      derived_from: tosca.capabilities.Root
      properties:
      protocol:
      type: string
      default: tcp

      we should add "required: true".

      It is also interesting that this is a rare required property that also has a "default" in that even if a template does not include "protocol" as a required property it should not be an error since it has a "default" value of "tcp" supplied by schema.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mrutkows Matthew Rutkowski
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: