SAP-samples / hana-developer-cli-tool-example

Learn how to build a developer-centric SAP HANA command line tool, particularly designed to be used when performing SAP HANA development in non-SAP tooling (for example from VS Code).
Apache License 2.0
90 stars 24 forks source link

copy2DefaultEnv catch hanatrial service type (HANA As a Service) and report error #37

Closed jung-thomas closed 3 years ago

jung-thomas commented 3 years ago

Currently the copy2DefaultEnv only expects the hana service type (HANA Cloud). But HANA As a Service in BTP trial uses the service type hanatrial. At least produce a better error message when encountering this older trial service.

https://github.com/SAP-samples/hana-developer-cli-tool-example/blob/main/bin/copy2DefaultEnv.js