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

ADR Dynamic DataSource Registration #288

Merged

Conversation

juzuluag
Copy link
Contributor

@juzuluag juzuluag commented Feb 13, 2023

Pull Request

Issue Number: (#289)

Summary

Add 0014 ADR for Dynamic Data Source Registration

Changes

  • Document describing the proposal

Checklist

  • Documentation Updates Made?

Are there API Changes?

N/A

Is this a breaking change?

N/A

This PR Closes #289, microsoft#228

@juzuluag juzuluag changed the title Add Dynamic DataSource Registration ADR ADR Dynamic DataSource Registration Feb 13, 2023
@juzuluag juzuluag marked this pull request as ready for review February 13, 2023 18:11
Copy link
Contributor

@JenMadiedo JenMadiedo left a comment

Choose a reason for hiding this comment

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

I think this could be a good opportunity to also estimate what the implementation of this ADR could take. I.e., can you note estimated effort level for each of the pieces that would be required so they can be evaluated when turned into tickets? Especially since you have more context into the work since you wrote the ADR.

@juzuluag
Copy link
Contributor Author

I think this could be a good opportunity to also estimate what the implementation of this ADR could take. I.e., can you note estimated effort level for each of the pieces that would be required so they can be evaluated when turned into tickets? Especially since you have more context into the work since you wrote the ADR.

Hey @JenMadiedo , I'll add what you suggested. Thanks for the feedback

Copy link
Contributor

@Kpopovs1 Kpopovs1 left a comment

Choose a reason for hiding this comment

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

Looks great, I love the addition of effort level 🚀 I added a few comments.

@juzuluag
Copy link
Contributor Author

juzuluag commented Mar 3, 2023

@vaughanknight, @gfmatthews this is ready for review

@Willmish
Copy link
Collaborator

Discussed in #323 , week to discuss and approve if no objections

@Willmish
Copy link
Collaborator

Willmish commented Mar 21, 2023

To discuss - implementation. Where should the .dll files be located (Currently proposed solution in base directory, DatasourcePlugins Plugins/DataSource Plugins? How do we load them (do we load all?) ? Add check if signed dll

@Willmish
Copy link
Collaborator

Willmish commented Mar 29, 2023

See ADR 6 as well, as it is relevant: https://github.com/Green-Software-Foundation/carbon-aware-sdk/blob/dev/docs/architecture/decisions/0006-data-source-registration.md

Maybe adding implementing adding external plugin (DataSources) first could be a good starting point, and move the builtin data sources as well? We would need to ensure however the startup for new users is still the same or easier - we don't want to make it harder, and express the changes in docs.

Copy link
Contributor

@bderusha bderusha left a comment

Choose a reason for hiding this comment

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

First, let me say that I am all for the intent of this ADR. It feels like the right direction for the project and will make operating and extending it much easier. However, it covers a lot of ground which then leaves some unanswered questions for me.

  • Should we publish the existing Data Sources as NuGet packages? I don't think this ADR is proposing it, but it would be good to be very clear about that.
  • Will the existing data sources still live in this repo? My guess is yes, but also would be worth calling out.
  • Do we have any guidance on how new external data sources can be discovered? Contribute back to main? Maintain a list in the docs?

As I mention in my inline comments, as written it's tricky to determine which pieces of this proposal are new and which are covered by ADR 0006. I think it will be easier to discuss if those pieces can be removed or at least referenced as a non-change.

@vaughanknight
Copy link
Contributor

Still waiting on some updates to this PR prior to accepting the PR, primarily as the ADR is "accepted", so it can't be merged to be discussed. Other updates can come from the discussion once it's proposed formally.

Signed-off-by: Juan Zuluaga <[email protected]>
Signed-off-by: Juan Zuluaga <[email protected]>
Signed-off-by: Juan Zuluaga <[email protected]>
Signed-off-by: Juan Zuluaga <[email protected]>
Signed-off-by: Juan Zuluaga <[email protected]>
@juzuluag
Copy link
Contributor Author

juzuluag commented May 2, 2023

Still waiting on some updates to this PR prior to accepting the PR, primarily as the ADR is "accepted", so it can't be merged to be discussed. Other updates can come from the discussion once it's proposed formally.

@vaughanknight , document updated. Thanks

Copy link
Collaborator

@Willmish Willmish left a comment

Choose a reason for hiding this comment

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

LGTM

@Willmish Willmish merged commit e9885d7 into Green-Software-Foundation:dev May 10, 2023
YaSuenag pushed a commit to YaSuenag/carbon-aware-sdk that referenced this pull request May 27, 2023
…ynamic_data_sources

 ADR Dynamic DataSource Registration
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.

[Feature Contribution]: ADR Dynamic Data Source Registration
7 participants