Updated audit metadata and updated hook implementation to reflect the changes.
Added sonar.sh
Updated audit hook config to have crud uri
Updated audit hook to persist data:
- use RestConfiguration to get Mediator
- completed insert request json creation
- added datasources.json test resource with mongo resource
- NOTE have not updated any tests to verify, but tests don't fail
Lots of updates to make AuditHookTest work:
* audit metadata updated, identity pulled out to array of objects
* model created to hold data and to generate JSON string (instead of doing in the hook itself)
* mongo db working, and verify data exists after insert
Fixed CountryAuditHookTest
Removed lightblueCrudURI from hook config and fixed all tests
For some reason previous commit didn't actually include the changes.. oops
Merge pull request #7 from jewzaam/persist-audit-data

Implement persistence of audit data