https://github.com/atbashee/runtime-samples
Samples using Atbash Runtime
https://github.com/atbashee/runtime-samples
Last synced: 2 months ago
JSON representation
Samples using Atbash Runtime
- Host: GitHub
- URL: https://github.com/atbashee/runtime-samples
- Owner: atbashEE
- License: apache-2.0
- Created: 2022-01-09T11:00:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T18:11:41.000Z (over 2 years ago)
- Last Synced: 2025-01-18T12:26:04.925Z (4 months ago)
- Language: Java
- Size: 116 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Runtime Samples
Contains some samples and specification testing for the Atbash Runtime.
## directory 'specs'
Testing of the specifications using the Testing framework (based on top of _Testcontainers_ and thus requires a Docker client installed.)
You can run the tests on JDK 11 by executing the following command within the directory.
```
mvn
```It assumes that you have a JDK 11 active as the test itself is always using JDK 11.
The following command runs the Atbash Runtime within a JDK 17 based Docker container and thus test the specification samples in combination with JDK 17.
```
mvn -Datbash.test.container.jdk=jdk17
```### Tests
- Servlet defined through Annotation.
- Servlet defined through web.xml.
- Servlet defined through we fragment
- Servlet with injecting a CDI bean.
- JAX-RS resource defined with annotation.
- JAX-RS resource with injecting a CDI bean.
- JAX-RS resource producing and handling JSON data.
- MicroProfile Config Using a Profile, Injected value and Programmatic lookup
- MicroProfile Config Using ConfigProperties## directory 'tck-checks'
Projects for running TCK tests on Atbash Runtime.
### mp-config
Run the MicroProfile Config TCK tests through the command
```
mvn integration-test
```