Skip to content

Commit e5014e8

Browse files
committed
Merge remote-tracking branch 'origin/main' into openapi/allowlist-apis-and-models
2 parents f85e2e8 + b2c9355 commit e5014e8

File tree

2,082 files changed

+5440
-9215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,082 files changed

+5440
-9215
lines changed

.github/workflows/perform-release.yml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ jobs:
2121
prerequisites:
2222
name: "Prerequisites"
2323
outputs:
24-
release-version: ${{ steps.determine-branch-names.outputs.RELEASE_VERSION }}
25-
release-tag: ${{ steps.determine-branch-names.outputs.RELEASE_TAG }}
2624
code-branch: ${{ steps.determine-branch-names.outputs.CODE_BRANCH_NAME }}
2725
docs-branch: ${{ steps.determine-branch-names.outputs.DOCS_BRANCH_NAME }}
2826
release-notes-branch: ${{ steps.determine-branch-names.outputs.RELEASE_NOTES_BRANCH_NAME }}
27+
release-tag: ${{ steps.determine-branch-names.outputs.RELEASE_TAG }}
2928
release-commit: ${{ steps.determine-branch-names.outputs.RELEASE_COMMIT }}
3029
permissions:
3130
pull-requests: read
@@ -35,29 +34,17 @@ jobs:
3534
- name: "Determine Branch Names"
3635
id: determine-branch-names
3736
run: |
38-
if [[ "${{ github.event_name }}" == "pull_request_review" ]]; then
39-
echo "[DEBUG] Taking branch name from pull request event"
40-
BRANCH_NAME=${{ github.event.pull_request.head.ref }}
41-
elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
42-
echo "[DEBUG] Taking branch name from workflow dispatch event"
43-
BRANCH_NAME=$(gh pr view ${{ github.event.inputs.release_pr_number }} --repo "${{ github.repository }}" --json headRefName | jq -r '.headRefName')
44-
else
45-
echo "Cannot determine branch name from event '${{ github.event_name }}'"
46-
exit 1
47-
fi
48-
49-
RELEASE_VERSION=$(echo "$BRANCH_NAME" | cut -d '-' -f2)
50-
DOCS_BRANCH=java/release-docs-$RELEASE_VERSION
51-
RELEASE_NOTES_BRANCH=java/release-notes-$RELEASE_VERSION
37+
CODE_BRANCH_NAME=$(gh pr view ${{github.event.inputs.release_pr_number}} --repo ${{github.repository}} --json headRefName --jq '.headRefName')
38+
RELEASE_VERSION=$(echo $CODE_BRANCH_NAME | cut -d '-' -f2)
39+
RELEASE_TAG=rel/$RELEASE_VERSION
40+
RELEASE_COMMIT=$(gh release view $RELEASE_TAG --repo ${{github.repository}} --json targetCommitish --jq '.targetCommitish')
5241
42+
echo "CODE_BRANCH_NAME=$CODE_BRANCH_NAME" >> $GITHUB_OUTPUT
5343
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_OUTPUT
54-
echo "RELEASE_TAG=rel/$RELEASE_VERSION" >> $GITHUB_OUTPUT
55-
echo "CODE_BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_OUTPUT
56-
echo "DOCS_BRANCH_NAME=$DOCS_BRANCH" >> $GITHUB_OUTPUT
57-
echo "RELEASE_NOTES_BRANCH_NAME=$RELEASE_NOTES_BRANCH" >> $GITHUB_OUTPUT
58-
echo "RELEASE_COMMIT=$(gh release view "$RELEASE_TAG" --repo "${{ github.repository }}" --json targetCommitish | jq -r '.targetCommitish')" >> $GITHUB_OUTPUT
44+
echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_OUTPUT
45+
echo "RELEASE_COMMIT=$RELEASE_COMMIT" >> $GITHUB_OUTPUT
5946
60-
echo "[DEBUG] Current GITHUB_OUTPUT: '$(cat $GITHUB_OUTPUT)'"
47+
echo -e "[DEBUG] Current GITHUB_OUTPUT:\n$(cat $GITHUB_OUTPUT)"
6148
env:
6249
GH_TOKEN: ${{ github.token }}
6350

README.md

Lines changed: 2 additions & 2 deletions

REUSE.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SPDX-PackageComment = "The code in this project may include calls to APIs (\"API
77
[[annotations]]
88
path = "**"
99
precedence = "aggregate"
10-
SPDX-FileCopyrightText = "2024 SAP SE or an SAP affiliate company and cloud-sdk-java"
10+
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and cloud-sdk-java"
1111
SPDX-License-Identifier = "Apache-2.0"
1212

1313
[[annotations]]

archetypes/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.cloud.sdk</groupId>
66
<artifactId>sdk-parent</artifactId>
7-
<version>5.15.0-SNAPSHOT</version>
7+
<version>5.16.0-SNAPSHOT</version>
88
</parent>
99
<groupId>com.sap.cloud.sdk.archetypes</groupId>
1010
<artifactId>archetypes-parent</artifactId>

archetypes/spring-boot3/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.cloud.sdk.archetypes</groupId>
66
<artifactId>archetypes-parent</artifactId>
7-
<version>5.15.0-SNAPSHOT</version>
7+
<version>5.16.0-SNAPSHOT</version>
88
</parent>
99
<artifactId>spring-boot3</artifactId>
1010
<packaging>maven-archetype</packaging>

archetypes/spring-boot3/src/main/resources/archetype-resources/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<spring-boot.version>3.3.0</spring-boot.version>
1616

1717
<java.version>17</java.version>
18-
<cloud-sdk.version>5.15.0-SNAPSHOT</cloud-sdk.version>
18+
<cloud-sdk.version>5.16.0-SNAPSHOT</cloud-sdk.version>
1919

2020
<maven.compiler.source>${java.version}</maven.compiler.source>
2121
<maven.compiler.target>${java.version}</maven.compiler.target>

cloudplatform/caching/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.cloud.sdk.cloudplatform</groupId>
66
<artifactId>cloudplatform-parent</artifactId>
7-
<version>5.15.0-SNAPSHOT</version>
7+
<version>5.16.0-SNAPSHOT</version>
88
</parent>
99
<artifactId>caching</artifactId>
1010
<name>Business Technology Platform - Caching</name>

cloudplatform/caching/src/main/java/com/sap/cloud/sdk/cloudplatform/cache/CacheKey.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3-
*/
4-
51
package com.sap.cloud.sdk.cloudplatform.cache;
62

73
import java.util.ArrayList;

cloudplatform/caching/src/main/java/com/sap/cloud/sdk/cloudplatform/cache/CacheManager.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3-
*/
4-
51
package com.sap.cloud.sdk.cloudplatform.cache;
62

73
import java.util.ArrayList;

cloudplatform/caching/src/main/java/com/sap/cloud/sdk/cloudplatform/cache/CacheRuntimeException.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/*
2-
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3-
*/
4-
51
package com.sap.cloud.sdk.cloudplatform.cache;
62

73
import javax.annotation.Nonnull;

0 commit comments

Comments
 (0)