Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Problem statement

Presently to identify the plugins which are used in the content, we have to parse the complete body object & identify the id of the plugin exist in the plugin-manifest of the content. To do this, we have to run some java/node script on the server to find list of contents which are using the specific plugin.

Solution

Add outward relations with content to the plugins used in the content. This helps to quickly identify the contents which are using the specific plugin.

  • plugins field is inserted in the metadata of old published resources using node script.
  • This is been handled in the request header, while creation/updation.
  • Both Scenarios i.e Content editor and CBSE program have been covered.

Format of plugins field in metadata of resource as follows:

plugins: [{ identifier: ' ' , semanticVersion: ' '  }]

  • No labels