Refactor: use CloudConnector::AvailableServices
* Duo workflow should not use `::Gitlab::CloudConnector::SelfIssuedToken` because that is backend Cloud Connector code that is invoked by `CloudConnector::AvailableServices` * Resolves https://gitlab.com/gitlab-org/gitlab/-/issues/485857 * This also required setting up the unit primitive in the access_data.yml so this MR partially addresses https://gitlab.com/gitlab-org/duo-workflow/duo-workflow-service/-/issues/17
显示
- ee/config/cloud_connector/access_data.yml 7 个添加, 0 个删除ee/config/cloud_connector/access_data.yml
- ee/lib/ai/duo_workflow/duo_workflow_service/client.rb 1 个添加, 5 个删除ee/lib/ai/duo_workflow/duo_workflow_service/client.rb
- ee/lib/cloud_connector/available_services.rb 1 个添加, 1 个删除ee/lib/cloud_connector/available_services.rb
- ee/lib/cloud_connector/self_signed/available_service_data.rb 3 个添加, 1 个删除ee/lib/cloud_connector/self_signed/available_service_data.rb
- ee/spec/lib/ai/duo_workflow/duo_workflow_service/client_spec.rb 5 个添加, 3 个删除...c/lib/ai/duo_workflow/duo_workflow_service/client_spec.rb
- ee/spec/lib/cloud_connector/self_signed/access_data_reader_spec.rb 44 个添加, 30 个删除...ib/cloud_connector/self_signed/access_data_reader_spec.rb
想要评论请 注册 或 登录