Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1287

trigger YC content update after local eZ content update

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: eZ Recommendation
    • Labels:
      None

      Description

      +This is currently not working .. YC does NOT receive update notifications after editing content in ezstudio+

      YC should receive a notification (YooChooseNotifier) about local eZ content updates to keep in the recommendation service in sync with eZ content

      The currently used target URL is: https://yaml-configured-server-endpoint/api/v4/publisher/ez/[mandator]/notification

      it should be switched to the same endpoint like the full content export: https://yaml-configured-server-endpoint/api/[mandator]/items

      What about authentication? In the FULL import you send us login and password together with URIs. Will you do the same in UPDATE?

      Additionally the contentTypeId and lang values should be added to the json, the transaction value can be null or follow the format of the full export (e.g. 20170104084311232)

      Current Version:
      {
          "transaction" : null,
          "events" : [
              {
                  "action" : "UPDATE",
                  "uri": "<ez-installation-endpoint>/api/ezp/v2/content/objects/123456"
              }
          ]
      }
      
      New Version:
      {
          "transaction" : null,
          "events" : [
              {
                  "action" : "UPDATE",
                  "uri": "<ez-installation-endpoint>/api/ezp/v2/content/objects/123456",
                  "contentTypeId" : 16,
                  "lang" : "eng-GB"
              }
          ]
      }
      

        Attachments

          Activity

            People

            Assignee:
            kamil.musial-obsolete@ez.no Kamil Musiał (Inactive)
            Reporter:
            johannes.hoerle-obsolete@ez.no Johannes Hörle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: