Remove monkey patch and profile destination
This commit is contained in:
@@ -2,6 +2,7 @@ const deploy = require("@sap/cds/lib/deploy");
|
|||||||
|
|
||||||
// TODO: https://github.wdf.sap.corp/cdx/cds/pull/1949
|
// TODO: https://github.wdf.sap.corp/cdx/cds/pull/1949
|
||||||
|
|
||||||
|
/*
|
||||||
const DEBUG = (...args) => console.log(...args);
|
const DEBUG = (...args) => console.log(...args);
|
||||||
|
|
||||||
deploy.exclude_external_entities_in = function (csn, _bound) {
|
deploy.exclude_external_entities_in = function (csn, _bound) {
|
||||||
@@ -36,3 +37,5 @@ deploy.exclude_external_entities_in = function (csn, _bound) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
*/
|
||||||
@@ -15,12 +15,13 @@
|
|||||||
},
|
},
|
||||||
"cds": {
|
"cds": {
|
||||||
"requires": {
|
"requires": {
|
||||||
"API_BUSINESS_PARTNER": {
|
"[with-destination]": {
|
||||||
"kind": "odata",
|
"API_BUSINESS_PARTNER": {
|
||||||
"model": "srv/external/API_BUSINESS_PARTNER",
|
"kind": "odata",
|
||||||
"credentials": {
|
"model": "srv/external/API_BUSINESS_PARTNER",
|
||||||
"destination": "blub",
|
"credentials": {
|
||||||
"url": "http://localhost:3333"
|
"destination": "<change to destination>"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"[development]": {
|
"[development]": {
|
||||||
|
|||||||
Reference in New Issue
Block a user