Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-463

Wrong Error message when we use PUT instead of POST to create the relationship

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • None
    • None
    • A&AI Sprint 7

      Create the following relationship using put instead of post

       https://<host>:9520/services/inventory/relationships/v11/runsOnPserver 

      {

      "source":"services/inventory/<rest-of-url>",
      "target":"services/inventory/<rest-of-url>",
      "properties":{
                
          <properties>
      }

      We get the error message 

      java.io.FileNotFoundException

      instead we should get the error saying the method is not allowed.

        • We only use put for update the relationship **

            jimmydot jimmydot
            davesh davesh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: