Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Plugins loading in editors & packing as part of ECAR.

  • Generation of pre-signed URL used by Editors

  • ECAR files will be having absolute paths (Need discussion on how to solve)

  • Data stored in the DB’s

    • streamingUrl

    • downloadUrl

    • variants

    ----------------

    • previewUrl

    • appIcon

    • posterImage

    • artifactUrl

    • toc_url

    • thumbnail

    • assetMap

...

Don’t store the absolute paths in the DB’s. Always store the path with CNAME as prefix.

example:

https://CNAME/ntp-content-production/content/assets/do_31329674183946240014126/a-boy-animation-1.mp4

...

Configure the service with CNAME value as shown below

CNAME_properties: [“downloadUrl“, “appIcon”, “posterImage”]

CNAME: https://ntpproductionall.blob.core.windows.net/ntp-content-productionWhile sending the response, replace all the properties values which has CNAME with actual value configured for microservice. So there wont be any difference in the API response

Only while creation(POST API calls), we will be replacing the properties on the request body(CNAME_properties) with CNAME & store in the DB.

The list of CNAME_properties can be configured by any adopters as per their schema properties.

Challenges:

If service has to point to different containers then it will be a challenge.

...