Files
basic-banking/README.md
Swordsteel 61519fc586 project setup
- update README.md
- setup tls
  - update gradle.properties with docker tls ports
  - update application.yml
    - disable tls in develop
    - set docker values
    - add default tls values
  - add keystore.p12
- setup postgres
  - update application.yml with defualt values
  - add 000-initizalise.sql
  - add postgres dependencies and config
  - add docker compose development
- add actuator.http
- add http environment
- update name and readme for service
2025-09-13 12:46:02 +02:00

48 lines
1.9 KiB
Markdown

# Basic Banking
This Monolith is pretend to be different services, it also Postgres 18rc1 to have access to UUIDv7.
## Properties For Deployment
| Name | Required | Information |
|-------------------------------|:--------:|-------------------------|
| spring.profiles.active | ✔ | Spring Boot environment |
| spring.r2dbc.url | ✔ | Postgres host url |
| spring.r2dbc.username | ✓ | Postgres username |
| spring.r2dbc.password | ✱ | Postgres password |
| server.port | | HTTP port |
| server.ssl.enabled | | HTTP Enable SSL |
| server.ssl.key-store | ✗ | HTTP Keystore |
| server.ssl.key-store-type | | HTTP Cert Type |
| server.ssl.key-store-password | ✱ | HTTP Cert Pass |
*Required:*
- *✓ can be stored as text. ✔ predefined in environment*
- *✗ mounted file.*
- *✱ need to be stored as secret.*
## Development
Use `development-compose.yml` to set up needed external dependencies.
## Releasing Service
Run release pipeline from `master` branch.
## Global gradle properties.
To authenticate with Gradle to access repositories that require authentication, you can set your user and token in the `gradle.properties` file.
Here's how you can do it:
1. Open or create the `gradle.properties` file in your Gradle user home directory:
- On Unix-like systems (Linux, macOS), this directory is typically `~/.gradle/`.
- On Windows, this directory is typically `C:\Users\<YourUsername>\.gradle\`.
2. Add the following lines to the `gradle.properties` file:
```properties
repository.<name>.user=your_user
repository.<name>.token=your_token_value
```
or use environment variables `REPOSITORY_USER` and `REPOSITORY_TOKEN`