Skip to content

Commit 533a6dd

Browse files
committed
Merge remote-tracking branch 'origin/main' into oneof
# Conflicts: # datamodel/openapi/openapi-api-sample/src/test/java/com/sap/cloud/sdk/datamodel/openapi/sample/api/OneOfDeserializationTest.java # datamodel/openapi/openapi-generator/src/main/resources/openapi-generator/mustache-templates/oneof_interface.mustache
2 parents 78ccbd3 + b2c9355 commit 533a6dd

File tree

69 files changed

+745
-126
lines changed

Some content is hidden

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

69 files changed

+745
-126
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

cloudplatform/connectivity-ztis/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
<dependency>
4343
<groupId>com.google.protobuf</groupId>
4444
<artifactId>protobuf-java</artifactId>
45-
<version>3.25.5</version>
45+
<version>3.25.6</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>io.grpc</groupId>
4949
<artifactId>grpc-bom</artifactId>
50-
<version>1.69.0</version>
50+
<version>1.70.0</version>
5151
<type>pom</type>
5252
<scope>import</scope>
5353
</dependency>

datamodel/odata-v4/odata-v4-core/src/main/java/com/sap/cloud/sdk/datamodel/odatav4/core/BatchRequestBuilder.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
* operations in one HTTP request.
3535
*/
3636
public class BatchRequestBuilder extends AbstractRequestBuilder<BatchRequestBuilder, BatchResponse>
37+
implements
38+
ModificationRequestBuilder<BatchResponse>
3739
{
3840
private final ODataRequestBatch delegate;
3941

@@ -125,12 +127,7 @@ public BatchRequestBuilder addChangeset( @Nonnull final ModificationRequestBuild
125127
return this;
126128
}
127129

128-
/**
129-
* Deactivates the CSRF token retrieval for this OData request. This is useful if the server does not support or
130-
* require CSRF tokens as part of the request.
131-
*
132-
* @return The same builder
133-
*/
130+
@Override
134131
@Nonnull
135132
public BatchRequestBuilder withoutCsrfToken()
136133
{

datamodel/openapi/openapi-api-sample/src/main/java/com/sap/cloud/sdk/datamodel/openapi/sample/model/AllOf.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* SodaStore API
77
* API for managing soda products and orders in SodaStore.
88
*
9-
* The version of the OpenAPI document: 1.0.0
109
*
1110
*
1211
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

datamodel/openapi/openapi-api-sample/src/main/java/com/sap/cloud/sdk/datamodel/openapi/sample/model/AnyOf.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* SodaStore API
77
* API for managing soda products and orders in SodaStore.
88
*
9-
* The version of the OpenAPI document: 1.0.0
109
*
1110
*
1211
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)