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

Adding Provenance integration #28

Merged
merged 3 commits into from
Oct 5, 2022
Merged

Adding Provenance integration #28

merged 3 commits into from
Oct 5, 2022

Conversation

aaitor
Copy link
Member

@aaitor aaitor commented Oct 4, 2022

Description

  • Adding provenance integration
  • Enable/disable provenance via env var
  • Artifacts folder can be configured via env var
  • New config is exposed in the info page

Is this PR related with an open issue?

Related to Issue #29, #30

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Follows the code style of this project.
  • Tests Cover Changes
  • Documentation

…iable

- Adding env variable to config artifacts folders
@aaitor aaitor requested review from a team as code owners October 4, 2022 17:24
Comment on lines 120 to 127

export const didTo0xId = (did: string): string => {
return '0x' + did.replace('did:nv:', '');
};

export const didToShortId = (did: string): string => {
return did.replace('did:nv:', '');
};
Copy link
Member

Choose a reason for hiding this comment

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

The gateway uses the sdk has a dependency. The sdk already provides methods for this operations

Copy link
Member

@r-marques r-marques left a comment

Choose a reason for hiding this comment

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

lgtm

@aaitor
Copy link
Member Author

aaitor commented Oct 5, 2022

Estuary license is not allowing more requests, merging because that is not a problem with this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants