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

Create PUT/Delete endpoints to do upsert for knowledge base

    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:
              luismiguel.barco Luis Miguel Barcos
              Reporter:
              pablo.agulla Pablo Agulla
              Engineering Assignee:
              Luis Miguel Barcos
              Recent user:
              Luis Miguel Barcos
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package