Skip to content

Commit 269a196

Browse files
committed
Updated Starter Template
1 parent ccd421a commit 269a196

11 files changed

+8580
-16744
lines changed

.eslintrc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"extends": "eslint:recommended",
3+
"env": {
4+
"es2022": true,
5+
"node": true,
6+
"jest": true,
7+
"mocha": true
8+
},
9+
"globals": {
10+
"SELECT": true,
11+
"INSERT": true,
12+
"UPSERT": true,
13+
"UPDATE": true,
14+
"DELETE": true,
15+
"CREATE": true,
16+
"DROP": true,
17+
"CDL": true,
18+
"CQL": true,
19+
"CXL": true,
20+
"cds": true
21+
},
22+
"rules": {
23+
"no-console": "off",
24+
"require-atomic-updates": "off"
25+
}
26+
}

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mta_archives/
2727
*.flattened-pom.xml
2828

2929
# IDEs
30-
.vscode/
31-
.idea
30+
# .vscode
31+
# .idea
3232

3333
.env

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"files.exclude": {
3+
"**/.github": true,
4+
"**/.reuse": true,
5+
"**/.vscode": true,
6+
"LICENSES": true
7+
}
8+
}
9+

app/launchpad.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
5+
<meta charset="UTF-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Risk Management</title>
8+
<script>
9+
window['sap-ushell-config'] = {
10+
defaultRenderer: 'fiori2',
11+
applications: {
12+
"risk-management": {
13+
title: 'Risk-Management',
14+
description: 'Risks',
15+
applicationType: 'URL',
16+
url: "./risk-management/webapp",
17+
navigationMode: 'embedded'
18+
}
19+
}
20+
}
21+
</script>
22+
<script src="https://ui5.sap.com/test-resources/sap/ushell/bootstrap/sandbox.js"></script>
23+
<script
24+
src="https://ui5.sap.com/resources/sap-ui-core.js"
25+
data-sap-ui-libs="sap.m, sap.ushell, sap.fe.templates"
26+
data-sap-ui-compatVersion="edge"
27+
data-sap-ui-theme="sap_fiori_3"
28+
data-sap-ui-frameOptions="allow"
29+
data-sap-ui-bindingSyntax="complex"
30+
></script>
31+
<script>
32+
sap.ui.getCore().attachInit(function() {
33+
sap.ushell.Container.createRenderer().placeAt('content');
34+
});
35+
</script>
36+
</head>
37+
<body class="sapUiBody" id="content"></body>
38+
</html>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
code;
2+
descr
3+
H;high
4+
M;medium
5+
L;low
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
locale,code,name,descr
2+
en,H,High,High
3+
en,M,Medium,Medium
4+
en,L,Low,Low
5+
de,H,High,High
6+
de,M,Medium,Medium
7+
de,L,Low,Low

db/data/riskmanagement-Risks.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ID;createdAt;createdBy;title;owner;prio;descr;miti_id;impact;
2-
20466922-7d57-4e76-b14c-e53fd97dcb11;2019-10-24;SYSTEM;CFR non-compliance;Fred Fish;3;Recent restructuring might violate CFR code 71;20466921-7d57-4e76-b14c-e53fd97dcb11;10000;
3-
20466922-7d57-4e76-b14c-e53fd97dcb12;2019-10-24;SYSTEM;SLA violation with possible termination cause;George Gung;2;Repeated SAL violation on service delivery for two successive quarters;20466921-7d57-4e76-b14c-e53fd97dcb12;90000;
4-
20466922-7d57-4e76-b14c-e53fd97dcb13;2019-10-24;SYSTEM;Shipment violating export control;Herbert Hunter;1;Violation of export and trade control with unauthorized downloads;20466921-7d57-4e76-b14c-e53fd97dcb13;200000;
1+
ID;createdAt;createdBy;title;owner;prio_code;descr;miti_ID;impact;
2+
20466922-7d57-4e76-b14c-e53fd97dcb11;2019-10-24;SYSTEM;CFR non-compliance;Fred Fish;H;Recent restructuring might violate CFR code 71;20466921-7d57-4e76-b14c-e53fd97dcb11;10000;
3+
20466922-7d57-4e76-b14c-e53fd97dcb12;2019-10-24;SYSTEM;SLA violation with possible termination cause;George Gung;M;Repeated SAL violation on service delivery for two successive quarters;20466921-7d57-4e76-b14c-e53fd97dcb12;90000;
4+
20466922-7d57-4e76-b14c-e53fd97dcb13;2019-10-24;SYSTEM;Shipment violating export control;Herbert Hunter;L;Violation of export and trade control with unauthorized downloads;20466921-7d57-4e76-b14c-e53fd97dcb13;200000;

0 commit comments

Comments
 (0)