Closed SchulzeStTSI closed 3 years ago
Setup a spring boot service and integrate the modified dcc-lib.
Provide the routes for:
GET /rules/{country}
GET /rules which should return an signed list like:
Header X-SIGNATURE .....(ECDSA)
[ { "co":"DE", "hash":"h33hdh2323..." (SHA256) }, ... ]
GET /rules/{hash} --> JSON
GET /valuesets
[ { "id":"disease-agent-targeted", "hash":"h33hdh2323..." (SHA256) }, ... ]
GET /valuesets/{hash} (not signed)
The service needs an small service which is able to sign the bundled lists before return it by the get methods.
To provide a full list of onboarded countries, add a /countrylist route.
Setup a spring boot service and integrate the modified dcc-lib.
Provide the routes for:
GET /rules/{country}
GET /rules which should return an signed list like:
Header X-SIGNATURE .....(ECDSA)
[ { "co":"DE", "hash":"h33hdh2323..." (SHA256) }, ... ]
GET /rules/{hash} --> JSON
GET /valuesets
Header X-SIGNATURE .....(ECDSA)
[ { "id":"disease-agent-targeted", "hash":"h33hdh2323..." (SHA256) }, ... ]
GET /valuesets/{hash} (not signed)
The service needs an small service which is able to sign the bundled lists before return it by the get methods.
To provide a full list of onboarded countries, add a /countrylist route.