siggame / coliselia

Common components & services between ophelia and colisee; note: repo name subject to change
3 stars 1 forks source link

Communication with Gitlab: Native API or DbAPI? #13

Closed russleyshaw closed 7 years ago

russleyshaw commented 7 years ago

How should the components (Ophelia & Colisee) communicate with GitLab?

Reasons to communicate directly with GitLab:

Reasons to communicate through DbApi

renodubois commented 7 years ago

So I think the DB API will be a bit more work but will be more worth it, since we will only have to deal with calling one API.

michael-beaver commented 7 years ago

I agree, I think all the points you made are very appealing and I think it will make it worth it in the long run.

russleyshaw commented 7 years ago

Going with DBApi interactions for now

russleyshaw commented 7 years ago

After some deeper investigation and thought experiments, communication between the two will be independent. One reason for this is because a GitLab user could potentially change his or her password and it not be reflected in the database. Becaause of this, they are two independent systems and should be treated as such.