Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-124108

Create PUT/Delete endpoints to do upsert for documents

    Details

      Description

      // change to upsert

       

      As an app developer

      I want to be able to create elements in Liferay providing the ID through a PUT operation

      so that I can perform massive operations without worrying if the element exists or not.

       

      Acceptance criteria

       

      Given a Liferay DXP instance

      When I perform a PUT operation on an element and this element is not present in the instance/site

      Then the element is created

       

      Given a Liferay DXP instance

      When I perform a PUT operation on an element and this element is present in the instance/site

      Then the element is updated

       

      Given a Liferay DXP instance

      When I perform a DELETE operation on an element through the new endpoints

      Then the element is deleted

       

      This external code is unique to the whole scope, being that the group or the instance , so the new endpoints will be scoped to the needed scope

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-qa Support QA
              Reporter:
              pablo.agulla Pablo Agulla
              Engineering Assignee:
              Javier de Arcos Velilla
              Recent user:
              Sophia Zhang
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.2 CE GA3 DXP 7,4
                  7.4.13 DXP GA1
                  Master