From 384a3fe91cbff3b1e709298804e6d38a191a19cb Mon Sep 17 00:00:00 2001 From: Steffen Waldmann Date: Tue, 16 Jun 2026 12:12:00 +0200 Subject: [PATCH 1/3] chore(ci): fix deployment --- .github/workflows/cf.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cf.yaml b/.github/workflows/cf.yaml index a655c83..140c9e2 100644 --- a/.github/workflows/cf.yaml +++ b/.github/workflows/cf.yaml @@ -1,6 +1,7 @@ name: Cloud Foundry on: + pull_request: workflow_call: inputs: environment: @@ -40,6 +41,7 @@ jobs: username: ${{ vars.CF_USERNAME }} password: ${{ secrets.CF_PASSWORD }} - run: npm install + - run: cd bookstore && npm add @sap-cloud-sdk/http-client@^4 - run: npx cds up - run: cf logs ${{ env.APP_NAME }} --recent From 7afb8d02b5d6dde72e3862d94a4f1e39bd2b0a70 Mon Sep 17 00:00:00 2001 From: Steffen Waldmann Date: Tue, 16 Jun 2026 12:46:34 +0200 Subject: [PATCH 2/3] Update xs-app.json --- .deploy/app-router/xs-app.json | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.deploy/app-router/xs-app.json b/.deploy/app-router/xs-app.json index 02a1f80..44c3abc 100644 --- a/.deploy/app-router/xs-app.json +++ b/.deploy/app-router/xs-app.json @@ -13,12 +13,6 @@ "destination": "bookstore-api", "csrfProtection": true }, - { - "source": "^/browse/(.*)$", - "target": "/browse/$1", - "destination": "bookstore-api", - "csrfProtection": true - }, { "source": "^/user/(.*)$", "target": "/user/$1", @@ -38,8 +32,8 @@ "csrfProtection": true }, { - "source": "^/rest/catalog/(.*)$", - "target": "/rest/catalog/$1", + "source": "^/rest/browse/(.*)$", + "target": "/rest/browse/$1", "destination": "bookstore-api", "csrfProtection": true }, From f1eae224cb8c103682046afd59afee24554ccd9a Mon Sep 17 00:00:00 2001 From: Steffen Waldmann Date: Tue, 16 Jun 2026 12:52:03 +0200 Subject: [PATCH 3/3] rm pr trigger --- .github/workflows/cf.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/cf.yaml b/.github/workflows/cf.yaml index 140c9e2..ecedcce 100644 --- a/.github/workflows/cf.yaml +++ b/.github/workflows/cf.yaml @@ -1,7 +1,6 @@ name: Cloud Foundry on: - pull_request: workflow_call: inputs: environment: