[Proposal] Extract the interface for accessing CC Service Start Dates into CloudConnector::AccessService
Context
With the ability to receive and store the information about Cloud Connector services (for now: name and the service start date) from CDot, we need to provide a simple API to read into that data.
To unblock groupai framework work on Duo Chat, we explained to them how to access the "raw" (JSON) data here (internal).
As result, they introduced desired wrapper around this data in model: code - not merged while I write this.
Intent
Ideally, we want a single entry/access point for Cloud Connector data and interactions.
This should not be a Rails model, because CC features span across multiple models.
A great candidate can be CloudConnector::AccessService
(code)
Implementation
We should wait until !142800 (merged) and !143037 (merged) are merged to avoid conflicts and interruptions for groupai framework.
Then, likely after %16.10 has started, we may consider moving (or wrapping) the interface they introduced in a model into the Cloud Connector Access Service.
This MR could be a good starting point where I drafted the interface.