ui5-task-check-eocp
v0.0.8
Published
Checks the used UI5 version and prints a warning when it reaches End of Cloud Provisioning
Downloads
223
Readme
UI5 task for checking the End of Cloud Provisioning date of the used UI5 version
Task for ui5-builder, checking expiring End of Cloud Provisioning date
Prerequisites
- Requires at least
@ui5/[email protected](to supportspecVersion: "3.0")
Install
npm install ui5-task-check-eocp --save-devUsage
- Define the dependency in
$yourapp/package.json:
"devDependencies": {
// ...
"ui5-task-check-eocp": "*"
// ...
}- configure it in
$yourapp/ui5.yaml:
builder:
customTasks:
- name: ui5-task-check-eocp
afterTask: replaceVersion
configuration:
failOnEocp: trueConfiguration options (in $yourapp/ui5.yaml)
- failOnEocp:
boolean(default:false) When set totrue, it will fail the build. Also, due to the async nature of the check, make this task the first and all others dependent in this task using theafterTasksetting.
How it works
The task checks the application's UI5 version (as specified in the ui5.yaml file), and matches it with the UI5 versions available (these are retrieved from http://ui5.sap.com). If the current date is within (or after) the End of Cloud Provisioning quarter, it prints a warning during the ui5 build execution like this:

NB: In case of expired provisioning date, the task does not halt the ui5 build process from executing. It is the developer's responsibility to proceed and update the UI5 version at will.
Licence
Standard MIT license
If you find this extension useful, buy Qualiture (Robin van het Hof) a beer when you see him 🙂
