Fix Jenkinsfile so it builds an Docker image per NSP component + update test/docker-compose to start individual NSP components in their own containers (+ added Kafka dependency in test)
Extra fixes for https://git.nspop.dk/projects/COM/repos/covid-19-borgerstatus/pull-requests/7/overview?commentId=782 + https://git.nspop.dk/projects/COM/repos/covid-19-borgerstatus/pull-requests/7/overview?commentId=783
CR-36: Added unit tests. We no longer fail jacoco coverage-check! 🥳FYI: Changed jacoco to counting instructions instead of counting lines, which apparently helps us quite a bit (we must have many instructions per line).
CR-59: Added dummy generated EU digital certificate with content:{"hcert":{"sub":{"n":"Gaby Doe","id":[{"t":"nid","i":"0102030405"}]},"vac":[{"des":"J07BX03","nam":"COMIRNATY","aut":"Pfizer BioNTech","seq":1,"tot":2,"dat":"2021-02-20","adm":"Region Halland"}],"tst":[{"dis":"Covid-19","typ":"LP6464-4","tna":"Nucleic acid amplification with probe detection","tma":"BIOSYNEX SWISS SA BIOSYNEX COVID-19 Ag BSS","ori":"258500001","dat":"2021-02-20","res":false,"fac...
Pull request #4: Feature/dto daoMerge in COM/covid-19-borgerstatus from feature/dto-dao to develop
* commit '7418b9740e3cef0eff65a7b15b35fbc288be9661':
Added implementations for Vaccination and LabResults
Added shortcut methods
Working on writing dto into single column row
More refactorings
Removed warnings
Moved Spring JBDC extension to separate directory
Refactored to remove unchecked casts.
First draft on ...
[CR-15]:1)Added kafka configuration to docker-compose files + fixed Spring kafka configuration.
2)Poll kafka for jobs when /fetch is called (WiP).
(coverage-checks not met)
1)Use @CbsTest annotation and use underscore in test method names.2)[CR-15:]Add Kafka consumer to DataFetcher endpoint.
3)Only enable debug logging for dk.sundhedsdatastyrelsen.cbs classes during unit tests
1)CR-15: Added Kafka dependencies (WiP, coverage checks failing)2)Changed Spring ApplicationContext to be annotation based.
3)Removed separate ApplicationContext for unit tests (was identical to prod conf)