generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Renamed `e2e-test-app` to `sample-code/spring-app` * Added relativePath
- Loading branch information
1 parent
d43eaf2
commit cf2b8f3
Showing
18 changed files
with
41 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Sample Code and E2E Test | ||
|
||
![e2e-test](https://github.com/SAP/ai-sdk-java/actions/workflows/e2e-test.yaml/badge.svg) | ||
|
||
Sample code to demonstrate the usage of the SAP AI SDK. | ||
Also used as basis for running E2E tests. | ||
|
||
## Build, Run, Deploy Locally | ||
|
||
Build the project with: | ||
|
||
1. `mvn compile` | ||
2. [Download a service key for your AI Core service instance](../../README.md#set-credentials-as-dedicated-environment-variable) | ||
3. Create the environment variable `AICORE_SERVICE_KEY` | ||
4. Run the application with `mvn spring-boot:run` | ||
5. [See all available endpoints](localhost:8080) | ||
|
||
## Run the E2E Test | ||
|
||
Trigger the [GitHub Action](https://github.com/SAP/ai-sdk-java/actions/workflows/e2e-test.yml). |
2 changes: 1 addition & 1 deletion
2
e2e-test-app/manifest.yml → sample-code/spring-app/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.