-
Epic
-
Resolution: Won't Do
-
Medium
-
None
-
None
-
AAI Validation Rules with dependency injection of schema ingestion library
To support the Pomba use case, the AAI Validation Rules should allow dependency injection of a user-supplied schema ingestion library, rather than having a built-in schema ingestion taken from AAI Schema Service.
For most AAI microservices, the Schema Service is the central place for the schema definitions.
But Pomba is reusing the Validation Rules component running Groovy code with its own independent schema definition. Therefore it has no need for the AAI Schema Service nor any of the OXM files.
There should be an API for the schema ingestion library which can then be implemented by an alternative library and injected as needed for the Pomba use case (and potentially others too).
Attention: ctpaterson, ntraxler, sblimkie
This re-factoring might also be relevant to GraphGraph relationship to Schema Service? wageslave, ma9181