@sap-ux/deploy-tooling 0.6.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cli/config.js +4 -5
- package/dist/cli/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ Options:
|
|
|
67
67
|
--create-transport Create a transport request during deployment
|
|
68
68
|
--transport <transport-request> Transport number to record the change in the ABAP system
|
|
69
69
|
--name <bsp-name> Project name of the app
|
|
70
|
-
--strict-ssl
|
|
70
|
+
--no-strict-ssl Deactivate SSL certificate validation, enabled by default
|
|
71
71
|
--test Run in test mode. ABAP backend reports deployment errors without actually deploying. (use --no-test to deactivate it)
|
|
72
72
|
--package <abap-package> Package name for deploy target ABAP system
|
|
73
73
|
--description <description> Project description of the app
|
|
@@ -102,7 +102,7 @@ Options:
|
|
|
102
102
|
--password ABAP Service password
|
|
103
103
|
--transport <transport-request> Transport number to record the change in the ABAP system
|
|
104
104
|
--name <bsp-name> Project name of the app
|
|
105
|
-
--strict-ssl
|
|
105
|
+
--no-strict-ssl Deactivate SSL certificate validation, enabled by default
|
|
106
106
|
--test Run in test mode. ABAP backend reports undeployment errors without actually undeploying (use --no-test to deactivate it).
|
|
107
107
|
-v, --version version of the deploy tooling
|
|
108
108
|
-h, --help display help for command
|
package/dist/cli/config.js
CHANGED
|
@@ -146,18 +146,17 @@ function mergeTarget(baseTarget, options) {
|
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* Merge CLI
|
|
149
|
+
* Merge CLI credentials.
|
|
150
150
|
*
|
|
151
151
|
* @param taskConfig - base configuration from the file
|
|
152
152
|
* @param options - CLI options
|
|
153
153
|
* @returns merged credentials
|
|
154
154
|
*/
|
|
155
155
|
function mergeCredentials(taskConfig, options) {
|
|
156
|
-
var _a, _b
|
|
156
|
+
var _a, _b;
|
|
157
157
|
let credentials = taskConfig.credentials;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
credentials = Object.assign(Object.assign({}, (credentials !== null && credentials !== void 0 ? credentials : {})), { username: (_b = (_a = options.username) !== null && _a !== void 0 ? _a : process.env.SERVICE_USERNAME) !== null && _b !== void 0 ? _b : '', password: (_d = (_c = options.password) !== null && _c !== void 0 ? _c : process.env.SERVICE_PASSWORD) !== null && _d !== void 0 ? _d : '' });
|
|
158
|
+
if (options.username || options.password) {
|
|
159
|
+
credentials = Object.assign(Object.assign({}, (credentials !== null && credentials !== void 0 ? credentials : {})), { username: (_a = options.username) !== null && _a !== void 0 ? _a : '', password: (_b = options.password) !== null && _b !== void 0 ? _b : '' });
|
|
161
160
|
}
|
|
162
161
|
return credentials;
|
|
163
162
|
}
|
package/dist/cli/index.js
CHANGED
|
@@ -50,7 +50,7 @@ function createCommand(name) {
|
|
|
50
50
|
'destination'
|
|
51
51
|
]))
|
|
52
52
|
.option('--name <bsp-name>', 'Project name of the app')
|
|
53
|
-
.option('--strict-ssl', '
|
|
53
|
+
.option('--no-strict-ssl', 'Deactivate certificate validation', true)
|
|
54
54
|
.option('--query-params <param1=value¶m2=value>', 'Additional parameters that are to be added to calls to the target.')
|
|
55
55
|
.option('--test', `Run in test mode. ABAP backend reports ${name}ment errors without actually ${name}ing (use --no-test to deactivate it).`);
|
|
56
56
|
if (name === 'deploy') {
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Adeploy-tooling"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.
|
|
12
|
+
"version": "0.7.1",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|