UNPKG

@sap/generator-adaptation-project

Version:

Adaptation project allows you to create an app variant for an existing SAP Fiori elements-based or SAPUI5 freestyle application, without changing the original application.

59 lines (58 loc) 1.74 kB
specVersion: "3.0" metadata: name: <%= projectname %> type: application<% if (isRunningInBAS && isCloudProject) { %> builder: customTasks: - name: app-variant-bundler-build beforeTask: escapeNonAsciiCharacters configuration: type: abap destination: <%= sourceSystem %> appName: <%= bspName %> languages: <% for (language of languages) { %> - sap: '<%=language.sap %>' i18n: '<%=language.i18n %>'<% } %> credentials: username: env:ABAP_USERNAME password: env:ABAP_PASSWORD framework: name: SAPUI5 version: <%= ui5Version %><% } %> resources: configuration: propertiesFileSourceEncoding: UTF-8 customConfiguration: adp: support: id: '<%= id %>' version: <%= version %> toolsId: <%= toolsId %> server: customMiddleware: - name: fiori-tools-appreload afterMiddleware: compression - name: fiori-tools-preview afterMiddleware: fiori-tools-appreload configuration: adp: target: <% if (isRunningInBAS) { %> destination: <%= sourceSystem %><% } else { %> url: <%= systemUrl %> client: '<%= client %>'<% } %> ignoreCertErrors: false - name: fiori-tools-proxy afterMiddleware: fiori-tools-preview configuration: ignoreCertErrors: false ui5: version: <%= ui5Version %> path: - /resources - /test-resources url: <%= ui5EndpointUrl %> backend: <% if (isRunningInBAS) { %> - destination: <%= sourceSystem %><% } else { %> - url: <%= systemUrl %> client: '<%= client %>'<% } %> path: /sap