-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
versions, kyma cli, btp operator, ...
- Loading branch information
1 parent
cff289a
commit 9ca776c
Showing
36 changed files
with
239 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Metering Dashboard UI | ||
# Day2 UI | ||
|
||
## How to Run the Service | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:14 | ||
FROM --platform=linux/amd64 node:20 | ||
|
||
WORKDIR /app | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM maven:3-openjdk-17-slim as BUILDER | ||
FROM --platform=linux/amd64 maven:3-openjdk-17-slim as BUILDER | ||
WORKDIR /opt/app | ||
COPY code/easyfranchise/source/backend/bp-service/pom.xml bp-service/pom.xml | ||
COPY code/easyfranchise/source/backend/db-service/pom.xml db-service/pom.xml | ||
|
@@ -12,7 +12,7 @@ COPY code/easyfranchise/source/backend/db-service/src /opt/app/db-service/src | |
RUN mvn clean install -DskipTests=true | ||
|
||
# At this point, BUILDER stage should have your .jar or whatever in some path | ||
FROM sapmachine:16 as production-stage | ||
FROM --platform=linux/amd64 sapmachine:latest as production-stage | ||
LABEL maintainer="[email protected]" | ||
WORKDIR /opt/app | ||
COPY --from=BUILDER /opt/app/bp-service/target/bp-service.jar /opt/app/bp-service.jar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:14 | ||
FROM --platform=linux/amd64 node:14 | ||
|
||
EXPOSE 3002 | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
code/easyfranchise/deployment/docker/Dockerfile-business-partner-mock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:latest | ||
FROM --platform=linux/amd64 node:latest | ||
|
||
EXPOSE 8081 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM maven:3-openjdk-17-slim as BUILDER | ||
FROM --platform=linux/amd64 maven:3-openjdk-17-slim as BUILDER | ||
WORKDIR /opt/app | ||
COPY code/easyfranchise/source/backend/bp-service/pom.xml bp-service/pom.xml | ||
COPY code/easyfranchise/source/backend/db-service/pom.xml db-service/pom.xml | ||
|
@@ -11,13 +11,11 @@ COPY code/easyfranchise/source/backend/ef-service/src /opt/app/ef-service/src | |
COPY code/easyfranchise/source/backend/db-service/src /opt/app/db-service/src | ||
RUN mvn clean install -DskipTests=true | ||
|
||
FROM sapmachine:16 as production-stage | ||
FROM --platform=linux/amd64 sapmachine:latest as production-stage | ||
LABEL maintainer="[email protected]" | ||
WORKDIR /opt/app | ||
COPY --from=BUILDER /opt/app/db-service/target/db-service.jar /opt/app/db-service.jar | ||
COPY --from=BUILDER /opt/app/db-service/target/dependency/* /opt/app/ | ||
ENV JAVA_OPTS="" | ||
EXPOSE 8080 | ||
EXPOSE 9999 | ||
|
||
CMD ["java", "-Dcom.sun.management.jmxremote.port=9999", "-Dcom.sun.management.jmxremote.authenticate=false", "-Dcom.sun.management.jmxremote.ssl=false", "-cp", "/opt/app/*", "dev.kyma.samples.easyfranchise.ServerApp", "8080"] | ||
CMD ["java", "-cp", "/opt/app/*", "dev.kyma.samples.easyfranchise.ServerApp", "8080"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM maven:3-openjdk-17-slim as BUILDER | ||
FROM --platform=linux/amd64 maven:3-openjdk-17-slim as BUILDER | ||
WORKDIR /opt/app | ||
COPY code/easyfranchise/source/backend/bp-service/pom.xml bp-service/pom.xml | ||
COPY code/easyfranchise/source/backend/db-service/pom.xml db-service/pom.xml | ||
|
@@ -11,7 +11,7 @@ COPY code/easyfranchise/source/backend/ef-service/src /opt/app/ef-service/src | |
COPY code/easyfranchise/source/backend/db-service/src /opt/app/db-service/src | ||
RUN mvn clean install -DskipTests=true | ||
|
||
FROM sapmachine:16 as production-stage | ||
FROM --platform=linux/amd64 sapmachine:latest as production-stage | ||
LABEL maintainer="[email protected]" | ||
WORKDIR /opt/app | ||
COPY --from=BUILDER /opt/app/ef-service/target/ef-service.jar /opt/app/ef-service.jar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:latest | ||
FROM --platform=linux/amd64 node:latest | ||
|
||
EXPOSE 3002 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# build stage | ||
FROM node:14-alpine as build-stage | ||
FROM --platform=linux/amd64 node:14-alpine as build-stage | ||
WORKDIR /app | ||
COPY code/easyfranchise/source/ui/package*.json ./ | ||
RUN npm install | ||
COPY code/easyfranchise/source/ui/. . | ||
RUN npm run build | ||
|
||
# production stage | ||
FROM nginx:stable-alpine as production-stage | ||
FROM --platform=linux/amd64 nginx:stable-alpine as production-stage | ||
COPY --from=build-stage /app/resources /usr/share/nginx/html | ||
EXPOSE 80 | ||
CMD ["nginx", "-g", "daemon off;"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Easy Franchise Components | ||
|
||
This section contains all components that are needed to run the Easy Franchise application. | ||
|
||
- [backend](backend): JAVA-based backend services that manage database, SAP S/4HANA Cloud system and the logic of the application | ||
- [Database Service](backend/db-service) | ||
- [Business Partner Service](backend/bp-service) | ||
- [Easy Franchise Service](backend/ef-service) | ||
- [email-service](email-service): node.js-based service that sends notifications | ||
- [ui](ui): vue.js-based user interface | ||
- [Approuter](approuter): node.js-based application router for authorization and authentication | ||
- [broker](broker): service that onboards/offboards new customers of the multitenant application | ||
- [business-partner-mock-server](business-partner-mock-server): service to simulate an SAP S/4HANA Cloud system if not available | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Easy Franchise Approuter | ||
|
||
Please refer to [documentation](/documentation/explore/approuter/README.md) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Easy Franchise Backend | ||
|
||
Please refer to [documentation](/documentation/explore/README.md) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Broker | ||
|
||
Please refer to [documentation](/documentation/explore/broker/README.md) for more details. |
3 changes: 3 additions & 0 deletions
3
code/easyfranchise/source/business-partner-mock-server/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# SAP Business Partner Mock Server | ||
|
||
Please refer to [documentation](/documentation/appendix/business-partner-mock) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Email Service | ||
|
||
Please refer to [documentation](/documentation/explore/email-service/README.md) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Easy Franchise Backend | ||
|
||
Please refer to [documentation](/documentation/explore/ui/README.md) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ module.exports = { | |
devServer: { | ||
host: '0.0.0.0', | ||
hot: true, | ||
allowedHosts: "all", | ||
allowedHosts: ['all'], | ||
}, | ||
}; |
Oops, something went wrong.