OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

camp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (CAMP-221) CharacteristicSpecification schema is incorrect


    [ https://issues.oasis-open.org/browse/CAMP-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=65598#comment-65598 ] 

Anish Karmarkar commented on CAMP-221:
--------------------------------------

There is a fifth option and that is to not say anything at all. Required the 'type' attribute of type 'String' and then allow any attribute of any type (builtin, String, Number, Object, Array). This would allow the most flexibility.

> CharacteristicSpecification schema is incorrect
> -----------------------------------------------
>
>                 Key: CAMP-221
>                 URL: https://issues.oasis-open.org/browse/CAMP-221
>             Project: OASIS Cloud Application Management for Platforms (CAMP) TC
>          Issue Type: Bug
>          Components: Spec
>    Affects Versions: 1.2
>            Reporter: Anish Karmarkar
>            Assignee: Anish Karmarkar
>            Priority: Critical
>
> CharacteristicSpecfication (for both YAML and JSON) schema is incorrect.
> It says the following for YAML (4.3.7):
> -----
> type: String
> String: String *
> -----
> and the following for JSON (5.13):
> -----
> "characteristics": [
>     {
>       type: String,
>       String: String *
>     } +
>   ] ?,
> -----
> It is not clear why there is an attribute name called 'String'. A JSON attribute name must be unique therefore the cardinality of "*" is not possible. It is also not clear why the value must be a 'String' (and not something like Number)



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]