diff --git a/img.png b/.github/assets/img.png similarity index 100% rename from img.png rename to .github/assets/img.png diff --git a/deployment/kyma/scripts/build-ui-image.sh b/.github/deployment/kyma/scripts/build-ui-image.sh similarity index 98% rename from deployment/kyma/scripts/build-ui-image.sh rename to .github/deployment/kyma/scripts/build-ui-image.sh index 494cde41..96605799 100755 --- a/deployment/kyma/scripts/build-ui-image.sh +++ b/.github/deployment/kyma/scripts/build-ui-image.sh @@ -2,7 +2,7 @@ set -e cd "$(dirname "$(npm root)")" -DIR="$(pwd)" +DIR="$(pwd)/.github" npm install --no-save yaml diff --git a/deployment/kyma/scripts/create-container-registry-secret.sh b/.github/deployment/kyma/scripts/create-container-registry-secret.sh similarity index 100% rename from deployment/kyma/scripts/create-container-registry-secret.sh rename to .github/deployment/kyma/scripts/create-container-registry-secret.sh diff --git a/deployment/kyma/scripts/create-db-secret.sh b/.github/deployment/kyma/scripts/create-db-secret.sh similarity index 100% rename from deployment/kyma/scripts/create-db-secret.sh rename to .github/deployment/kyma/scripts/create-db-secret.sh diff --git a/deployment/kyma/scripts/format-kyma-secret.js b/.github/deployment/kyma/scripts/format-kyma-secret.js similarity index 100% rename from deployment/kyma/scripts/format-kyma-secret.js rename to .github/deployment/kyma/scripts/format-kyma-secret.js diff --git a/deployment/kyma/scripts/prepareUiFiles.js b/.github/deployment/kyma/scripts/prepareUiFiles.js similarity index 100% rename from deployment/kyma/scripts/prepareUiFiles.js rename to .github/deployment/kyma/scripts/prepareUiFiles.js diff --git a/deployment/kyma/scripts/value.js b/.github/deployment/kyma/scripts/value.js similarity index 100% rename from deployment/kyma/scripts/value.js rename to .github/deployment/kyma/scripts/value.js diff --git a/deployment/kyma/scripts/values.sh b/.github/deployment/kyma/scripts/values.sh similarity index 100% rename from deployment/kyma/scripts/values.sh rename to .github/deployment/kyma/scripts/values.sh diff --git a/README-Kyma-Runtime.md b/README-Kyma.md similarity index 97% rename from README-Kyma-Runtime.md rename to README-Kyma.md index 2f36c5b1..4fdd1d46 100644 --- a/README-Kyma-Runtime.md +++ b/README-Kyma.md @@ -57,7 +57,7 @@ cds add html5-repo Create a secret `container-registry` with credentials to access the container registry: ``` -bash deployment/kyma/scripts/create-container-registry-secret.sh +bash .github/deployment/kyma/scripts/create-container-registry-secret.sh ``` The *Docker Server* is the full-qualified hostname of your container registry. @@ -67,7 +67,7 @@ The *Docker Server* is the full-qualified hostname of your container registry. This step is only required if you're using a BTP Trial account. If you're using a production or a free tier account then you can create HDI Container from Kyma directly by adding a [mapping to your Kyma namespace in your HANA Cloud Instance](https://blogs.sap.com/2022/12/15/consuming-sap-hana-cloud-from-the-kyma-environment/) and skip this step. ``` -bash deployment/kyma/scripts/create-db-secret.sh sflight-db +bash .github/deployment/kyma/scripts/create-db-secret.sh sflight-db ``` It will create a HDI container `sflight-db` instance on your currently targeted Cloud Foundry space and creates a secret `sflight-db` with the credentials in your current Kubernetes namespace. @@ -112,7 +112,7 @@ html5-apps-deployer: ``` 4. Add backend destinations required by HTML5 Apps Deployer. - + ```diff - backendDestinations: {} + backendDestinations: @@ -199,7 +199,7 @@ pack build $YOUR_CONTAINER_REGISTRY/sflight-srv \ ## Build HTML5 application deployer image ``` -bash deployment/kyma/scripts/build-ui-image.sh +bash .github/deployment/kyma/scripts/build-ui-image.sh ``` ## Push docker images diff --git a/README.md b/README.md index 86c913f2..d1dc890f 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,14 @@ The purpose of this sample app is to: * Demonstrate and compare SAP Fiori features on various stacks (CAP Node.js, CAP Java SDK, ABAP) * Run UI test suites on various stacks -![Process Travels Page](img.png) +![Process Travels Page](.github/assets/img.png) The app still contains some workarounds that are going to be addressed over time. In some cases, the model and the handlers can be improved or simplified once further planned CAP features become available. In other cases, the app itself could be improved. For example, calculation of the total price for a travel currently simply sums up the single prices ignoring the currencies. -> For enabling all features of the Analytical List Page (ALP) in the Node.js runtime, we have switched on the new OData parser +> For enabling all features of the Analytical List Page (ALP) in the Node.js runtime, we have switched on the new OData parser (`odata_new_parser: true` in `package.json`), which is still in an **experimental state**. Early adopters may use this feature in own projects on their own risk. You can also use the ALP with the standard OData parser, but then some features like grouping in the table are not available. @@ -141,7 +141,7 @@ that HDI container are stored locally on your filesystem (default-env.json). ## Deployment to SAP Business Technology Platform - Kyma Runtime -The deployment to Kyma Runtime is explained in file [README-Kyma-Runtime.md](./README-Kyma-Runtime.md). +The deployment to Kyma Runtime is explained in file [README-Kyma.md](./README-Kyma.md). ## Creating an SAP Fiori App from Scratch