├── .cdsprettier.json
├── .devcontainer
├── Dockerfile
└── devcontainer.json
├── .eslintrc.json
├── .github
└── CODEOWNERS
├── .gitignore
├── CHANGELOG.js
├── CHANGELOG.json
├── CHANGELOG.md
├── LICENSE
├── LICENSES
└── Apache-2.0.txt
├── README.md
├── REUSE.toml
├── _i18n
└── messages.properties
├── app
├── .gitignore
├── README.md
├── appconfig
│ └── fioriSandboxConfig.json
├── dfa
│ └── help
│ │ ├── catalog
│ │ ├── Shell-home!whatsnew.json
│ │ ├── Shell-home.json
│ │ └── massconvert-ui.json
│ │ ├── context
│ │ ├── Shell-home!whatsnew.json
│ │ ├── Shell-home.json
│ │ ├── Shell-home
│ │ │ ├── 1.html
│ │ │ └── 2.html
│ │ ├── massconvert-ui.json
│ │ └── massconvert-ui
│ │ │ ├── 1.html
│ │ │ ├── beginConvert.html
│ │ │ ├── chckCatalogPure.html
│ │ │ ├── chkAdmin.html
│ │ │ ├── chkHanaTypes.html
│ │ │ ├── chkKeepPath.html
│ │ │ ├── chkNoColons.html
│ │ │ ├── debug.html
│ │ │ ├── disableVerbose.html
│ │ │ ├── inputConnFile.html
│ │ │ ├── inputFolder.html
│ │ │ ├── inputLimit.html
│ │ │ ├── inputNamespace.html
│ │ │ ├── inputSynonyms.html
│ │ │ ├── logInfo.html
│ │ │ ├── outputFormat.html
│ │ │ ├── schema.html
│ │ │ └── table.html
│ │ ├── library-preload.js
│ │ ├── library.js
│ │ ├── utils
│ │ └── adapters
│ │ │ └── fiori
│ │ │ └── Component.js
│ │ └── wpb
│ │ ├── files
│ │ ├── IconFont.woff
│ │ └── IconFont2.woff
│ │ └── less
│ │ ├── default.css
│ │ ├── quartz.css
│ │ ├── quartzlight.css
│ │ ├── quartzlight2.css
│ │ ├── text_styles_default.css
│ │ ├── text_styles_quartz.css
│ │ ├── text_styles_quartzlight.css
│ │ └── text_styles_quartzlight2.css
├── resources
│ ├── WebAssistant.js
│ ├── common
│ │ ├── Component.js
│ │ ├── controller
│ │ │ ├── BaseController.js
│ │ │ └── handler.js
│ │ ├── css
│ │ │ └── style.css
│ │ ├── images
│ │ │ ├── favicon.ico
│ │ │ ├── sap_18.png
│ │ │ └── split.png
│ │ ├── index.js
│ │ ├── model
│ │ │ └── models.js
│ │ └── view
│ │ │ ├── BusyDialog.fragment.xml
│ │ │ ├── Connection.fragment.xml
│ │ │ └── Debug.fragment.xml
│ ├── favicon.ico
│ ├── index.html
│ ├── init.js
│ ├── inspect
│ │ ├── Component.js
│ │ ├── controller
│ │ │ ├── App.controller.js
│ │ │ ├── inspectTable-ui.controller.js
│ │ │ ├── inspectView-ui.controller.js
│ │ │ └── querySimple-ui.controller.js
│ │ ├── i18n
│ │ │ └── i18n.properties
│ │ ├── index.html
│ │ ├── manifest.json
│ │ └── view
│ │ │ ├── inspectTable-ui.view.xml
│ │ │ ├── inspectView-ui.view.xml
│ │ │ └── querySimple-ui.view.xml
│ ├── massConvert
│ │ ├── Component.js
│ │ ├── controller
│ │ │ └── App.controller.js
│ │ ├── i18n
│ │ │ └── i18n.properties
│ │ ├── index.html
│ │ ├── manifest.json
│ │ └── view
│ │ │ └── App.view.xml
│ ├── systemInfo
│ │ ├── Component.js
│ │ ├── controller
│ │ │ └── App.controller.js
│ │ ├── i18n
│ │ │ └── i18n.properties
│ │ ├── index.html
│ │ ├── manifest.json
│ │ └── view
│ │ │ └── App.view.xml
│ └── tables
│ │ ├── Component.js
│ │ ├── controller
│ │ ├── App.controller.js
│ │ ├── basic-ui.controller.js
│ │ ├── containers-ui.controller.js
│ │ ├── functions-ui.controller.js
│ │ ├── schemas-ui.controller.js
│ │ ├── tables-ui.controller.js
│ │ └── views-ui.controller.js
│ │ ├── i18n
│ │ └── i18n.properties
│ │ ├── index.html
│ │ ├── manifest.json
│ │ └── view
│ │ ├── containers-ui.view.xml
│ │ ├── dataTypes-ui.view.xml
│ │ ├── featureUsage-ui.view.xml
│ │ ├── features-ui.view.xml
│ │ ├── functions-ui.view.xml
│ │ ├── hdi-ui.view.xml
│ │ ├── indexes-ui.view.xml
│ │ ├── reuse
│ │ ├── schema.fragment.xml
│ │ ├── table.fragment.xml
│ │ └── toolbar.fragment.xml
│ │ ├── sbss-ui.view.xml
│ │ ├── schemaInstances-ui.view.xml
│ │ ├── schemas-ui.view.xml
│ │ ├── securestore-ui.view.xml
│ │ ├── tables-ui.view.xml
│ │ ├── ups-ui.view.xml
│ │ └── views-ui.view.xml
├── ui5-local.yaml
└── ui5.yaml
├── bin
├── UI.js
├── activateHDI.js
├── adminHDI.js
├── adminHDIGroup.js
├── btp.js
├── btpInfo.js
├── btpSubs.js
├── callProcedure.js
├── cds.js
├── certificates.js
├── changeLog.js
├── changeLogUI.js
├── cli.js
├── connect.js
├── connectViaServiceKey.js
├── containers.js
├── containersUI.js
├── copy2DefaultEnv.js
├── copy2Env.js
├── copy2Secrets.js
├── createContainer.js
├── createContainerUsers.js
├── createGroup.js
├── createJWT.js
├── createModule.js
├── createXSAAdmin.js
├── dataTypes.js
├── dataTypesUI.js
├── dataVolumes.js
├── disks.js
├── dropContainer.js
├── dropGroup.js
├── featureUsage.js
├── featureUsageUI.js
├── features.js
├── featuresUI.js
├── functions.js
├── functionsUI.js
├── hanaCloudHDIInstances.js
├── hanaCloudHDIInstancesUI.js
├── hanaCloudInstances.js
├── hanaCloudSBSSInstances.js
├── hanaCloudSBSSInstancesUI.js
├── hanaCloudSchemaInstances.js
├── hanaCloudSchemaInstancesUI.js
├── hanaCloudSecureStoreInstances.js
├── hanaCloudSecureStoreInstancesUI.js
├── hanaCloudStart.js
├── hanaCloudStop.js
├── hanaCloudUPSInstances.js
├── hanaCloudUPSInstancesUI.js
├── hdbsql.js
├── hostInformation.js
├── index.js
├── indexTest.js
├── indexes.js
├── indexesUI.js
├── iniContents.js
├── iniFiles.js
├── inspectFunction.js
├── inspectIndex.js
├── inspectJWT.js
├── inspectLibMember.js
├── inspectLibrary.js
├── inspectProcedure.js
├── inspectTable.js
├── inspectTableUI.js
├── inspectTrigger.js
├── inspectUser.js
├── inspectView.js
├── issue.js
├── libraries.js
├── massConvert.js
├── massConvertUI.js
├── massRename.js
├── massUsers.js
├── matrix.js
├── objects.js
├── openBAS.js
├── openChangeLog.js
├── openDBExplorer.js
├── openReadMe.js
├── ports.js
├── privilegeError.js
├── procedures.js
├── querySimple.js
├── querySimpleUI.js
├── readMe.js
├── readMeUI.js
├── reclaim.js
├── rick.js
├── roles.js
├── schemas.js
├── schemasUI.js
├── sequences.js
├── status.js
├── synonyms.js
├── systemInfo.js
├── systemInfoUI.js
├── tables.js
├── tablesPG.js
├── tablesSQLite.js
├── tablesUI.js
├── test.js
├── traceContents.js
├── traces.js
├── triggers.js
├── users.js
├── version.js
└── views.js
├── images
└── ex1.png
├── index.js
├── install-btp.sh
├── npm-shrinkwrap.json
├── package.json
├── routes
├── dfa.js
├── docs.js
├── excel.js
├── hanaInspect.js
├── hanaList.js
├── index.js
├── static.js
└── webSocket.js
├── tests
├── .mocharc.json
├── SystemInfo.Test.js
├── base.js
├── btpInfo.Test.js
├── btpSubs.Test.js
├── callProcedure.Test.js
├── helper.js
├── status.Test.js
└── version.Test.js
├── tsconfig.json
├── types
├── CHANGELOG.d.ts
├── app
│ ├── dfa
│ │ └── help
│ │ │ ├── library-preload.d.ts
│ │ │ ├── library.d.ts
│ │ │ └── utils
│ │ │ └── adapters
│ │ │ └── fiori
│ │ │ └── Component.d.ts
│ └── resources
│ │ ├── WebAssistant.d.ts
│ │ ├── common
│ │ ├── Component.d.ts
│ │ ├── controller
│ │ │ ├── BaseController.d.ts
│ │ │ └── handler.d.ts
│ │ ├── index.d.ts
│ │ └── model
│ │ │ └── models.d.ts
│ │ ├── init.d.ts
│ │ ├── inspect
│ │ ├── Component.d.ts
│ │ └── controller
│ │ │ ├── App.controller.d.ts
│ │ │ ├── inspectTable-ui.controller.d.ts
│ │ │ ├── inspectView-ui.controller.d.ts
│ │ │ └── querySimple-ui.controller.d.ts
│ │ ├── massConvert
│ │ ├── Component.d.ts
│ │ └── controller
│ │ │ └── App.controller.d.ts
│ │ ├── systemInfo
│ │ ├── Component.d.ts
│ │ └── controller
│ │ │ └── App.controller.d.ts
│ │ └── tables
│ │ ├── Component.d.ts
│ │ └── controller
│ │ ├── App.controller.d.ts
│ │ ├── basic-ui.controller.d.ts
│ │ ├── containers-ui.controller.d.ts
│ │ ├── functions-ui.controller.d.ts
│ │ ├── schemas-ui.controller.d.ts
│ │ ├── tables-ui.controller.d.ts
│ │ └── views-ui.controller.d.ts
├── bin
│ ├── UI.d.ts
│ ├── activateHDI.d.ts
│ ├── adminHDI.d.ts
│ ├── adminHDIGroup.d.ts
│ ├── btp.d.ts
│ ├── btpInfo.d.ts
│ ├── btpSubs.d.ts
│ ├── callProcedure.d.ts
│ ├── cds.d.ts
│ ├── certificates.d.ts
│ ├── changeLog.d.ts
│ ├── changeLogUI.d.ts
│ ├── cli.d.ts
│ ├── connect.d.ts
│ ├── connectViaServiceKey.d.ts
│ ├── containers.d.ts
│ ├── containersUI.d.ts
│ ├── copy2DefaultEnv.d.ts
│ ├── copy2Env.d.ts
│ ├── copy2Secrets.d.ts
│ ├── createContainer.d.ts
│ ├── createContainerUsers.d.ts
│ ├── createGroup.d.ts
│ ├── createJWT.d.ts
│ ├── createModule.d.ts
│ ├── createXSAAdmin.d.ts
│ ├── dataTypes.d.ts
│ ├── dataTypesUI.d.ts
│ ├── dataVolumes.d.ts
│ ├── disks.d.ts
│ ├── dropContainer.d.ts
│ ├── dropGroup.d.ts
│ ├── featureUsage.d.ts
│ ├── featureUsageUI.d.ts
│ ├── features.d.ts
│ ├── featuresUI.d.ts
│ ├── functions.d.ts
│ ├── functionsUI.d.ts
│ ├── hanaCloudHDIInstances.d.ts
│ ├── hanaCloudHDIInstancesUI.d.ts
│ ├── hanaCloudInstances.d.ts
│ ├── hanaCloudSBSSInstances.d.ts
│ ├── hanaCloudSBSSInstancesUI.d.ts
│ ├── hanaCloudSchemaInstances.d.ts
│ ├── hanaCloudSchemaInstancesUI.d.ts
│ ├── hanaCloudSecureStoreInstances.d.ts
│ ├── hanaCloudSecureStoreInstancesUI.d.ts
│ ├── hanaCloudStart.d.ts
│ ├── hanaCloudStop.d.ts
│ ├── hanaCloudUPSInstances.d.ts
│ ├── hanaCloudUPSInstancesUI.d.ts
│ ├── hdbsql.d.ts
│ ├── hostInformation.d.ts
│ ├── index.d.ts
│ ├── indexTest.d.ts
│ ├── indexes.d.ts
│ ├── indexesUI.d.ts
│ ├── iniContents.d.ts
│ ├── iniFiles.d.ts
│ ├── inspectFunction.d.ts
│ ├── inspectIndex.d.ts
│ ├── inspectJWT.d.ts
│ ├── inspectLibMember.d.ts
│ ├── inspectLibrary.d.ts
│ ├── inspectProcedure.d.ts
│ ├── inspectTable.d.ts
│ ├── inspectTableUI.d.ts
│ ├── inspectTrigger.d.ts
│ ├── inspectUser.d.ts
│ ├── inspectView.d.ts
│ ├── issue.d.ts
│ ├── libraries.d.ts
│ ├── massConvert.d.ts
│ ├── massConvertUI.d.ts
│ ├── massRename.d.ts
│ ├── massUsers.d.ts
│ ├── matrix.d.ts
│ ├── objects.d.ts
│ ├── openBAS.d.ts
│ ├── openChangeLog.d.ts
│ ├── openDBExplorer.d.ts
│ ├── openReadMe.d.ts
│ ├── ports.d.ts
│ ├── privilegeError.d.ts
│ ├── procedures.d.ts
│ ├── querySimple.d.ts
│ ├── querySimpleUI.d.ts
│ ├── readMe.d.ts
│ ├── readMeUI.d.ts
│ ├── reclaim.d.ts
│ ├── rick.d.ts
│ ├── roles.d.ts
│ ├── schemas.d.ts
│ ├── schemasUI.d.ts
│ ├── sequences.d.ts
│ ├── status.d.ts
│ ├── synonyms.d.ts
│ ├── systemInfo.d.ts
│ ├── systemInfoUI.d.ts
│ ├── tables.d.ts
│ ├── tablesPG.d.ts
│ ├── tablesSQLite.d.ts
│ ├── tablesUI.d.ts
│ ├── test.d.ts
│ ├── traceContents.d.ts
│ ├── traces.d.ts
│ ├── triggers.d.ts
│ ├── users.d.ts
│ ├── version.d.ts
│ └── views.d.ts
├── index.d.ts
├── mochawesome-report
│ └── assets
│ │ └── app.d.ts
├── routes
│ ├── dfa.d.ts
│ ├── docs.d.ts
│ ├── excel.d.ts
│ ├── hanaInspect.d.ts
│ ├── hanaList.d.ts
│ ├── index.d.ts
│ ├── static.d.ts
│ ├── webSockerts.d.ts
│ └── webSocket.d.ts
├── tests
│ ├── SystemInfo.Test.d.ts
│ ├── base.d.ts
│ ├── btpInfo.Test.d.ts
│ ├── btpSubs.Test.d.ts
│ ├── callProcedure.Test.d.ts
│ ├── helper.d.ts
│ ├── status.Test.d.ts
│ └── version.Test.d.ts
├── update-notifier.d.ts
└── utils
│ ├── base.d.ts
│ ├── btp.d.ts
│ ├── cf.d.ts
│ ├── connections.d.ts
│ ├── database
│ ├── hanaCDS.d.ts
│ ├── hanaDirect.d.ts
│ ├── index.d.ts
│ ├── postgres.d.ts
│ └── sqlite.d.ts
│ ├── dbInspect.d.ts
│ ├── locale.d.ts
│ ├── massConvert.d.ts
│ ├── sqlInjection.d.ts
│ ├── versionCheck.d.ts
│ └── xs.d.ts
├── update-notifier.js
└── utils
├── base.js
├── btp.js
├── cf.js
├── connections.js
├── database
├── hanaCDS.js
├── hanaDirect.js
├── index.js
├── postgres.js
└── sqlite.js
├── dbInspect.js
├── inquirer-tree-prompt.js
├── locale.js
├── massConvert.js
├── sqlInjection.js
├── versionCheck.js
└── xs.js
/.cdsprettier.json:
--------------------------------------------------------------------------------
1 | {
2 | "cqlKeywordCapitalization": "upper"
3 | }
--------------------------------------------------------------------------------
/.devcontainer/Dockerfile:
--------------------------------------------------------------------------------
1 | # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.187.0/containers/javascript-node/.devcontainer/base.Dockerfile
2 |
3 | # [Choice] Node.js version: 20, 18, 16
4 | ARG VARIANT="20-buster"
5 | FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
6 |
7 | # Prepare for apt-based install of Cloud Foundry CLI by adding Cloud Foundry Foundation public key & package repository
8 | # (see https://docs.cloudfoundry.org/cf-cli/install-go-cli.html#pkg-linux).
9 | RUN wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add - ; \
10 | echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
11 |
12 | # Install extra tools for CAP development & deployment.
13 | RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
14 | && apt-get -y install --no-install-recommends cf8-cli git jq
15 |
16 | # Install global node modules for SAP CAP and frontend development.
17 | RUN su node -c "npm install -g @ui5/cli @sap/cds-dk yo @sapui5/generator-sapui5-templates @sap/generator-add-hdb-module @sap/generator-base-mta-module @sap/generator-cap-project @sap/generator-fiori @sap/generator-hdb-project typescript"
18 |
19 |
--------------------------------------------------------------------------------
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "commonjs": false,
4 | "es6": true,
5 | "node": true,
6 | "mocha": true
7 | },
8 | "extends": [
9 | "eslint:recommended",
10 | "plugin:@sap/cds/recommended"
11 | ],
12 | "globals": {
13 | "Atomics": "readonly",
14 | "SharedArrayBuffer": "readonly"
15 | },
16 | "parserOptions": {
17 | "ecmaVersion": 2022,
18 | "sourceType": "module"
19 | },
20 | "rules": {}
21 | }
22 |
--------------------------------------------------------------------------------
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @jung-thomas
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 |
8 | # Runtime data
9 | pids
10 | *.pid
11 | *.seed
12 | *.pid.lock
13 |
14 | # Directory for instrumented libs generated by jscoverage/JSCover
15 | lib-cov
16 |
17 | # Coverage directory used by tools like istanbul
18 | coverage
19 |
20 | # nyc test coverage
21 | .nyc_output
22 |
23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24 | .grunt
25 |
26 | # Bower dependency directory (https://bower.io/)
27 | bower_components
28 |
29 | # node-waf configuration
30 | .lock-wscript
31 |
32 | # Compiled binary addons (https://nodejs.org/api/addons.html)
33 | build/Release
34 |
35 | # Dependency directories
36 | node_modules/
37 | jspm_packages/
38 |
39 | # TypeScript v1 declaration files
40 | typings/
41 |
42 | # Optional npm cache directory
43 | .npm
44 |
45 | # Optional eslint cache
46 | .eslintcache
47 |
48 | # Optional REPL history
49 | .node_repl_history
50 |
51 | # Output of 'npm pack'
52 | *.tgz
53 |
54 | # Yarn Integrity file
55 | .yarn-integrity
56 |
57 | # dotenv environment variables file
58 | .env
59 |
60 | # next.js build output
61 | .next
62 |
63 | mta_archives/
64 | default-*.json
65 |
66 | # dotenv environment variables file
67 | .env
68 |
69 | # Visual Studio Code
70 | .vscode
71 |
72 | #prevent potential private schemas publishing
73 | *.cds
74 |
75 | /secrets
76 | yarn.lock
77 |
78 | # added by cds bind
79 | .cdsrc-private.json
80 |
81 | # macos
82 | .DS_Store
83 |
84 | #Test Results
85 | /mochawesome-report
--------------------------------------------------------------------------------
/CHANGELOG.js:
--------------------------------------------------------------------------------
1 | // @ts-check
2 | import changelog from 'stringify-changelog'
3 | let markdown = changelog("./CHANGELOG.json")
4 |
5 | markdown = `# Change Log
6 |
7 | All notable changes to this project will be documented in this file.
8 |
9 | The format is based on [Keep a Changelog](http://keepachangelog.com/).
10 |
11 | ${markdown}`
12 |
13 | import fs from 'fs'
14 | fs.writeFileSync('./CHANGELOG.md', markdown)
15 |
--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | dist/
3 | .scp/
4 | .env
5 | Makefile*.mta
6 | mta_archives
7 | mta-*
8 | archive.zip
9 | .*_mta_build_tmp
--------------------------------------------------------------------------------
/app/README.md:
--------------------------------------------------------------------------------
1 | ## Application Details
2 | | |
3 | | ------------- |
4 | |**Generation Date and Time**
Thu Jul 15 2021 13:03:12 GMT-0400 (Eastern Daylight Time)|
5 | |**App Generator**
@sap/generator-fiori|
6 | |**App Generator Version**
1.2.4|
7 | |**Generation Platform**
Visual Studio Code|
8 | |**Floorplan Used**
simple|
9 | |**Service Type**
None|
10 | |**Service URL**
N/A
11 | |**Module Name**
test1|
12 | |**Application Title**
App Title|
13 | |**Namespace**
|
14 | |**UI5 Theme**
sap_fiori_3_dark|
15 | |**UI5 Version**
Latest|
16 | |**Enable Telemetry**
False|
17 |
18 | ## test1
19 |
20 | A Fiori application.
21 |
22 | ### Starting the generated app
23 |
24 | - This app has been generated using the SAP Fiori tools - App Generator, as part of the SAP Fiori tools suite. In order to launch the generated app, simply run the following from the generated app root folder:
25 |
26 | ```
27 | npm start
28 | ```
29 |
30 | #### Pre-requisites:
31 |
32 | 1. Active NodeJS LTS (Long Term Support) version and associated supported NPM version. (See https://nodejs.org)
33 |
34 |
35 |
--------------------------------------------------------------------------------
/app/dfa/help/catalog/Shell-home!whatsnew.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Shell-home!whatsnew",
3 | "appUrl": "Shell-home!whatsnew",
4 | "product": "HANA_CLI",
5 | "version": "Cloud",
6 | "locale": "en-US",
7 | "language": "en-US",
8 | "state": "PRODUCTION",
9 | "system": "",
10 | "environment": "",
11 | "loio": "",
12 | "contextType": "HELP",
13 | "_standalone": true,
14 | "title": "HELP_WN_Shell-home",
15 | "shortDescription": "",
16 | "alias": "",
17 | "editable": "true",
18 | "lastModifiedDate": "2021-06-10 07:22:47 GMT+0000"
19 | }
--------------------------------------------------------------------------------
/app/dfa/help/catalog/Shell-home.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Shell-home",
3 | "appUrl": "Shell-home",
4 | "product": "HANA_CLI",
5 | "version": "Cloud",
6 | "locale": "en-US",
7 | "language": "en-US",
8 | "state": "PRODUCTION",
9 | "system": "",
10 | "environment": "",
11 | "loio": "",
12 | "contextType": "HELP",
13 | "_standalone": true,
14 | "title": "Static Help: hana-cli Landing Page",
15 | "shortDescription": "",
16 | "alias": "",
17 | "editable": "true",
18 | "lastModifiedDate": "2021-06-10 07:22:47 GMT+0000"
19 | }
--------------------------------------------------------------------------------
/app/dfa/help/catalog/massconvert-ui.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "massconvert-ui",
3 | "appUrl": "massconvert-ui",
4 | "product": "HANA_CLI",
5 | "version": "Cloud",
6 | "locale": "en-US",
7 | "language": "en-US",
8 | "state": "PRODUCTION",
9 | "system": "",
10 | "environment": "",
11 | "loio": "",
12 | "contextType": "HELP",
13 | "_standalone": true,
14 | "title": "Convert a group of tables to CDS or HDBTable format",
15 | "shortDescription": "Convert a group of tables to CDS or HDBTable format",
16 | "alias": "",
17 | "editable": "true",
18 | "lastModifiedDate": "2021-06-10 07:22:47 GMT+0000"
19 | }
--------------------------------------------------------------------------------
/app/dfa/help/context/Shell-home!whatsnew.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Shell-home!whatsnew",
3 | "appUrl": "Shell-home!whatsnew",
4 | "product": "HANA_CLI",
5 | "version": "Cloud",
6 | "locale": "en-US",
7 | "state": "PRODUCTION",
8 | "system": "",
9 | "environment": "",
10 | "loio": "",
11 | "contextType": "HELP",
12 | "title": "HELP_WN_Shell-home",
13 | "shortDescription": "",
14 | "alias": "",
15 | "editable": "true",
16 | "lastModifiedDate": "2021-06-10 07:22:47 GMT+0000",
17 | "tiles": [
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/app/dfa/help/context/Shell-home/1.html:
--------------------------------------------------------------------------------
1 |
General information related to this screen
4 |Welcome to 5 | SAP HANA Developer Command Line Interface!
6 |This 7 | page gathers the various browser based user interface versions of commands in the hana-cli tool.
8 |See also:
9 | 14 |Find relevant documentation.
4 |5 | https://github.com/SAP-samples/hana-developer-cli-tool-example/blob/main/README.md 8 |
9 |General information related to this screen
4 |Welcome to 5 | hana-cli massConvert command!
6 |This command converts a group of tables to CDS, HDBTable, or HDBMigrationTable format.
7 |See also:
8 | 13 |Begin Conversion
4 |
5 | Press once you have completed all input and settings and are ready to start the conversion
6 |
Conversion Using Catalog SQL APIs
4 |5 | Normally conversion is done by reading the HANA Catalog and building a CDS entity defintion dynamically. We 6 | then use the cds.compile.to API to convert to the target output format. But this has restrictions of only 7 | supporting what CDS allows. 8 |
9 |10 | With this option selected, we instead use the SYS.GET_OBJECT_DEFINITION stored procedure. We then strip out 11 | the Schema references and CS_* Types to make the output compatible with HDI and HANA Cloud 12 |
13 |Connect with Admin User (default-env-admin.json)
4 |5 | This option will override the normal conneciton configuration logic (which looks for .env and then 6 | default-env.json) and instead connect with a file named default-env-admin.json. Normally you will create 7 | this sort of connection with a power user like SYSTEM or DBADMIN. This will often give you much more access 8 | to foreign schemas than a normal database connection. 9 |
10 | 11 |Use HANA Native Data Types
4 |5 | Normally CAP CDS uses abstracted data types and therefore the normal conversion will produce an error 6 | message if it can't map a data type to one of the CDS Types. This option allows for additional mapping to 7 | the HANA specific data types. 8 |
9 | 10 |See also:
11 | 16 |Keep Source Table Path
4 |5 | Use this option when you want to force the converison to maintain the original table path including any dots 6 | in the path 7 |
8 | 9 |Keep Source Table Path
4 |5 | Use this option when you want to replace :: in the table path with a dot for better compatibility 6 |
7 | 8 |Lots of extra output
4 |5 | This options causes a huge amount of internal information to be logged to the console output. Really only 6 | useful for technical debugging or if you are truely curious about what's happening behind the scenes. For 7 | instance this option will output all SQL Statements that are used internally. 8 |
9 | 10 |Limit Console Output Detail
4 |5 | Use this option to limit the output from all commands. Primarily used from the terminal/cli in order to 6 | script commands more easily. Has little impact on the browser base UI. 7 |
8 | 9 |Keep Source Table Path
4 |5 | This option overides all connection file logic. So instead of using a .env, default-env.json, or 6 | default-env-admin.json file, the conneciton logic will use any environment file you specify here. File must 7 | exist in the original directory where you triggered the hana-cli command or in up to 4 parent directories. 8 |
9 | 10 |Target Folder for Conversion Output
4 |5 | This is the target folder for output of the conversion. Remember this folder is relative to the start of the 6 | hana-cli command from the terminal. It defaults to the same folder where you started the command. 7 |
8 | 9 |Limit Number of Tables to Convert
4 |5 | To avoid accidentally exporting extremely large number of tables from schemas accidentally, we set the 6 | default limit to 200. Override it here if you know you want more results than that. 7 |
8 | 9 |Add Custom Namespace to Output
4 |5 | Although namespace is largely unneeded in HANA HDI, it is still supported for backwards compatibility. By 6 | default we will not convert objects to include namespaces, but you can override that setting and supply the 7 | custom namespace with this option. 8 |
9 | 10 |Filename to Store Synonyms
4 |5 | The tool will automatically also generate synononyms for the conversion. Use this option to simply override 6 | the filename where the synonyms will be written to. 7 |
8 | 9 |Command Output Is Streamed Here
4 |5 | Once you start the conversion, all output will be streamed here. You can check the progress of the conversion in real time. 6 |
7 |Target Database Schema
4 |5 | This should be the name of the schema with in the target system where you want to extract table definitions. 6 | You can use the special value **CURRENT_SCHEMA**, and the tool will calculation your current default schema 7 | (and display it in the next field). 8 | This option can be useful when working with HDI containers in particular since you wouldn't know the 9 | generated schema but the HDI container connnection will default to the correct schema. 10 |
11 |12 | You can also set the value to *, and the value help will display all tables. 13 |
14 |Target Database Table
4 |5 | This should be the name of the Table with in the target system where you want to extract table definitions. 6 | You can supply just a partial name and a wildcard will be applied to the end of the table name automatically. 7 |
8 |9 | You can also set the value to *, and the value help will display all tables. 10 |
11 |