UWIT-IAM / iam-resttools

Apache License 2.0
3 stars 1 forks source link

Make it so daos can be injected by subclasses. #40

Closed jeffFranklin closed 7 years ago

jeffFranklin commented 7 years ago

In identity-uw we use the requests library for our backend, and for mocks we have a mock http that isn't file-based. This change allows us to subclass the main classes (IRWS, NWS) and use our own dao so we don't need to manage two sets of mock data. When complete, everything in dao_implementation will be unused by identity-uw.