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

Details

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

    Description

      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 **

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jimmydot James Forsyth
            davesh Shwetank Dave
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: