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

ARPBE-68: Support for blanking fields through the REST API. #394

Merged
merged 2 commits into from
Mar 7, 2023

Conversation

scriptom
Copy link
Contributor

Added an overload of the BullhornData.updateEntity method to allow client code to set certain fields to NULL via the REST API.

To accomplish this, a new Jackson JSON filter has been created (See DynamicNullValueFilter.java) which takes a set of fields that should be included in the update regardless of their value. Users should be careful and make sure any NULL values come from setting the field to NULL explicitly, and not having forgotten to include the field when querying (for example when using BullhornData.findEntity / BullhornData.queryForList / BullhornData.searchForList

@scriptom scriptom changed the base branch from master to f/java17 January 4, 2023 21:24
@scriptom scriptom changed the title NOJIRA: Support for blanking fields through the REST API. PS-31583: Support for blanking fields through the REST API. Jan 5, 2023
pom.xml Outdated Show resolved Hide resolved
@taswartz
Copy link
Collaborator

Why are updates to the PersonCustomObjectInstance26 included in these changes? It doesn't seem necessary for the null values updates

@scriptom
Copy link
Contributor Author

@taswartz The PCOI files were included because I merged the master branch instead of rebasing. I rebased this branch onto the java-17 branch.

@scriptom scriptom changed the title PS-31583: Support for blanking fields through the REST API. ARPBE-68: Support for blanking fields through the REST API. Feb 28, 2023
Added an overload of the `BullhornData.updateEntity` method to allow client code to set certain fields to NULL via the REST API.

To accomplish this, a new Jackson JSON filter has been created (See DynamicNullValueFilter.java) which takes a set of fields that should be included in the update regardless of their value. Users should be careful and make sure any NULL values come from setting the field to NULL explicitly, and not having forgotten to include the field when querying (for example when using `BullhornData.findEntity` / `BullhornData.queryForList` / `BullhornData.searchForList`
@johnsully83 johnsully83 merged commit 144c195 into bullhorn:f/java17 Mar 7, 2023
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.

None yet

3 participants