Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
8d6f2c9
Initial
newtork Aug 9, 2024
2e28cc9
Added Contributing with AI-generated code (#594)
CharlesDuboisSAP Sep 24, 2024
4835e46
chore: Switch from error logging to exceptions (#363)
MatKuhr Sep 26, 2024
d407451
chore: [DevOps] bump the production-minor-patch group with 5 updates …
dependabot[bot] Sep 26, 2024
d1a73ea
Release 5.13.0 (#597)
bot-sdk-js Sep 27, 2024
b011827
chore: [DevOps] bump the test group with 8 updates (#600)
dependabot[bot] Sep 30, 2024
47e8f07
chore: [DevOps] bump org.apache.maven.plugins:maven-archetype-plugin …
dependabot[bot] Sep 30, 2024
5a8dd7c
chore: [DevOps] bump the production-minor-patch group across 1 direct…
dependabot[bot] Sep 30, 2024
1d61508
chore: bump org.apache.maven.plugins:maven-archetype-plugin from 3.2.…
dependabot[bot] Sep 30, 2024
5ac49f6
chore: [DevOps] bump the test group with 2 updates (#605)
dependabot[bot] Oct 7, 2024
165d69c
chore: [DevOps] bump the production-minor-patch group with 9 updates …
dependabot[bot] Oct 7, 2024
ccb905e
chore: [DevOps] bump the plugins group with 3 updates (#604)
dependabot[bot] Oct 8, 2024
01c3a54
chore: [DevOps] bump org.openapitools:openapi-generator from 7.8.0 to…
dependabot[bot] Oct 10, 2024
dad8416
chore: [DevOps] bump net.bytebuddy:byte-buddy from 1.15.3 to 1.15.4 i…
dependabot[bot] Oct 14, 2024
8a02b3e
chore: [DevOps] bump the production-minor-patch group with 4 updates …
dependabot[bot] Oct 14, 2024
a0a5ce7
chore: [DevOps] bump the test group with 3 updates (#614)
dependabot[bot] Oct 21, 2024
84fb0cb
chore: [DevOps] bump the production-minor-patch group with 4 updates …
dependabot[bot] Oct 21, 2024
52e98e3
[OpenAPI] Improve JavaDoc Generation for default constructor on model…
newtork Oct 25, 2024
d654162
chore: [DevOps] bump the test group with 2 updates (#619)
dependabot[bot] Oct 28, 2024
66f9722
chore: [DevOps] bump the plugins group with 5 updates (#618)
dependabot[bot] Oct 28, 2024
1a16b52
chore: [DevOps] bump the plugins group with 4 updates (#622)
dependabot[bot] Nov 4, 2024
e20a51d
chore: [DevOps] bump the test group with 5 updates (#623)
dependabot[bot] Nov 5, 2024
2f02494
[Stabilize] Remove `@Beta` annotation from Apache HttpClient 5 API (#…
newtork Nov 6, 2024
9e1dc2e
OpenAPI: Added AI SDK Constructors (#629)
CharlesDuboisSAP Nov 6, 2024
557431d
Added OpenAPI removeOperationIdPrefix test (#633)
CharlesDuboisSAP Nov 6, 2024
a07fb46
Make TLS/SSL version upgrade handling OPTIN for OnPremise (#631)
newtork Nov 8, 2024
9c9fbe7
Release 5.14.0 (#635)
bot-sdk-js Nov 8, 2024
9dd90d7
[Stabilize] Remove remaining `@Beta` annotation from OData v4/client/…
newtork Nov 11, 2024
b1066b8
[Stabilize] Remove `@Beta` annotation from RequestHeaderAccessor API …
newtork Nov 11, 2024
f94f577
Stabilized ServiceBinding classes (#636)
CharlesDuboisSAP Nov 12, 2024
ef0b4ff
Removed all @Beta annotations (#637)
CharlesDuboisSAP Nov 18, 2024
3878230
chore: [DevOps] bump com.github.spotbugs:spotbugs-maven-plugin from 4…
dependabot[bot] Nov 18, 2024
2fdd8c5
Extend Apache HttpClient 5 test assertions for actual headers (2) (#640)
newtork Nov 19, 2024
90cfec6
feat: [OData V4] TypeDefinition Support (#644)
MatKuhr Nov 19, 2024
eeff442
chore: [DevOps] Add Pretty Issue Templates (#651)
MatKuhr Nov 27, 2024
7e010e4
OpenAPI oneOf support (#647)
CharlesDuboisSAP Nov 27, 2024
c6a1b3f
chore: [DevOps] bump fsfe/reuse-action from 4.0.0 to 5.0.0 in the git…
dependabot[bot] Dec 2, 2024
62a9d45
chore: [DevOps] bump the test group with 4 updates (#655)
dependabot[bot] Dec 2, 2024
1a38936
Update Code Generator for AI SDK (#652)
MatKuhr Dec 9, 2024
1d21909
chore: [DevOps] bump org.apache.maven.plugins:maven-javadoc-plugin fr…
dependabot[bot] Dec 9, 2024
ae36154
chore: [DevOps] bump the production-minor-patch group across 1 direct…
dependabot[bot] Dec 9, 2024
67ecf24
feat: [OpenAPI] Improved OneOf Support (#657)
MatKuhr Dec 10, 2024
de1949a
Fix: TLS Upgrade config propagates to RestTemplate (#662)
CharlesDuboisSAP Dec 10, 2024
d18f085
Improve naming of secret in main-build-workflow. (#663)
Jonas-Isr Dec 10, 2024
4eacad5
chore: [DevOps] bump net.bytebuddy:byte-buddy from 1.15.10 to 1.15.11…
dependabot[bot] Dec 16, 2024
65ecf3f
Change field names
newtork Dec 17, 2024
a20019f
Merge branch 'main' into openapi/allowlist-apis-and-models
newtork Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
name: Bug Report
description: Released feature does not work as expected in the SAP Cloud SDK for Java.
labels:
- bug
body:
- type: markdown
attributes:
value: |
This repository is for Java related issues only. Please open [JavaScript / TypeScript issues here](https://github.com/SAP/cloud-sdk-js/issues/new/choose)
- type: textarea
attributes:
label: "Describe the Bug"
description: "A clear and concise description of what the bug is."
validations:
required: true
- type: textarea
attributes:
label: "Steps to Reproduce"
description: "Steps to reproduce the behavior."
placeholder: |
1. Set up ...
2. Execute ...
3. Confirm ...
4. See error
validations:
required: true
- type: textarea
attributes:
label: "Expected Behavior"
description: "A clear and concise description of what you expected to happen. In case of HTTP requests, a working Postman (or similar) request is very helpful."
validations:
required: true
- type: textarea
attributes:
label: "Screenshots"
description: "Add screenshots to help explain your problem."
validations:
required: false
- type: textarea
attributes:
label: "Used Versions"
description: "Provide versions used in the project."
value: |
- Java and Maven version via `mvn --version`: ...
- SAP Cloud SDK version: ...
- Spring Boot or CAP version: ...
- <details><summary>Dependency tree via `mvn dependency:tree`</summary>

```
Dependency tree here
```
</details>
validations:
required: true
- type: textarea
attributes:
label: "Code Examples"
description: "Add code snippets as examples to help explain your problem. Please remove sensitive information."
value: |
```java
// Your code here
```
validations:
required: false
- type: textarea
attributes:
label: "Stack Trace"
description: "Add your stack trace here. Please remove sensitive information."
validations:
required: false
- type: textarea
attributes:
label: "Log File"
description: "Add your log file or related error message. Please remove sensitive information."
value: |
<details><summary>Log file</summary>
...
</details>
validations:
required: false
- type: dropdown
attributes:
label: "Affected Development Phase"
description: "Choose the development phase affected by this issue."
multiple: false
options:
- Getting Started
- Development
- Release
- Production
validations:
required: true
- type: dropdown
attributes:
label: "Impact"
description: "Choose the impact severity."
multiple: false
options:
- No Impact
- Inconvenience
- Impaired
- Blocked
validations:
required: true
- type: textarea
attributes:
label: "Timeline"
description: "Please briefly state your timeline, e.g., Go-Live in 12 weeks."
validations:
required: false
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Feature Request
description: Request a new feature to help your project using the SAP Cloud SDK for Java.
labels:
- feature request
body:
- type: markdown
attributes:
value: |
This repository is for Java related issues only. Please open [JavaScript / TypeScript issues here](https://github.com/SAP/cloud-sdk-js/issues/new/choose)
- type: textarea
attributes:
label: "Describe the Problem"
description: "A clear and concise description of what the missing feature is"
validations:
required: true
- type: textarea
attributes:
label: "Propose a Solution"
description: "A clear and concise description of what you want to happen. In case of HTTP requests, a working Postman (or similar) request is very helpful."
validations:
required: true
- type: textarea
attributes:
label: "Describe Alternatives"
description: "A clear and concise description of any alternative solutions or features you've considered."
validations:
required: false
- type: dropdown
attributes:
label: "Affected Development Phase"
description: "Choose the development phase affected by this issue."
multiple: false
options:
- Getting Started
- Development
- Release
- Production
validations:
required: true
- type: dropdown
attributes:
label: "Impact"
description: "Choose the impact severity."
multiple: false
options:
- No Impact
- Inconvenience
- Impaired
- Blocked
validations:
required: true
- type: textarea
attributes:
label: "Timeline"
description: "Please briefly state your timeline, e.g., Go-Live in 12 weeks."
validations:
required: false
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Question
description: Ask a question about the SAP Cloud SDK for Java.
labels:
- question
body:
- type: markdown
attributes:
value: |
This repository is for Java related issues only. Please open [JavaScript / TypeScript issues here](https://github.com/SAP/cloud-sdk-js/issues/new/choose)
- type: textarea
attributes:
label: "Ask the Question"
description: Give a clear and concise description.
validations:
required: true
90 changes: 0 additions & 90 deletions .github/ISSUE_TEMPLATE/sdk-issue.md

This file was deleted.

2 changes: 2 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ updates:
test:
dependency-type: "development"
ignore:
# updating leads to ignoring our formatting rules
- dependency-name: 'net.revelc.code.formatter:formatter-maven-plugin'
# updating leads to unintended formatting of POM files
- dependency-name: 'com.github.ekryd.sortpom:sortpom-maven-plugin'
# used by deprecated code only, not worth updating for now
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
ci-run-id: ${{ needs.run-ci.outputs.ci-run-id }}
repository-url: "https://common.repositories.cloud.sap/artifactory/build-snapshots-cloudsdk"
repository-username: ${{ secrets.ARTIFACTORY_USER }}
repository-password: ${{ secrets.ARTIFACTORY_TOKEN }}
repository-password: ${{ secrets.ARTIFACTORY_PASSWORD }}
release-artifact-name: ${{ env.RELEASE_ARTIFACT_NAME }}

notify-job:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v4.0.0
uses: fsfe/reuse-action@v5.0.0
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ We use GitHub to manage reviews of pull requests.

* The team will review the issue and decide whether it should be implemented as a pull request. In that case, they will assign the issue to you. If the team decides against picking up the issue, the team will post a comment with an explanation.

## Contributing with AI-generated code

As artificial intelligence evolves, AI-generated code is becoming valuable for many software projects, including open-source initiatives. While we recognize the potential benefits of incorporating AI-generated content into our open-source projects there a certain requirements that need to be reflected and adhered to when making contributions.

Please see our [guideline for AI-generated code contributions to SAP Open Source Software Projects](https://github.com/SAP/.github/blob/main/CONTRIBUTING_USING_GENAI.md) for these requirements.

## Steps to Contribute

Should you wish to work on an issue, please claim it first by commenting on the GitHub issue that you want to work on. This is to prevent duplicated efforts from other contributors on the same issue.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![build](https://github.com/SAP/cloud-sdk-java/actions/workflows/continuous-integration.yaml/badge.svg?branch=main)
[![REUSE status](https://api.reuse.software/badge/github.com/SAP/cloud-sdk-java)](https://api.reuse.software/info/github.com/SAP/cloud-sdk-java)
[![Fosstars security rating](https://github.com/SAP/cloud-sdk-java/blob/fosstars-report/fosstars_badge.svg)](https://github.com/SAP/cloud-sdk-java/blob/fosstars-report/fosstars_report.md)
[![Maven Central](https://img.shields.io/badge/maven_central-5.12.0-blue.svg)](https://search.maven.org/search?q=g:com.sap.cloud.sdk%20AND%20a:sdk-core%20AND%20v:5.12.0)
[![Maven Central](https://img.shields.io/badge/maven_central-5.14.0-blue.svg)](https://search.maven.org/search?q=g:com.sap.cloud.sdk%20AND%20a:sdk-core%20AND%20v:5.14.0)

# SAP Cloud SDK for Java

Expand Down
4 changes: 2 additions & 2 deletions archetypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.sap.cloud.sdk</groupId>
<artifactId>sdk-parent</artifactId>
<version>5.13.0-SNAPSHOT</version>
<version>5.15.0-SNAPSHOT</version>
</parent>
<groupId>com.sap.cloud.sdk.archetypes</groupId>
<artifactId>archetypes-parent</artifactId>
Expand Down Expand Up @@ -47,7 +47,7 @@
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>3.2.1</version>
<version>3.3.1</version>
</extension>
</extensions>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion archetypes/spring-boot3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.sap.cloud.sdk.archetypes</groupId>
<artifactId>archetypes-parent</artifactId>
<version>5.13.0-SNAPSHOT</version>
<version>5.15.0-SNAPSHOT</version>
</parent>
<artifactId>spring-boot3</artifactId>
<packaging>maven-archetype</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<spring-boot.version>3.3.0</spring-boot.version>

<java.version>17</java.version>
<cloud-sdk.version>5.13.0-SNAPSHOT</cloud-sdk.version>
<cloud-sdk.version>5.15.0-SNAPSHOT</cloud-sdk.version>

<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion cloudplatform/caching/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.sap.cloud.sdk.cloudplatform</groupId>
<artifactId>cloudplatform-parent</artifactId>
<version>5.13.0-SNAPSHOT</version>
<version>5.15.0-SNAPSHOT</version>
</parent>
<artifactId>caching</artifactId>
<name>Business Technology Platform - Caching</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import javax.annotation.Nullable;

import com.github.benmanes.caffeine.cache.Cache;
import com.google.common.annotations.Beta;
import com.google.common.collect.ImmutableList;
import com.sap.cloud.sdk.cloudplatform.security.principal.Principal;
import com.sap.cloud.sdk.cloudplatform.security.principal.PrincipalAccessor;
Expand Down Expand Up @@ -70,7 +69,6 @@ public static synchronized <T> Cache<CacheKey, T> register( @Nonnull final Cache
* @return The given cache.
* @since 4.3.0
*/
@Beta
@Nonnull
public static synchronized <T> Cache<CacheKey, T> unregister( @Nonnull final Cache<CacheKey, T> cache )
{
Expand Down
2 changes: 1 addition & 1 deletion cloudplatform/cloudplatform-connectivity-scp-cf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.sap.cloud.sdk.cloudplatform</groupId>
<artifactId>cloudplatform-parent</artifactId>
<version>5.13.0-SNAPSHOT</version>
<version>5.15.0-SNAPSHOT</version>
</parent>
<artifactId>cloudplatform-connectivity-scp-cf</artifactId>
<name>(Deprecated) Cloud Platform - Connectivity SAP BTP Cloud Foundry</name>
Expand Down
Loading
Loading