Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-663

REST API Schema Validation is not complete for Partition Deployment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • Stratos Manager
    • None

    Description

      It seems like REST API schema validation is not complete for partition deployment:

      Partition definition:
      {
      "id": "ec2-southeast-1",
      "partitionMin": 1,
      "partitionMax": 2,
      "provider": "ec2",
      "property": [

      { "name": "region", "value": "ap-southeast-1" }

      ]
      }

      Error:
      TID: [0] [STRATOS] [2014-06-01 21:01:23,909] WARN

      {org.apache.cxf.jaxrs.provider.AbstractJAXBProvider}

      - javax.xml.bind.UnmarshalException

      • with linked exception:
        [org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'partitionMin'. One of ' {provider}

        ' is expected.]

      Attachments

        Activity

          People

            Unassigned Unassigned
            imesh Imesh Gunaratne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: