-
Notifications
You must be signed in to change notification settings - Fork 6
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
Enh: refactoring repo organization #121
Conversation
What is our final decision about the |
I believe that our target is still to have a unique client class.... I see that we have a generic In the meantime, should I add a |
Yes meanwhile, I think we can add the client files. The purpose is in fact to create a generic client entrypoint like api_client that is only used by Yandex fr now. This was a feature developped by @benoitgoujon. |
I see ! So I should probably keep |
Thank you @gabrielleberanger, this is way cleaner. Regarding the decision about API clients. Indeed I had started something more generic for the Yandex reader, but this may not be possible for each reader and this is a long term vision. But one intermediary step could be to group clients from the same together. It would make sense, especially for Google readers. What do you think? |
yes indeed, it won't be possible for every readers. |
Yes of course! Let's keep our PR short 😜 |
Thank you for your clarification @benoitgoujon ! I also had some doubts on the fact that we would be able to standardize all clients into a single one, so grouping similar ones seems more realistic as preliminary step. I will detail this on Issue #69 😊 For now, I implemented the following structure:
Here is a zoom on the newly implemented
Does it make sense to you? Next steps As this PR implements a lot of changes, I would like to run test commands for each source/destination to make sure that it will not break anything in production when it will be released. Using "SG" credentials, I can test:
@tom-grivaud, if you are using sources/destinations that are not in this list, could you please provide me sample commands, so that I can make sure that everything goes well for "Si" also? Thank you! 😊 It will probably help you "trust" my changes more, so that you won't have to review the 180 changed files one by one 😛 |
Yes, would make perfect sense! Yes, we need to be careful on that before merging 👍 |
I launched test commands on all the sources/destinations @tom-grivaud and I are using, and it works fine 👌 |
README.md
Outdated
@@ -1,90 +1,65 @@ | |||
# Nautilus Connectors Kit | |||
|
|||
**NCK is a Command-Line Interface (CLI), allowing you to easily request, stream and store raw reports, from the API source to the destination of your choice.** | |||
**NCK is an ET(L) tool specialized in API data ingestion. It is accessible through a Command-Line Interface. The application allows you to easily extract, stream and load data (with minimum transformations), from the API source to the destination of your choice.** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really the "L" that is optional?
**NCK is an ET(L) tool specialized in API data ingestion. It is accessible through a Command-Line Interface. The application allows you to easily extract, stream and load data (with minimum transformations), from the API source to the destination of your choice.** | |
**NCK is an E(T)L tool specialized in API data ingestion. It is accessible through a Command-Line Interface. The application allows you to easily extract, stream and load data (with minimum transformations), from the API source to the destination of your choice.** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, thank you for spotting this!
@@ -181,21 +181,44 @@ How to develop a new reader | |||
|
|||
To create a new reader, you should: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not the purpose of this PR but the "Getting Started" is oriented towards contributions and not towards our end users. I'm wondering if it is a good thing. Maybe we should put this section in a "Contributing" section and create a real "Getting started" guide with info on installation and 1 or 2 simple commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! I'll create an issue for this matter.
I am good for merging, if you're fine with the changes 😊 Just a precision: in the end, I chose to keep all clients in the |
Issue
This PR addresses Issue #70.
Description
The purpose of this PR is to implement the following repo organization:
For now, I implemented it for
adobe
andadobe_2_0
readers.Before I replicate this structure to other readers, could you please confirm that this structure seems relevant to you?
Thank you!