SAP / open-ux-tools

Enable community collaboration to jointly promote and facilitate best in class tooling capabilities
Apache License 2.0
83 stars 35 forks source link

TBI - Enhance ABAP deploy/undeploy flow to support `service` cli param #1084

Closed longieirl closed 2 months ago

longieirl commented 1 year ago

Description (include screenshots)

When running the ABAP deploy or undeploy commands, for example

npx deploy --url 'https://server.exmaple' -name ZJLONG0205 --transport 'Y11'  --package  '$tmp' --cloud --cloud-service-env --verbose --no-retry --archive-folder ./dist --noConfig
npx undeploy --url 'https://server.exmaple' --name 'ZJLONG0205' --transport 'Y11' --cloud --cloud-service-env --verbose --no-retry --noConfig

I should be able to append the --service param so that the SAPUI5 Repositroy OData service specified is used instead of the default /sap/opu/odata/UI5/ABAP_REPOSITORY_SRV.

This should also be supported if defined in the ui5-deploy.yaml, for example;

- name: abap-deploy-task
  configuration:
    log: 5
    app:
      name: Z_TEST
      package: $TMP
    target:
      url: https://target.example,
      service: 'bc/myservice'

Value

Improved way of deploying to a ABAP cloud.

Architecture Elaboration

No

Notes

Tasks

T1mey commented 1 year ago

Could you please inform the project piper team to include this parameter into the step transportRequestUploadCTS after it's implemented?

See Params: https://www.project-piper.io/steps/transportRequestUploadCTS/

longieirl commented 2 months ago

Confirmed as working in tools-suite.