Zum Hauptinhalt gehen

Remote Projects, Datasources and Delta Deployments

Kommentare

3 Kommentare

  • Zendesk API User
    Author: hoebbel - 10/28/2022 12:01

    Hello hstrack,

    i am afraid that this is a problem for which there is (in my opinion) no solution within the Delta Deployment.
    To explain, here's some background. The delta deployment checks the revisions of the project to determine if there have been releases since the last time it was run, and uses the appropriate revision information to calculate what needs to be generated.
    When a database is mounted read-only in a project, there are no changes to the datasets found within the revisions of the project. (After all, the changes are made in the source project, where the corresponding revisions are created).

    A solution could be to write a module, which monitors the release of news in the source project (for example within the release workflow or via the IDProviderEventAgent) and then starts a publication for the detail pages (and if necessary the overview page) in the corresponding target projects.
    The list of records to be generated can then be temporarily restricted via API in the page reference so that only the required records are generated.

    Best regards
    Holger

    0
  • Zendesk API User
    Author: hstrack - 11/7/2022 17:22

    Hi Holger,

    thank you very much for your detailed answer. To be sure, this means, that a script like this one

     

    context.getProject().createTaggedRevision("Generation","needed for external database content");

    context.setStartTime(new Date());

     

    as described here https://community.crownpeak.com/t5/Questions-Answers/Delta-Generierung-und-CorporateContent/m-p/24494 

    would not help either, right?

     

     

    0
  • Zendesk API User
    Author: hoebbel - 11/8/2022 7:38

    Hello hstrack,

    good query
    Unfortunately, from my understanding, this will not work. It would cause that there is a change in the project (so the start time of the generation is definitely after the changes to the records), but there is still no revision with the release of the affected records. Thus, the delta deployment cannot identify them and will not generate the corresponding detail pages.
    A solution approach could be to use the CaaS to submit the database contents to a central location on the frontend and then play out the detail pages via an SPA.

    Best regards
    Holger

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.