https://github.com/govalta/adsp-sdk-samples
Minimal hello world samples using ADSP SDK.
https://github.com/govalta/adsp-sdk-samples
Last synced: 3 months ago
JSON representation
Minimal hello world samples using ADSP SDK.
- Host: GitHub
- URL: https://github.com/govalta/adsp-sdk-samples
- Owner: GovAlta
- License: apache-2.0
- Created: 2022-10-05T22:37:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T15:17:05.000Z (over 2 years ago)
- Last Synced: 2025-03-14T13:12:45.109Z (over 1 year ago)
- Language: Java
- Size: 699 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ADSP SDK Samples
This is monorepo of minimal hello world backend services using variants of the [ADSP Service SDK](https://github.com/GovAlta/adsp-monorepo).
This project uses [Nx](https://nx.dev).
## Prerequisites
- ASP.NET Core variant
- requires .NET 6 SDK
- nuget.config with GitHub credentials to download package from nuget source: https://nuget.pkg.github.com/GovAlta/index.json (See [GitHub docs](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry))
- Spring Boot variant
- requires JDK 11
- Maven settings.xml with GitHub credentials to download package from maven repository: https://maven.pkg.github.com/GovAlta/adsp-monorepo (See [GitHub docs](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry))
- ADSP Tenant environment
- Confidential client with the Client roles:
- urn:ads:tenant-service -> platform-service
- urn:ads:configuration-service -> configured-service
- urn:ads:event-service -> event-sender
## Running services
Set the configuration values via an appropriate mechanism for the variant:
- app settings in ASP.NET Core variant
- properties in Spring Boot variant
- environment in Express variant
Install dependencies using: `npm i -D`
Build specific app like: `npx nx build hello-world-express`
Run specific app like `npx nx serve hello-world-express`