Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2662

Test update property using automation instead of rest [connect lib]

    XMLWordPrintable

    Details

      Description

      To avoid recurring issues like NXCONNECT-2074, it may be worth using automation if it is unaffected.

      Current type of query:

      curl -n -sSL -X PUT -H 'Content-Type: application/json' -H 'Cache-Control: no-cache' -d '{"entity-type":"document","properties":{"dc:description":"my test description for HF88"}}' "https://nos-preprod-connect.nuxeocloud.com:443/nuxeo/api/v1/id/b89e779a-0f8c-475f-8868-e4b5350d331e"
      

      Type of query to test:

      curl -X POST 'https://connect.nuxeo.com/nuxeo/site/automation/Document.SetProperty' -u gspradlin:xxxxx -H 'Nuxeo-Transaction-Timeout: 3' -H 'X-NXproperties: *' -H 'X-NXRepository: default' -H 'content-type: application/json' -d '{"params":{"xpath":"connectclient:hosting","save":"true","value":"NCO"},"input":"9e60d1d0-91f5-4822-8b05-8d1911f8083f","context":{}}'
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 30 minutes
                2h 30m