An application for managing records of processing activities.
npm install
npm start
to start local development serverdocker build -t records-of-processing-activities-gui .
docker run -d -p 8141:8080 -e OIDC_ISSUER -e RECORDS_OF_PROCESSING_ACTIVITIES_URL -e FDK_REGISTRATION_BASE_URI -e ORGANIZATION_CATALOG_URI records-of-processing-activities-gui
Docker Compose contains all the necessary services to run records-of-processing-activities-gui locally. Services:
records-of-processing-activities-gui
- Records of processing activities GUI (this app)records-of-processing-activities
- Records of processing activities APIdataset-catalog
- Dataset Catalog APIorganization-catalogue
- Organization Catalogue APIfdk-nginx-enhetsregisteret-proxy-mock
- Enhetsregisteret Mockoidc-server-mock
- OIDC Server Mockservices-mock
- Services Mock (mocking fulltext search concept)rabbitmq
- RabbitMQmongodb
- MongoDBRun the application using the following command:
docker-compose up -d
Open your browser and open the following url:
http://localhost:8140/910244132
Authorities claim has the following syntax resource:resourceId:role
. It is possible to add multiple permissions seperated with comma. If you want the give the user system admin access use system:root:admin
.
Example:
USERS_CONFIGURATION_INLINE: |
[
{
"Claims": [
{
"Type": "authorities",
"Value": "organization:910244132:admin"
}
]
}
]
OIDC_ISSUER
- OIDC issuer URIRECORDS_OF_PROCESSING_ACTIVITIES_URL
- Base URL of Records of Processing Activities backendFDK_REGISTRATION_BASE_URI
- Base URI for registration clientsORGANIZATION_CATALOG_URI
- Base URL of Organization backendSEARCH_HOST
- FDK portal main page URLADMIN_GUI_HOST
- FDK admin main page URLUSE_DEMO_LOGO
- Boolean variable determining demo logo