Skip to content

About

Checks the used UI5 version and prints a warning when it reaches End of Cloud Provisioning

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

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

Install

npm install ui5-task-check-eocp --save-dev

Usage

  1. Define the dependency in $yourapp/package.json:
"devDependencies": {
    // ...
    "ui5-task-check-eocp": "*"
    // ...
}
  1. configure it in $yourapp/ui5.yaml:
builder:
  customTasks:
  - name: ui5-task-check-eocp
    afterTask: replaceVersion
    configuration:
      failOnEocp: true

Configuration options (in $yourapp/ui5.yaml)

  • failOnEocp: boolean (default: false) When set to true, 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 the afterTask setting.

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:

Example of the task's output

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 🙂

About

Checks the used UI5 version and prints a warning when it reaches End of Cloud Provisioning

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages