Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/custom provider #288

Merged
merged 30 commits into from
Sep 22, 2020
Merged

Feature/custom provider #288

merged 30 commits into from
Sep 22, 2020

Conversation

alexcos20
Copy link
Member

@alexcos20 alexcos20 commented Sep 16, 2020

closes #278
closes #292

@alexcos20 alexcos20 marked this pull request as ready for review September 16, 2020 14:49
): Promise<ServiceAccess> {
return {
type: 'access',
index: 2,
serviceEndpoint: this.ocean.provider.getConsumeEndpoint(),
serviceEndpoint: customProvider
? customProvider + this.ocean.provider.getConsumeEndpointShort()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it better to let the customProvider have the complete endpoint instead of only the base url?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from UX, it's difficult. what kind of services do the publisher wants in the ddo ? if he wants access & compute, then you need to input 2 URLs..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we decided we can't have both

@alexcos20 alexcos20 marked this pull request as draft September 17, 2020 12:16
@alexcos20 alexcos20 added the Status: InProgress Work in progress, don't merge label Sep 17, 2020
@alexcos20 alexcos20 marked this pull request as ready for review September 17, 2020 12:18
@alexcos20 alexcos20 removed the Status: InProgress Work in progress, don't merge label Sep 17, 2020
Base automatically changed from feature/startOrder to main September 17, 2020 22:12
@alexcos20 alexcos20 added the Status: InProgress Work in progress, don't merge label Sep 18, 2020
@alexcos20 alexcos20 marked this pull request as draft September 18, 2020 06:08
@alexcos20 alexcos20 marked this pull request as ready for review September 19, 2020 22:38
@alexcos20 alexcos20 requested review from ssallam and 0x3bfc September 19, 2020 22:38
@alexcos20 alexcos20 removed the Status: InProgress Work in progress, don't merge label Sep 20, 2020
@alexcos20 alexcos20 self-assigned this Sep 20, 2020
src/ocean/Assets.ts Outdated Show resolved Hide resolved
@kremalicious
Copy link
Contributor

What is being done to providerUri in the Config model, and in the ConfigHelper?

@codeclimate
Copy link

codeclimate bot commented Sep 22, 2020

Code Climate has analyzed commit 2d989df and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 72.6% (50% is the threshold).

This pull request will bring the total coverage in the repository to 75.2% (-0.2% change).

View more on Code Climate.

Co-authored-by: Matthias Kretschmann <[email protected]>
alexcos20 and others added 2 commits September 22, 2020 14:22
@alexcos20 alexcos20 merged commit e06f96a into main Sep 22, 2020
@alexcos20 alexcos20 deleted the feature/customProvider branch September 22, 2020 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants