Dev Service is a handy service to let HIP/HIU bridge developers work autonomously by providing features such as manipulate bridge services entries, etc.
- Git (also setup SSH Key)
- Intelli Idea IDE
- Install Lombok Plugin in the IDE and enable Lombok Annotations in preferences
## :whale: Running From The Docker Image
Create docker image
```alpha
docker build -t dev-service .
To run the image
docker run -d -p 9090:9090 dev-service
To run
./gradlew bootRunLocal
To run the tests
./gradlew test
Assuming gateway is up and running as well as Keycloak is running on your local,
To be able to manipulate hip/hiu services entries & update bridge endpoint, you need to add admin role to gateway client and create admin-user in Central-Registry realm.
- Click on
Clients - Go to the
gatewayclient - Click on
Rolestab - Click on
Add Role - Enter Role Name as
admin - Click
Save
- Click on
Users - Click on
Add user - Enter Username as
admin-user - Click
Save - Click on
Credentialstab - Set Temporary check to
OFF - Enter Password and Password Confirmation as
welcome - Click on
Set Password - Click on
Role Mappingstab - Click on
Client Roles - Select a clientsearch box - Type
gatewayand click enter - On the
Available Rolesyou should seeadminrole, select that to assign, and then clickAdd Selected - Type
realm-managementand click enter - On the
Available Rolesyou should seemanage-clientsandmanage-usersroles, select those to assign, and then clickAdd Selected