https://github.com/navikt/basta
An orchestration system for self-service infrastructure setup (servers, DNS, databases...)
https://github.com/navikt/basta
aura
Last synced: about 1 year ago
JSON representation
An orchestration system for self-service infrastructure setup (servers, DNS, databases...)
- Host: GitHub
- URL: https://github.com/navikt/basta
- Owner: navikt
- License: mit
- Created: 2018-02-15T13:20:28.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T13:01:02.000Z (about 1 year ago)
- Last Synced: 2025-03-26T14:23:07.959Z (about 1 year ago)
- Topics: aura
- Language: Java
- Homepage:
- Size: 11.8 MB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
Basta
=====
## Environments
| Service | URL |
| -------------- | ---------------------------------------------- |
| Pre-production | https://basta.intern.dev.nav.no |
| Production | https://basta.intern.nav.no |
## Deployment
Deployed using [github actions](https://github.com/navikt/basta/actions). The action uses a self hosted runner on-premises. The setup for basta includes a separate settings.xml and environment variables for the runner service. Beyond that, the runner uses the default setup from Github.
## Development
The application can be started by running the `StandaloneBastaJettyRunner` class/main method. You can log in
with username "prodadmin" and password "prodadmin". The app will listen on http://localhost:1337.
When compiling and building in environments without access to Oracle Database Server the DatabaseScriptsTest test needs to be disabled.
This can be done by adding -Dtest=\!DatabaseScriptsTest.java to the maven command: `mvn -Dtest=\!DatabaseScriptsTest.java clean install`
## Security
Access levels are controlled through AD groups. These map to access to the environment classes `u`, `t`, `q` and `p`.
This is implemented in the class `no.nav.aura.basta.User`.
Currently this is the setup:
| Class | Role | Role-group-mapping in Fasit
| ----- | -------------------- | ------------------------------------------------------------------------- |
| u | ROLE_USER | None (authenticated user) |
| t | ROLE_OPERATIONS | http://fasit.adeo.no/resources?10&resourceAlias=env-config.operations |
| q | ROLE_PROD_OPERATIONS | http://fasit.adeo.no/resources?12&resourceAlias=env-config.prodoperations |
| p | ROLE_PROD_OPERATIONS | http://fasit.adeo.no/resources?12&resourceAlias=env-config.prodoperations |
## Sources
| /src/main/java | Java stuff |
| /src/main/resources | Java-config stuff |