- Modernization API
- Modernization UI
- Question Bank
- NBS Gateway
- CDC Sandbox
- Database-Entities
- Event-Schema
- Id-Generator
- Package by Feature to make code easier to find.
- Code Formatting
- Pull requests
Some containers within the cdc-sandbox
directory require sensitive values be set prior to building.
Container | Required environment variable |
---|---|
nbs-mssql | DATABASE_PASSWORD |
nifi | NIFI_PASSWORD, DATABASE_PASSWORD |
keycloak | KEYCLOAK_ADMIN_PASSWORD |
-
Gain access to the NBS source code repository this is required to build the wildfly container
-
Navigate to the
cdc-sandbox
directorycd cdc-sandbox
-
Run the
build_all.sh
script./build_all.sh
-
Visit the NBS Login page
username: msa password:
-
To create your own user account:
- Navigate to System Management
- Expand Security Management
- Click Manage Users & click Add
- Enter userId, First Name and Last Name
- Add a Role(s) & click submit
To learn more about the build process view the cdc-sandbox README
-
Navigate to the
cdc-sandbox
directorycd cdc-sandbox
-
Start the database and Elasticsearch containers
docker compose up -d nbs-mssql elasticsearch
-
Navigate to the root directory
cd ..
-
Start the
modernized-api
Port5005
will be open for debugger attachment../gradlew :modernization-api:bootRun
-
Navigate to the
modernization-ui
foldercd apps/modernization-ui/
-
Launch the
modernization-ui
npm run start
-
Access the UI
./gradlew printVersion
> Task :printVersion
Version: 1.0.0-SNAPSHOT
The nbs-gateway
container is configured to route to the containerized services. Routing to a local service can be
achieved by altering the configuration to point to the local instances.
Name | Default | Description |
---|---|---|
MODERNIZATION_UI_SERVER | modernization-ui |
The host name of the server that provides the frontend UI. |
MODERNIZATION_UI_PORT | 80 |
The port the frontend UI is served from. |
MODERNIZATION_API_SERVER | modernization-api |
The host name of the server that provides the backend API. |
MODERNIZATION_API_PORT | 8080 |
The port that modernization-api is served from. |
PAGEBUILDER_API | pagebuilder-api |
The host name of the server that provides the page-builder API. |
PAGEBUILDER_API_PORT | 8095 |
The port that page-builder is served from. |
NBS_GATEWAY_SERVER | nbs-gateway |
The host name of the server that provides the NBS Gateway. |
NBS_GATEWAY_PORT | 8000 |
The port the NBS Gateway is served from. |
-
Start the frontend UI locally by running the following command from the
apps/modernization-ui
folder.npm run start
-
Start the
nbs-gateway
container configured to route to the localmodernization-ui
by executing the following command from the root folderMODERNIZATION_UI_SERVER=host.docker.internal MODERNIZATION_UI_PORT=3000 docker compose up -d nbs-gateway
From the root folder.
-
Start the backend API locally listening on port 9080 from the root project folder. The
nbs-gateway
container is accessible from port8080
, which is the default port for themodernization-api
. It must be changed in order for the backend to start properly../gradlew :modernization-api:bootRun --args='--server.port=9080'
-
Start the
nbs-gateway
container configured to route to the localmodernization-api
by executing the following command.MODERNIZATION_API_SERVER=host.docker.internal MODERNIZATION_API_PORT=9080 docker compose up -d nbs-gateway
From the root folder.
-
Start the local
pagebuilder-api
service../gradlew :question-bank:bootRun'
-
Start the
nbs-gateway
container configured to route to the localpagebuilder-api
by executing the following command.PAGEBUILDER_API=host.docker.internal PAGEBUILDER_API_PORT=8095 docker compose up -d nbs-gateway
Start the nbs-gateway
container by running the following command from the root folder
docker compose up -d nbs-gateway