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 support to link a tld to a child IBDO for inheriting parameters #919

Closed
wants to merge 6 commits into from

Conversation

rpg36
Copy link
Collaborator

@rpg36 rpg36 commented Sep 9, 2024

An effort to link children to the top level document to inherit their metadata instead of copying it down.

@rpg36 rpg36 requested a review from fbruton September 9, 2024 22:58
src/main/java/emissary/core/BaseDataObject.java Outdated Show resolved Hide resolved
src/main/java/emissary/core/BaseDataObject.java Outdated Show resolved Hide resolved
…nherited keys and moved it into the helper method, changed parameter inheritance ordering logic
@rpg36 rpg36 marked this pull request as ready for review September 11, 2024 20:49
src/main/java/emissary/core/DataObjectFactory.java Outdated Show resolved Hide resolved
src/main/java/emissary/core/DataObjectFactory.java Outdated Show resolved Hide resolved
src/main/java/emissary/core/DataObjectFactory.java Outdated Show resolved Hide resolved
@jpdahlke jpdahlke added the framework This change will impact the core framework label Sep 13, 2024
@jpdahlke jpdahlke requested a review from fbruton September 13, 2024 12:46
@jpdahlke jpdahlke added this to the v8.15.0 milestone Sep 30, 2024
@jpdahlke jpdahlke modified the milestones: v8.15.0, v8.16.0, v8.17.0 Oct 18, 2024
@dev-mlb dev-mlb added the rebase Things have happened and now a rebase is needed label Oct 25, 2024
@@ -288,6 +292,28 @@ public BaseDataObject(final byte[] newData, final String name, final String form
}
}

public BaseDataObject(final byte[] newData, final String name, @Nullable final String form, IBaseDataObject tld) {
setData(newData);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any reason not to use this(newData, name, form);? Do you not want the creation timestamp set??

@jpdahlke jpdahlke modified the milestones: v8.17.0, v8.18.0 Nov 7, 2024
@rpg36 rpg36 closed this Nov 25, 2024
@rpg36 rpg36 deleted the tld_inheritance branch November 25, 2024 16:15
@jpdahlke jpdahlke removed this from the v8.18.0 milestone Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework This change will impact the core framework rebase Things have happened and now a rebase is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants