-
Notifications
You must be signed in to change notification settings - Fork 76
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
Fix primary database not filter #295
Fix primary database not filter #295
Conversation
@patduin Could you help to take a look at this? It hasn't really changed anything. Let the primaly database be used as a filter, only for its configuration, not for all.It seems very important, for example, we only select some of the primaly databasese. |
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.
Please add some tests. Perhaps consider jUnit and WaggeDanceIntegrationTest for this usecase.
Sorry for late replay, I will add some tests later. |
@patduin hi,I have been very busy lately and finally have time to write. I have added a test, please help me review it. |
Thanks! So have I! No worries thanks for adding I'll try to find some time
coming week to have a look.
…On Thu, 2 Nov 2023, 12:45 tian bao, ***@***.***> wrote:
@patduin <https://github.com/patduin> hi,I have been very busy lately and
finally have time to write. I have added a test, please help me review it.
—
Reply to this email directly, view it on GitHub
<#295 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAP6JGH65I76FBX2MAHSQE3YCOBT3AVCNFSM6AAAAAA5HBEGPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJQGU3TEMRTGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
.../main/java/com/hotels/bdp/waggledance/mapping/service/impl/StaticDatabaseMappingService.java
Show resolved
Hide resolved
...t/java/com/hotels/bdp/waggledance/mapping/service/impl/StaticDatabaseMappingServiceTest.java
Show resolved
Hide resolved
@patduin Could you take a look at this. If ok, please merge it. |
Hi, I've been busy on this as it is a bit tricky. Thanks for writing the test that helped me understand what you were trying to fix! Looking into this I thought the use of this panoptic class was a bit weird as we do filtering already when we add the metastore to the list (using the Allowlist). Why is this all tricky? |
Closed in favour of: #302 |
📝 Description
When database-resolution set manual,primary database also config some database,so to determine whether to add the fed database, it should be necessary to filter out the ones that are not in the primary database.
🔗 Related Issues