Skip to content

Commit

Permalink
Merge pull request #69 from skrishnan-sap/main
Browse files Browse the repository at this point in the history
use `@cap-js/hana`
  • Loading branch information
alperdedeoglu authored Oct 21, 2024
2 parents 98c48ba + 516e9fd commit 297d558
Show file tree
Hide file tree
Showing 11 changed files with 624 additions and 657 deletions.
2 changes: 1 addition & 1 deletion code/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ FROM runner AS db-com
WORKDIR /usr/src/app
COPY --chown=node:node --from=builder /usr/src/build/gen/db-com/ /usr/src/app/

CMD ["node", "node_modules/@sap/hdi-deploy/deploy.js"]
CMD ["node", "node_modules/@sap/hdi-deploy/deploy.js", "--use-hdb"]
7 changes: 0 additions & 7 deletions code/api/.cdsrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@
"multitenancy": false
},
"db": {
"[hybrid]": {
"kind": "hana-cloud",
"vcap": {
"label": "service-manager",
"plan": "container"
}
},
"[local-with-mtx]": {
"kind": "sqlite",
"credentials": {
Expand Down
1 change: 1 addition & 0 deletions code/api/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node: node
1 change: 0 additions & 1 deletion code/api/srv/.cdsrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"cds.xt.DeploymentService": false,
"cds.xt.SaasProvisioningService": false,
"db": {
"kind": "hana-cloud",
"vcap": {
"label": "service-manager",
"plan": "container"
Expand Down
14 changes: 13 additions & 1 deletion code/db/src/.hdiconfig
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,18 @@
},
"txt": {
"plugin_name": "com.sap.hana.di.copyonly"
},
"hdbafllangprocedure": {
"plugin_name": "com.sap.hana.di.afllangprocedure"
},
"hdbcollection": {
"plugin_name": "com.sap.hana.di.collection"
},
"hdbhadoopmrjob": {
"plugin_name": "com.sap.hana.di.virtualfunctionpackage.hadoop"
},
"hdbeshconfig": {
"plugin_name": "com.sap.hana.di.eshconfig"
}
}
}
}
6 changes: 4 additions & 2 deletions code/db/undeploy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[
"src/gen/**/*.hdbview",
"src/gen/**/*.hdbindex",
"src/gen/**/*.hdbconstraint"
]
"src/gen/**/*.hdbconstraint",
"src/gen/**/*_drafts.hdbtable",
"src/gen/**/*.hdbcalculationview"
]
Loading

0 comments on commit 297d558

Please sign in to comment.