-
Notifications
You must be signed in to change notification settings - Fork 12
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/untangle dataset registry and meta storage #3502
Feature/untangle dataset registry and meta storage #3502
Conversation
@Getter | ||
protected final DatasetRegistry<? extends Namespace> datasetRegistry; |
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.
@awildturtok this went away
@Getter | ||
@Setter | ||
private MetaStorage metaStorage; | ||
|
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.
@awildturtok and this went away
aa0004e
to
ca8b0eb
Compare
@@ -42,7 +38,7 @@ public T deserialize(JsonParser parser, DeserializationContext ctxt) throws IOEx | |||
ID id = ctxt.readValue(parser, idClass); | |||
|
|||
try { | |||
final CentralRegistry centralRegistry = CentralRegistry.get(ctxt); | |||
final CentralRegistry centralRegistry = MetaStorage.get(ctxt).getCentralRegistry(); |
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.
würde es sich anbieten die CentralRegistry umzubennen, wenn sie hier nur für die MetaIds verantwortlich ist?
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.
also => Registry
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.
Ich würde davon absehen, da die CentralRegistry mit dem Caching verschwindet
Before DatasetRegistry and MetaStorage each referenced each other which complicated instantiation and initialization.
Now:
@awildturtok you can review it but I'll want to rebase this PR onto develop so that it is more independent from the other caching related PRs