XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Spec
    • Labels:
      None
    • Proposal:
      Hide

      https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52056/CAMP1.1-meta-v3.zip

      on the cover page add the following text to Additional artifacts:

      "This prose specification is one component of a Work Product that also includes a non-normative auxiliary file: http://docs.oasis-open.org/camp/camp-spec/v1.1/camp-type-definitions.zip"

      and at the end of section 5.18.1 of wd37 add the following:

      "To help developers in supporting this requirement, a package containing the type_definition resources for every resource defined in this specification is included as a non-normative auxiliary file."

      Show
      https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52056/CAMP1.1-meta-v3.zip on the cover page add the following text to Additional artifacts: "This prose specification is one component of a Work Product that also includes a non-normative auxiliary file: http://docs.oasis-open.org/camp/camp-spec/v1.1/camp-type-definitions.zip " and at the end of section 5.18.1 of wd37 add the following: "To help developers in supporting this requirement, a package containing the type_definition resources for every resource defined in this specification is included as a non-normative auxiliary file."
    • Resolution:
      Hide

      Resolution applied in: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52093/camp-spec-v1.1-wd38.doc and https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52096/camp-type-definitions.zip.

      Note that there was some adjustment of the URIs used to reference documents. The correct URI base is "http://docs.oasis-open.org/camp/camp-spec/v1.1"

      Show
      Resolution applied in: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52093/camp-spec-v1.1-wd38.doc and https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52096/camp-type-definitions.zip . Note that there was some adjustment of the URIs used to reference documents. The correct URI base is "http://docs.oasis-open.org/camp/camp-spec/v1.1"

      Description

      In WD08 Section 5.20.1 (description of TypeDefinitions.typeDefinitionLinks) it reads:

      "This attribute contains Links to TypeDefinition resources that contain information about resource types supported by the Platform. If the Platform does not extend this Specification to add new resource types then the array can be empty. If the array is non-empty, for every resource type that the Platform supports, there MUST be a TypeDefinition resource Link that represents such a resource type."

      If I understand this correctly, this means that if I were to add a new resource type (e.g. org.example.apache:TomcatServer) not only would I have to create a TypeDefinition resource that describes it (along with all its AttribueDefinition resources) but I would also be required to create TypeDefinition resources for Platform, Assembly Template, Application Component Template, Platform Component Template, etc. All this just because I wanted to add one resource type! If I were a developer I would not be at all enthused about having to write all the details of CAMP-defined resource as a prerequisite to defining my own resource type.

      I think the CAMP spec should contain annex that provides the TypeDefinition trees for each of the CAMP-defined resources. Not only would this save developers time, it would also ensure uniformity of the TypeDefinition trees across CAMP implementations. In addition to this, it would provide a style guide for devs that create their own resource types.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gilbert.pilz Gilbert Pilz (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: