Versions Compared

Key

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

...

  1. Maintenance - As soon as version update, Admin as to update the sunbird player config through API .
  2. Content Upgrade is required 



Solution 3 - Dynamic updating of param tag(publish time) to plugins network request call 


API:

Code Block
API Name: '/search'

request:{
identifier”: [“plugin1”, “plugin2"]
}


As soon as plugin fix is done,Sunbird as to make an api to get the plugins metadata and pass lastUpdateOn time as config to editor's, The plugins framework should append the lastUpdatedOn field to plugins network request calls

Pros:

  1. Cache will resolve
  2. No need to portal or editor deployment
  3. No need to version update


Cons:

  1. To get last updateOn filed sunbird as to make an API call.


Metadata


Code Block
 {
  lastUpdatedOn(ms)

}


 While loading respective plugin the plugin framework should append the last updated on time to network request call by reading from metadata


Pros:

  1. No need to multiple deployment
  2. Plugins cache will resolve


Cons:

  1. Plugin framework need to update.




Conclusion:


Cache problem can not be resolved by using param tags. So each plugins as to follow the deployment process and developer need to bump up the plugin version, If any incompatibility issue. Along with user may required to upgrade the content as well.

We need further design discussion for the plugin version bump-up and content upgrade.


Kartheek Palla Vinu Kumar Venkateshwaran Selvaraj