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

Serialize blacklisted map keys with the model + updated access on workflow/model members #320

Merged
merged 4 commits into from
May 15, 2019

Conversation

tovbinm
Copy link
Collaborator

@tovbinm tovbinm commented May 15, 2019

Related issues
We currently do not serialize backlisted map keys computed in RFF with the model.

Describe the proposed solution

  1. Serialize blacklisted map keys with the model
  2. Bonus: updated access on workflow/model members

Describe alternatives you've considered
NA

@codecov
Copy link

codecov bot commented May 15, 2019

Codecov Report

Merging #320 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
+ Coverage   86.43%   86.44%   +0.01%     
==========================================
  Files         327      327              
  Lines       10593    10602       +9     
  Branches      354      336      -18     
==========================================
+ Hits         9156     9165       +9     
  Misses       1437     1437
Impacted Files Coverage Δ
...salesforce/op/stages/impl/feature/TimePeriod.scala 0% <ø> (ø) ⬆️
.../src/main/scala/com/salesforce/op/OpWorkflow.scala 87.5% <100%> (ø) ⬆️
...main/scala/com/salesforce/op/OpWorkflowModel.scala 93.97% <100%> (ø) ⬆️
...cala/com/salesforce/op/OpWorkflowModelReader.scala 94.82% <100%> (+0.38%) ⬆️
.../main/scala/com/salesforce/op/OpWorkflowCore.scala 95.45% <100%> (+0.29%) ⬆️
...cala/com/salesforce/op/OpWorkflowModelWriter.scala 100% <100%> (ø) ⬆️
...com/salesforce/op/local/OpWorkflowModelLocal.scala 97.36% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18a9243...074a67f. Read the comment docs.

Copy link
Contributor

@Jauntbox Jauntbox left a comment

Choose a reason for hiding this comment

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

LGTM - one small comment

*
* @return raw features for workflow
*/
final def getRawFeatures(): Array[OPFeature] = rawFeatures
Copy link
Contributor

Choose a reason for hiding this comment

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

woo! 👍

new OpWorkflowModel(wf.uid, wf.getParameters())
.setStages(wf.getStages())
.setFeatures(wf.getResultFeatures())
.setParameters(wf.getParameters())
.setRawFeatureFilterResults(rawFeatureFilterResults)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have a getRawFeatureFilterResults()?

@tovbinm tovbinm merged commit 6f55dee into master May 15, 2019
@tovbinm tovbinm deleted the mt/blacklisted-map-keys branch May 15, 2019 21:37
This was referenced Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants