Skip to content

Commit f11a590

Browse files
committed
feat: odata v2 proxy add for ui enablement
1 parent 1afe16f commit f11a590

File tree

5 files changed

+2480
-14
lines changed

5 files changed

+2480
-14
lines changed

.vscode/launch.json

+115-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,123 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
2+
"inputs": [
3+
{
4+
"id": "UI5Version",
5+
"type": "command",
6+
"command": "sap.ux.appGenerator.ui5Version"
7+
}
8+
],
69
"configurations": [
710
{
811
"command": "cds run --with-mocks --in-memory?",
912
"name": "cds run",
1013
"request": "launch",
1114
"type": "node-terminal",
12-
"skipFiles": [ "<node_internals>/**" ]
15+
"skipFiles": [
16+
"<node_internals>/**"
17+
]
18+
},
19+
{
20+
"name": "Start orders",
21+
"type": "node",
22+
"request": "launch",
23+
"runtimeExecutable": "npm",
24+
"cwd": "/Users/aydogdumurat/Desktop/workspace/cap-auditlog/orders",
25+
"windows": {
26+
"runtimeExecutable": "npm.cmd"
27+
},
28+
"runtimeArgs": [
29+
"run-script",
30+
"start"
31+
],
32+
"console": "integratedTerminal",
33+
"internalConsoleOptions": "neverOpen",
34+
"port": 9229,
35+
"env": {
36+
"DEBUG": "--inspect"
37+
}
38+
},
39+
{
40+
"name": "Start orders with UI5 Version",
41+
"type": "node",
42+
"request": "launch",
43+
"runtimeExecutable": "npm",
44+
"cwd": "/Users/aydogdumurat/Desktop/workspace/cap-auditlog/orders",
45+
"windows": {
46+
"runtimeExecutable": "npm.cmd"
47+
},
48+
"runtimeArgs": [
49+
"run-script",
50+
"start"
51+
],
52+
"args": [
53+
"--",
54+
"${input:UI5Version}"
55+
],
56+
"console": "integratedTerminal",
57+
"internalConsoleOptions": "neverOpen",
58+
"port": 9229,
59+
"env": {
60+
"DEBUG": "--inspect"
61+
}
62+
},
63+
{
64+
"name": "Start orders Mock",
65+
"type": "node",
66+
"request": "launch",
67+
"cwd": "/Users/aydogdumurat/Desktop/workspace/cap-auditlog/orders",
68+
"runtimeExecutable": "npm",
69+
"windows": {
70+
"runtimeExecutable": "npm.cmd"
71+
},
72+
"runtimeArgs": [
73+
"run-script",
74+
"start-mock"
75+
],
76+
"console": "integratedTerminal",
77+
"internalConsoleOptions": "neverOpen",
78+
"port": 9229,
79+
"env": {}
80+
},
81+
{
82+
"name": "Start orders Mock with UI5 Version",
83+
"type": "node",
84+
"request": "launch",
85+
"cwd": "/Users/aydogdumurat/Desktop/workspace/cap-auditlog/orders",
86+
"runtimeExecutable": "npm",
87+
"windows": {
88+
"runtimeExecutable": "npm.cmd"
89+
},
90+
"runtimeArgs": [
91+
"run-script",
92+
"start-mock"
93+
],
94+
"args": [
95+
"--",
96+
"${input:UI5Version}"
97+
],
98+
"console": "integratedTerminal",
99+
"internalConsoleOptions": "neverOpen",
100+
"port": 9229
101+
},
102+
{
103+
"name": "Start orders Local",
104+
"type": "node",
105+
"request": "launch",
106+
"cwd": "/Users/aydogdumurat/Desktop/workspace/cap-auditlog/orders",
107+
"runtimeExecutable": "npm",
108+
"windows": {
109+
"runtimeExecutable": "npm.cmd"
110+
},
111+
"runtimeArgs": [
112+
"run-script",
113+
"start-local"
114+
],
115+
"console": "integratedTerminal",
116+
"internalConsoleOptions": "neverOpen",
117+
"port": 9229,
118+
"env": {}
13119
}
14-
]
15-
}
120+
],
121+
"compounds": [],
122+
"version": "0.2.0"
123+
}

db/model.cds

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ using {
99

1010

1111
entity Orders : cuid, managed {
12-
companyName : String(40);
13-
orderDate : Date;
14-
shipCountry : String;
15-
businessPartner : Association to one BusinessPartner;
16-
items : Composition of many Items
17-
on items.order = $self;
12+
companyName : String(40);
13+
orderDate : Date;
14+
shipCountry : String;
15+
businessPartner : Association to one BusinessPartner;
16+
items : Composition of many Items
17+
on items.order = $self;
1818
}
1919

2020
entity Items {

0 commit comments

Comments
 (0)