GitHub user narendly opened a pull request:
https://github.com/apache/helix/pull/276
PR
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/narendly/helix master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/helix/pull/276.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #276
----
commit 1d32172a53224019b29a6098378daf066ee28e80
Author: Hunter Lee <hulee@...>
Date: 2018-10-29T22:50:04Z
[HELIX-767] TASK: Remove quotaType fields from Workflow and Job Beans
For a short while, we used quota type to denote the quota type of Task
Framework resources. However, we changed the design so that we are using the
workflowType and jobType fields respectively. There were places where the
quotaType field was left over in the codebase, and this RB cleans it up.
Changelist:
1. Remove all quotaType fields from Bean classes
2. Add the setting of workflowType in WorkflowBean when read into
Workflow.Builder
commit 65bb35090a90679cc0973d142a1d9a27d1522bbe
Author: Hunter Lee <hulee@...>
Date: 2018-10-29T22:54:04Z
[HELIX-768] TASK: Fix a bug in WorkflowAccessor
There was a bug in WorkflowAccessor where a JSON was submitted to for PUT
requests, it would created a WorkflowConfig based on the JSON but fails to
create a workflow with the config. This was preventing users to create
workflows via REST APIs properly.
Changelist:
1. Ensure that the configs submitted are reflected in the workflow being
created
commit 739adb0d6ed35d7281e1c4cbddcffda56a223689
Author: Hunter Lee <hulee@...>
Date: 2018-10-29T22:55:29Z
[HELIX-769] TASK2.0: Add PropertyKey APIs for new ZNode structure
workflow/job paths
As part of ZNode restructuring for Task Framework, we need a convenient way
to generate paths to read from and write to ZooKeeper. PropertyKey was already
being used for this purpose for the most part throughout Helix, so these APIs
were added in PropertyKey and PropertyPathBuilder.
Changelist:
1. Add path generation APIs for Task Framework resources in PropertyKey
2. Add a unit test for the new APIs
----
---