@sap-ux/odata-service-inquirer 0.5.30 → 0.5.31
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.
|
@@ -133,7 +133,7 @@ class ErrorHandler {
|
|
|
133
133
|
[ERROR_TYPE.DESTINATION_BAD_GATEWAY_503]: (0, i18n_1.t)('errors.destinationUnavailable'),
|
|
134
134
|
[ERROR_TYPE.REDIRECT]: (0, i18n_1.t)('errors.redirectError'),
|
|
135
135
|
[ERROR_TYPE.NO_SUCH_HOST]: (0, i18n_1.t)('errors.noSuchHostError'),
|
|
136
|
-
[ERROR_TYPE.NO_ABAP_ENVS]: (0, i18n_1.t)('
|
|
136
|
+
[ERROR_TYPE.NO_ABAP_ENVS]: (0, i18n_1.t)('errors.abapEnvsUnavailable')
|
|
137
137
|
});
|
|
138
138
|
/**
|
|
139
139
|
* Get the Guided Answers (help) node for the specified error type.
|
|
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.getCFDiscoverPrompts = exports.getAbapOnBTPSystemQuestions = void 0;
|
|
7
|
-
const yeoman_ui_types_1 = require("@sap-devx/yeoman-ui-types");
|
|
8
7
|
const inquirer_common_1 = require("@sap-ux/inquirer-common");
|
|
9
8
|
const cf_tools_1 = require("@sap/cf-tools");
|
|
10
9
|
const error_handler_1 = require("../../../../error-handler/error-handler");
|
|
@@ -147,18 +146,13 @@ function getCFDiscoverPrompts(connectionValidator) {
|
|
|
147
146
|
if (abapService) {
|
|
148
147
|
return await validateServiceInfo(abapService, connectionValidator);
|
|
149
148
|
}
|
|
150
|
-
return false;
|
|
151
|
-
},
|
|
152
|
-
additionalMessages: () => {
|
|
153
149
|
const errorType = prompt_helpers_1.errorHandler.getCurrentErrorType();
|
|
154
150
|
if (errorType === error_handler_1.ERROR_TYPE.NO_ABAP_ENVS) {
|
|
155
151
|
const errorMsg = prompt_helpers_1.errorHandler.getErrorMsg(true);
|
|
156
152
|
const seeLogMsg = (0, i18n_1.t)('texts.seeLogForDetails');
|
|
157
|
-
return {
|
|
158
|
-
message: `${errorMsg} ${seeLogMsg}`,
|
|
159
|
-
severity: yeoman_ui_types_1.Severity.warning
|
|
160
|
-
};
|
|
153
|
+
return `${errorMsg} ${seeLogMsg}`;
|
|
161
154
|
}
|
|
155
|
+
return false;
|
|
162
156
|
}
|
|
163
157
|
}
|
|
164
158
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/odata-service-inquirer",
|
|
3
3
|
"description": "Prompts module that can prompt users for inputs required for odata service writing",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.31",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"@sap-ux/axios-extension": "1.16.5",
|
|
30
30
|
"@sap-ux/btp-utils": "0.15.2",
|
|
31
31
|
"@sap-ux/guided-answers-helper": "0.0.1",
|
|
32
|
-
"@sap-ux/telemetry": "0.5.
|
|
32
|
+
"@sap-ux/telemetry": "0.5.25",
|
|
33
33
|
"@sap-ux/inquirer-common": "0.4.6",
|
|
34
34
|
"@sap-ux/logger": "0.6.0",
|
|
35
|
-
"@sap-ux/project-access": "1.26.
|
|
35
|
+
"@sap-ux/project-access": "1.26.9",
|
|
36
36
|
"@sap-ux/project-input-validator": "0.3.3",
|
|
37
37
|
"@sap-ux/store": "0.9.1"
|
|
38
38
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@types/lodash": "4.14.202",
|
|
44
44
|
"jest-extended": "3.2.4",
|
|
45
45
|
"lodash": "4.17.21",
|
|
46
|
-
"@sap-ux/odata-service-writer": "0.22.
|
|
46
|
+
"@sap-ux/odata-service-writer": "0.22.4",
|
|
47
47
|
"@sap-ux/feature-toggle": "0.2.0"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|