Remove monkey patch and profile destination

This commit is contained in:
Uwe Klinger
2021-05-19 10:22:52 +02:00
parent fb5d00bbe0
commit 254bb40e38
2 changed files with 10 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ const deploy = require("@sap/cds/lib/deploy");
// TODO: https://github.wdf.sap.corp/cdx/cds/pull/1949
/*
const DEBUG = (...args) => console.log(...args);
deploy.exclude_external_entities_in = function (csn, _bound) {
@@ -36,3 +37,5 @@ deploy.exclude_external_entities_in = function (csn, _bound) {
}
}
};
*/

View File

@@ -15,12 +15,13 @@
},
"cds": {
"requires": {
"API_BUSINESS_PARTNER": {
"kind": "odata",
"model": "srv/external/API_BUSINESS_PARTNER",
"credentials": {
"destination": "blub",
"url": "http://localhost:3333"
"[with-destination]": {
"API_BUSINESS_PARTNER": {
"kind": "odata",
"model": "srv/external/API_BUSINESS_PARTNER",
"credentials": {
"destination": "<change to destination>"
}
}
},
"[development]": {