icgc-argo / dac-api

Development of the Data Access Control API
GNU Affero General Public License v3.0
0 stars 0 forks source link

Daco2Ego connection - Make controlled users list #93

Closed rosibaj closed 3 years ago

rosibaj commented 3 years ago

Generate a DACO File

rosibaj commented 3 years ago

@anncatton i dont see this endpoint in swagger - am i missing something?

anncatton commented 3 years ago

@rosibaj the endpoint should return a 400 error if you make the request without the format=daco-file-format query param (we can update the endpoint to deal with other file formats if/when needed), but you'll have to test that scenario in postman, not swagger

rosibaj commented 3 years ago

@anncatton i have tested the file and there are a couple things:

Wiki for file format: https://wiki.oicr.on.ca/pages/viewpage.action?spaceKey=icgcargotech&title=Integrations+-+Daco2Ego#IntegrationsDaco2Ego-DACOFileFormat

anncatton commented 3 years ago

daco2ego finds users in ego by their email + provider type (GOOGLE for ARGO), so it should be fine without this id field