Skip to content

Commit 67b7002

Browse files
authored
Merge branch 'main' into chore/enable-owasp-cache
2 parents fececde + ebf749d commit 67b7002

File tree

287 files changed

+7138
-5431
lines changed

Some content is hidden

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

287 files changed

+7138
-5431
lines changed

.github/workflows/e2e-test.yaml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@ name: "End-to-end Tests"
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: 0 2 * * *
5+
- cron: 15 2 * * MON-FRI
66

77
env:
88
MVN_MULTI_THREADED_ARGS: --batch-mode --no-transfer-progress --fail-at-end --show-version --threads 1C
99
JAVA_VERSION: 17
1010

1111
jobs:
12-
1312
end-to-end-tests:
14-
# https://wiki.one.int.sap/wiki/display/DevFw/SUGAR
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
environment: [ canary, production ]
17+
exclude:
18+
- environment: production
19+
# secret-name: AI_CORE_PRODUCTION
20+
include:
21+
- environment: canary
22+
secret-name: AI_CORE_CANARY
1523
runs-on: ubuntu-latest
1624
steps:
1725

@@ -33,10 +41,10 @@ jobs:
3341
- name: "Run tests"
3442
run: |
3543
MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} surefire:test -pl :spring-app -DskipTests=false"
36-
mvn $MVN_ARGS
44+
mvn $MVN_ARGS "-Daicore.landscape=${{ matrix.environment }}"
3745
env:
3846
# See "End-to-end test application instructions" on the README.md to update the secret
39-
AICORE_SERVICE_KEY: ${{ secrets.AICORE_SERVICE_KEY }}
47+
AICORE_SERVICE_KEY: ${{ secrets[matrix.secret-name] }}
4048

4149
- name: "Start Application Locally"
4250
run: |
@@ -53,7 +61,7 @@ jobs:
5361
done
5462
env:
5563
# See "End-to-end test application instructions" on the README.md to update the secret
56-
AICORE_SERVICE_KEY: ${{ secrets.AICORE_SERVICE_KEY }}
64+
AICORE_SERVICE_KEY: ${{ secrets[matrix.secret-name] }}
5765

5866
- name: "Health Check"
5967
# print response body with headers to stdout. q:body only O:print -:stdout S:headers

core/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@
157157
<groupId>com.sap.cloud.sdk.datamodel</groupId>
158158
<artifactId>openapi-generator-maven-plugin</artifactId>
159159
<configuration>
160+
<skip>true</skip>
161+
<!-- TODO: remove this once Cloud SDK 5.15.0 is released -->
160162
<outputDirectory>${project.basedir}/src/main/java</outputDirectory>
161163
<apiMaturity>released</apiMaturity>
162164
<enableOneOfAnyOfGeneration>true</enableOneOfAnyOfGeneration>

core/src/main/java/com/sap/ai/sdk/core/client/ApplicationApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import org.springframework.web.util.UriComponentsBuilder;
2828

2929
/**
30-
* AI Core in version 2.35.0.
30+
* AI Core in version 2.36.0.
3131
*
3232
* <p>Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
3333
* batch job, for example to pre-process or train your models, or perform batch inference. Serve

core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.springframework.web.util.UriComponentsBuilder;
2525

2626
/**
27-
* AI Core in version 2.35.0.
27+
* AI Core in version 2.36.0.
2828
*
2929
* <p>Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
3030
* batch job, for example to pre-process or train your models, or perform batch inference. Serve

core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.springframework.web.util.UriComponentsBuilder;
2525

2626
/**
27-
* AI Core in version 2.35.0.
27+
* AI Core in version 2.36.0.
2828
*
2929
* <p>Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
3030
* batch job, for example to pre-process or train your models, or perform batch inference. Serve

core/src/main/java/com/sap/ai/sdk/core/client/DeploymentApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import org.springframework.web.util.UriComponentsBuilder;
3232

3333
/**
34-
* AI Core in version 2.35.0.
34+
* AI Core in version 2.36.0.
3535
*
3636
* <p>Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
3737
* batch job, for example to pre-process or train your models, or perform batch inference. Serve

core/src/main/java/com/sap/ai/sdk/core/client/DockerRegistrySecretApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import org.springframework.web.util.UriComponentsBuilder;
2626

2727
/**
28-
* AI Core in version 2.35.0.
28+
* AI Core in version 2.36.0.
2929
*
3030
* <p>Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
3131
* batch job, for example to pre-process or train your models, or perform batch inference. Serve

core/src/main/java/com/sap/ai/sdk/core/client/ExecutableApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.springframework.web.util.UriComponentsBuilder;
2121

2222
/**
23-
* AI Core in version 2.35.0.
23+
* AI Core in version 2.36.0.
2424
*
2525
* <p>Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
2626
* batch job, for example to pre-process or train your models, or perform batch inference. Serve

core/src/main/java/com/sap/ai/sdk/core/client/ExecutionApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import org.springframework.web.util.UriComponentsBuilder;
3232

3333
/**
34-
* AI Core in version 2.35.0.
34+
* AI Core in version 2.36.0.
3535
*
3636
* <p>Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
3737
* batch job, for example to pre-process or train your models, or perform batch inference. Serve

core/src/main/java/com/sap/ai/sdk/core/client/ExecutionScheduleApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import org.springframework.web.util.UriComponentsBuilder;
2626

2727
/**
28-
* AI Core in version 2.35.0.
28+
* AI Core in version 2.36.0.
2929
*
3030
* <p>Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
3131
* batch job, for example to pre-process or train your models, or perform batch inference. Serve

0 commit comments

Comments
 (0)