helix.git
8 days agoAdd Types for Ideal State, fix Payload Format (#2168) master
Micah Stubbs [Tue, 28 Jun 2022 00:45:44 +0000 (17:45 -0700)] 
Add Types for Ideal State, fix Payload Format (#2168)

Add types for IdealState in helix-front. Fix an associated JSON serialization bug.

11 days agoimplement util for cloud event (#2149)
xyuanlu [Fri, 24 Jun 2022 16:09:47 +0000 (09:09 -0700)] 
implement util for cloud event (#2149)

This change add implementation for HelixCloudEventUtil.

12 days agoresolve yargs-parser dependency ReDos security vulnerability [helix-front] (#2164)
Micah Stubbs [Thu, 23 Jun 2022 16:28:20 +0000 (09:28 -0700)] 
resolve yargs-parser dependency ReDos security vulnerability [helix-front] (#2164)

Remove helix-front dependency @angular-eslint/builder to resolve security vulnerability
in one of its dependencies, yargs-parser.

2 weeks agoUpdate UI for Node Ideal State [helix-front] (#2162)
Micah Stubbs [Tue, 21 Jun 2022 21:30:26 +0000 (14:30 -0700)] 
Update UI for Node Ideal State [helix-front] (#2162)

Enable Ideal State updates through the Helix UI.

2 weeks agoAdd AclRegister interfaces and ClusterAccessor integration (#2153)
Neal Sun [Tue, 21 Jun 2022 17:48:32 +0000 (10:48 -0700)] 
Add AclRegister interfaces and ClusterAccessor integration (#2153)

Add AclRegister interfaces and ClusterAccessor integration

2 weeks agoAutomatic code formatting for helix-front (#2157)
Micah Stubbs [Thu, 16 Jun 2022 01:38:36 +0000 (18:38 -0700)] 
Automatic code formatting for helix-front (#2157)

Add automatic formatting for JavaScript, TypeScript, JSON, CSS, and HTML files in the helix-front module.

2 weeks agoDelete Cluster UI [helix-front] (#2159)
Micah Stubbs [Thu, 16 Jun 2022 01:37:36 +0000 (18:37 -0700)] 
Delete Cluster UI [helix-front] (#2159)

Enable deleting a cluster from the cluster detail page in the UI.

2 weeks agohelix-front: fix tsickle git hash bug (#2151)
Micah Stubbs [Wed, 15 Jun 2022 22:29:30 +0000 (15:29 -0700)] 
helix-front: fix tsickle git hash bug (#2151)

Remove obsolete helix-front dependency tsickle to resolve issue installing from a git hash when using an JFrog Artifactory private JavaScript package registry.

2 weeks agofix e2e tests for helix-front (#2144)
Micah Stubbs [Wed, 15 Jun 2022 18:49:12 +0000 (11:49 -0700)] 
fix e2e tests for helix-front (#2144)

Fix the helix-front end to end tests by replacing the deprecated Protractor testing library with Cypress

3 weeks agoUpdate menu bar and update release note
Junkai Xue [Thu, 9 Jun 2022 21:21:14 +0000 (14:21 -0700)] 
Update menu bar and update release note

Remove 1.0.3 docs

3 weeks agoDisable Helix front to save build
Junkai Xue [Thu, 9 Jun 2022 21:15:41 +0000 (14:15 -0700)] 
Disable Helix front to save build

3 weeks ago[maven-release-plugin] prepare for next development iteration
Junkai Xue [Thu, 9 Jun 2022 20:33:19 +0000 (13:33 -0700)] 
[maven-release-plugin] prepare for next development iteration

3 weeks ago[maven-release-plugin] prepare release helix-1.0.4 helix-1.0.4
Junkai Xue [Thu, 9 Jun 2022 20:33:04 +0000 (13:33 -0700)] 
[maven-release-plugin] prepare release helix-1.0.4

3 weeks agoConfigure helix-front Maven project to install yarn (#2145)
Micah Stubbs [Thu, 9 Jun 2022 20:10:42 +0000 (13:10 -0700)] 
Configure helix-front Maven project to install yarn (#2145)

Configure helix-front Maven project to install yarn

3 weeks agoEnable helix-front for release
Junkai Xue [Thu, 9 Jun 2022 01:16:15 +0000 (18:16 -0700)] 
Enable helix-front for release

3 weeks agoRevert "[maven-release-plugin] prepare release helix-1.0.4"
Junkai Xue [Thu, 9 Jun 2022 01:14:55 +0000 (18:14 -0700)] 
Revert "[maven-release-plugin] prepare release helix-1.0.4"

This reverts commit 616deb41d84da1a2aced8b6de9b43b73d843e985.

3 weeks agoRevert "[maven-release-plugin] prepare for next development iteration"
Junkai Xue [Thu, 9 Jun 2022 01:14:20 +0000 (18:14 -0700)] 
Revert "[maven-release-plugin] prepare for next development iteration"

This reverts commit 5c95dfb176131d2f8c7f18c6a21c4b1133fe72d3.

3 weeks agoImprove doc style
Junkai Xue [Fri, 13 May 2022 04:29:58 +0000 (21:29 -0700)] 
Improve doc style

4 weeks agoClean format for disabled instances in ClusterConfig (#2106)
xyuanlu [Mon, 6 Jun 2022 19:04:43 +0000 (12:04 -0700)] 
Clean format for disabled instances in ClusterConfig (#2106)

We reverted enabling batch mode for instance enable/disable. This change hooks readData stage when controller starts in the first place and will clean up batch enabled field in cluster config.
This change should be reverted after next next version. (1.0.5.0 +)

4 weeks agoUpgrade helix-front to Angular 13.3 (#2132)
Micah Stubbs [Fri, 3 Jun 2022 21:10:01 +0000 (14:10 -0700)] 
Upgrade helix-front to Angular 13.3 (#2132)

Fix security vulnerabilities in helix-front dependencies.
Upgrade helix-front dependencies to improve contributor productivity.

4 weeks agoAdd TTL and Container Modes to ZkClient and BaseDataAccessor APIs (#2138)
Ramin Bashizade [Fri, 3 Jun 2022 20:14:46 +0000 (13:14 -0700)] 
Add TTL and Container Modes to ZkClient and BaseDataAccessor APIs (#2138)

Add TTL and Container Modes to ZkClient and BaseDataAccessor APIs

4 weeks agoUpgrade helix-front to Angular 12.2 (#2131)
Micah Stubbs [Fri, 3 Jun 2022 19:49:18 +0000 (12:49 -0700)] 
Upgrade helix-front to Angular 12.2  (#2131)

Fix security vulnerabilities in helix-front dependencies.
Upgrade helix-front dependencies to improve contributor productivity.

4 weeks agoRevert and disable batch enable/disable functionality (#2134)
Qi (Quincy) Qu [Fri, 3 Jun 2022 18:47:34 +0000 (11:47 -0700)] 
Revert and disable batch enable/disable functionality (#2134)

Revert and disable batch enable/disable functionality
Disable batch mode and remove related methods to fix backward compatibility issues introduced in 1.0.3

4 weeks agoUpgrade helix-front to Angular 11.2 (#2130)
Micah Stubbs [Fri, 3 Jun 2022 18:06:24 +0000 (11:06 -0700)] 
Upgrade helix-front to Angular 11.2 (#2130)

Fix security vulnerabilities in helix-front dependencies.
Upgrade helix-front dependencies to improve contributor productivity.

4 weeks agoAdd HelixEventHandlingUtil and use that util for cloud event - Add API (#2127)
xyuanlu [Fri, 3 Jun 2022 17:27:32 +0000 (10:27 -0700)] 
Add HelixEventHandlingUtil and use that util for cloud event - Add API (#2127)

Previously helix event handling depends on batch enable/disable instance. We would like to move away the dependence on generic batch enable/disable instance and use a dedicated Util only for event handling use case. This change adds API signature for util functions/

4 weeks agoUpgrade helix-front to Angular 10.2 (#2129)
Micah Stubbs [Thu, 2 Jun 2022 22:16:20 +0000 (15:16 -0700)] 
Upgrade helix-front to Angular 10.2 (#2129)

Fix security vulnerabilities in helix-front dependencies.
Upgrade helix-front dependencies to improve contributor productivity.

4 weeks agoUpgrade helix-front to Angular 9.1 (#2125)
Micah Stubbs [Thu, 2 Jun 2022 19:54:49 +0000 (12:54 -0700)] 
Upgrade helix-front to Angular 9.1 (#2125)

Fix security vulnerabilities in helix-front dependencies.
Upgrade helix-front dependencies to improve contributor productivity.

4 weeks agoAllow using passed in connection config when reading cloud config (#2099)
xyuanlu [Thu, 2 Jun 2022 18:46:53 +0000 (11:46 -0700)] 
Allow using passed in connection config when reading cloud config (#2099)

This change allow user to pass in zooScalability config and initiate zkHelixManager using the passed in config. We only read from env variable before this change.

4 weeks ago Support register user defined CloudEventHandler when participant connect. (#2121)
xyuanlu [Thu, 2 Jun 2022 18:46:33 +0000 (11:46 -0700)] 
 Support register user defined CloudEventHandler when participant connect. (#2121)

This change will load user defined CloudEventHandler dynamically when ZkHelixManager.connect(). User need to implement a EventController and pass the class name when initiating ZkHelixManager.

4 weeks agoFix issue #2117: improve efficiency of ClusterStatusMonitor and PerInstanceResourceMo...
Richard Startin [Thu, 2 Jun 2022 00:11:18 +0000 (02:11 +0200)] 
Fix issue #2117: improve efficiency of ClusterStatusMonitor and PerInstanceResourceMonitor, plus misc code cleanup (#2118)

4 weeks agoUpgrade helix-front to Angular 8.2 (#2089)
Micah Stubbs [Thu, 2 Jun 2022 00:09:33 +0000 (17:09 -0700)] 
Upgrade helix-front to Angular 8.2 (#2089)

* ng update @angular/cli --from=5.2.11 --to=6 --migrate-only

* npm i -D rxjs-tslint, add rxjs specific linting rules, add lint:tslint alternative linting script

* npm install @angular/cdk@6.1.0

* npm install @angular/{animations,cdk,common,compiler,compiler-cli,core,forms,material,platform-browser,platform-browser-dynamic,platform-server,router}@6.1.0

* npm i ajv@6.9.1

* npm i codelyzer@6.0.1

* npm i ngx-clipboard@11.1.5

* npm i tsickle@0.32.1

* restore rxjs-compat@6.0.0-rc.0 to fix rxjs issue at npm run build

* register proxy.conf.json in ng serve builder in angular.json

* WIP state with new Reactive Form

* Revert "WIP state with new Reactive Form"

This reverts commit f9e2e375773b8e4428e2a887234d482b591682bb.

* upgrade to typescript@^3.2.4

* pin typescript at 3.2.4

* npm i tsickle@0.34.2

* npm i @swimlane/ngx-datatable@14.0.0

* npm i @swimlane/ngx-graph@6.0.0-rc.2

* manually upgrade to Angular 8.2.14 and associated major deps

* fix new TypeScript errors

* update bundle target to ES2015 since Angular 8 now automatically creates an ES5 compat build too

* @ViewChild {static: true}

* NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@8 update @angular/material@8 --force

* use @angular/core@8.2.3 and friends, fix bad upgrade script that jumped ahead to v9

* npm i typescript@3.5.3

* npm i zone.js@~0.9.1

* npm i tsickle@0.37.0

* npm i @angular/flex-layout@8.0.0-beta.27

* npm i @swimlane/ngx-datatable@16.0.0

* npm i @ngtools/webpack@9.0.0-next.7

* npm uninstall node-sass && npm i sass

* nvm use 10.9.0 && npm i

* manually update material imports, use deep imports

* npm i -D @angular-devkit/build-angular@0.803.29

* npm i ngx-clipboard@12.1.2

* npm i @swimlane/ngx-charts@13.0.4

* npm i @swimlane/ngx-graph@7.0.0

* npm i @swimlane/ngx-datatable@16.0.3

* npm i @swimlane/ngx-datatable@16.1.0

* update ngx-datatable style paths: no longer a release folder

* add trailing newline to tsconfig

* Upgrade helix-front to Angular 8.2 Fix #2088

    Fix security vulnerabilities in helix-front dependencies.
    Upgrade helix-front dependencies to improve contributor productivity.

4 weeks agoUpgrade helix-front to Angular 7.2 (#2087)
Micah Stubbs [Wed, 1 Jun 2022 21:22:36 +0000 (14:22 -0700)] 
Upgrade helix-front to Angular 7.2 (#2087)

Fix security vulnerabilities in helix-front dependencies.
Upgrade helix-front dependencies to improve contributor productivity.

4 weeks agoupgrade helix-front to Angular 6.1 (#2083)
Micah Stubbs [Wed, 1 Jun 2022 17:30:34 +0000 (10:30 -0700)] 
upgrade helix-front to Angular 6.1 (#2083)

Fix security vulnerabilities in helix-front dependencies.
Upgrade helix-front dependencies to improve contributor productivity.

5 weeks agoFix static instance bug in DistViewAggregatorStateModel (#2124)
Qi (Quincy) Qu [Tue, 31 May 2022 19:35:57 +0000 (12:35 -0700)] 
Fix static instance bug in DistViewAggregatorStateModel (#2124)

Change to use non-static reference in statemodel

5 weeks agoClean up after TestAuthValidator -- fix TestClusterAccessor (#2097)
xyuanlu [Tue, 31 May 2022 18:16:27 +0000 (11:16 -0700)] 
Clean up after TestAuthValidator --  fix TestClusterAccessor (#2097)

Clean up after TestAuthValidator --  fix TestClusterAccessor

5 weeks agoReduce helix controller log and minor code improve (#2102)
Qi (Quincy) Qu [Fri, 27 May 2022 17:11:27 +0000 (10:11 -0700)] 
Reduce helix controller log and minor code improve (#2102)

Turn down a few log level to DEBUG and reduce duplicated logs

5 weeks agoCleanup ivy file in helix-view-aggregator (#2110)
Qi (Quincy) Qu [Fri, 27 May 2022 17:10:58 +0000 (10:10 -0700)] 
Cleanup ivy file in helix-view-aggregator (#2110)

Remove unused code block

5 weeks agoupgrade helix-front from Angular 5.1 to 5.2 (#2108)
Micah Stubbs [Thu, 26 May 2022 17:08:42 +0000 (10:08 -0700)] 
upgrade helix-front from Angular 5.1 to 5.2 (#2108)

Incremental progress towards the goal of upgrading helix-front to the current version of Angular.

6 weeks agoFix incompatible issue for clusterConfig mapfields disabledInstances (#2100)
xyuanlu [Wed, 18 May 2022 20:16:34 +0000 (13:16 -0700)] 
Fix incompatible issue for clusterConfig mapfields disabledInstances (#2100)

Fix incompatible issue for clusterConfig mapfields

7 weeks agoremove missing helix-front tslint linting rules to fix warnings (#2077)
Micah Stubbs [Tue, 17 May 2022 17:56:28 +0000 (10:56 -0700)] 
remove missing helix-front tslint linting rules to fix warnings (#2077)

remove missing helix-front tslint linting rules to fix warnings

7 weeks agospecify known working nodejs and npm versions in package.json (#2074)
Micah Stubbs [Tue, 17 May 2022 17:55:56 +0000 (10:55 -0700)] 
specify known working nodejs and npm versions in package.json (#2074)

helix-front: specify known working nodejs and npm versions in package.json

7 weeks agoDefine development process
Junkai Xue [Thu, 12 May 2022 05:27:11 +0000 (22:27 -0700)] 
Define development process

7 weeks agoUpdate pom and update ivy files
Junkai Xue [Thu, 12 May 2022 05:05:23 +0000 (22:05 -0700)] 
Update pom and update ivy files

7 weeks agoRelease note for 1.0.4
Junkai Xue [Thu, 12 May 2022 05:03:25 +0000 (22:03 -0700)] 
Release note for 1.0.4

7 weeks ago[maven-release-plugin] prepare for next development iteration
Junkai Xue [Thu, 12 May 2022 03:27:41 +0000 (20:27 -0700)] 
[maven-release-plugin] prepare for next development iteration

7 weeks ago[maven-release-plugin] prepare release helix-1.0.4
Junkai Xue [Thu, 12 May 2022 03:27:26 +0000 (20:27 -0700)] 
[maven-release-plugin] prepare release helix-1.0.4

7 weeks agoEnable helix-front for release
Junkai Xue [Thu, 12 May 2022 02:58:00 +0000 (19:58 -0700)] 
Enable helix-front for release

7 weeks agoRevert "[maven-release-plugin] prepare release helix-1.0.4"
Junkai Xue [Thu, 12 May 2022 02:56:12 +0000 (19:56 -0700)] 
Revert "[maven-release-plugin] prepare release helix-1.0.4"

This reverts commit ef684139187f2a33c1941e4075e76f8c2c104746.

7 weeks agoRevert "[maven-release-plugin] prepare for next development iteration"
Junkai Xue [Thu, 12 May 2022 02:55:55 +0000 (19:55 -0700)] 
Revert "[maven-release-plugin] prepare for next development iteration"

This reverts commit 013042e97b82e4d7a4556988b310379f20955987.

7 weeks ago[maven-release-plugin] prepare for next development iteration
Junkai Xue [Thu, 12 May 2022 01:27:06 +0000 (18:27 -0700)] 
[maven-release-plugin] prepare for next development iteration

7 weeks ago[maven-release-plugin] prepare release helix-1.0.4
Junkai Xue [Thu, 12 May 2022 01:26:52 +0000 (18:26 -0700)] 
[maven-release-plugin] prepare release helix-1.0.4

7 weeks agoFix release URL
Junkai Xue [Thu, 12 May 2022 01:18:48 +0000 (18:18 -0700)] 
Fix release URL

8 weeks agoRefactor bump-up.command script and add helix-view-aggregator (#2086)
Qi (Quincy) Qu [Tue, 10 May 2022 20:25:49 +0000 (13:25 -0700)] 
Refactor bump-up.command script and add helix-view-aggregator (#2086)

Refactor bump-up.command script and add helix-view-aggregator

2 months agoFix race condition between instance drop and participant history update (#2073)
Qi (Quincy) Qu [Tue, 3 May 2022 21:38:40 +0000 (14:38 -0700)] 
Fix race condition between instance drop and participant history update (#2073)

Fix race condition between instance drop and participant history update

2 months agoIssue #1970: allow clients to prevent HelixProperty from cloning the ZNRecord (#2072)
Richard Startin [Thu, 28 Apr 2022 23:42:52 +0000 (00:42 +0100)] 
Issue #1970: allow clients to prevent HelixProperty from cloning the ZNRecord (#2072)

2 months agofix issue #2064: bug where RuntimeJobDag.generateJobList could loop until parallelism...
Richard Startin [Thu, 28 Apr 2022 16:50:14 +0000 (17:50 +0100)] 
fix issue #2064: bug where RuntimeJobDag.generateJobList could loop until parallelism is reached when in JobQueue mode (#2065)

2 months agoMaintenanceManagementService improvement - Allow implementation of OperationInterfac...
xyuanlu [Wed, 27 Apr 2022 22:42:51 +0000 (15:42 -0700)] 
MaintenanceManagementService  improvement - Allow implementation of OperationInterface to return null (#2035)

Allow implementation of OperationInterface to return null

2 months agosupport common input for operational input on Maintenance Management API (#2055)
xyuanlu [Wed, 27 Apr 2022 22:42:34 +0000 (15:42 -0700)] 
support common input for operational input on Maintenance Management API  (#2055)

support common input for operational input on Maintenance Management API

2 months agoDo not proceed with cluster creation if addCluster() fails. (#2068)
Komal Desai [Wed, 27 Apr 2022 22:42:08 +0000 (15:42 -0700)] 
Do not proceed with cluster creation if addCluster() fails. (#2068)

In Helix-Tools - ClusterSetup::addCluster() doesn't check return value
of HelixAdmin::addCluster() method. It proceeds even when the call
returns failure.
Check the return status of addCluster() and throw an exception if cluster creation fails.

2 months agoMore term cleanup for tutorial website (#2059)
Qi (Quincy) Qu [Wed, 27 Apr 2022 22:41:06 +0000 (15:41 -0700)] 
More term cleanup for tutorial website (#2059)

2 months agomove to Apache Analytics(Matomo)
Olivier Lamy [Mon, 25 Apr 2022 08:13:54 +0000 (18:13 +1000)] 
move to Apache Analytics(Matomo)

Signed-off-by: Olivier Lamy <olamy@apache.org>
2 months agouse reflow version just released and working with recent version maven-site-plugin
Olivier Lamy [Mon, 25 Apr 2022 08:02:49 +0000 (18:02 +1000)] 
use reflow version just released and working with recent version maven-site-plugin

Signed-off-by: Olivier Lamy <olamy@apache.org>
2 months agofix website deployment
Olivier Lamy [Sat, 23 Apr 2022 04:39:46 +0000 (14:39 +1000)] 
fix website deployment

Signed-off-by: Olivier Lamy <olamy@apache.org>
2 months agoFix release note for Log4j version
Junkai Xue [Fri, 22 Apr 2022 21:35:40 +0000 (14:35 -0700)] 
Fix release note for Log4j version

2 months agoUpdate menu bar
Junkai Xue [Thu, 21 Apr 2022 21:29:45 +0000 (14:29 -0700)] 
Update menu bar

2 months agoAdd bump snapshot script and bump snapshort
Junkai Xue [Thu, 21 Apr 2022 21:19:58 +0000 (14:19 -0700)] 
Add bump snapshot script and bump snapshort

2 months agoupgrade xstream to security issues (#2046)
PJ Fanning [Wed, 20 Apr 2022 21:48:29 +0000 (23:48 +0200)] 
upgrade xstream to security issues (#2046)

2 months agoReplace non-inclusive terms in quickstart (#2050)
Qi (Quincy) Qu [Wed, 20 Apr 2022 20:55:40 +0000 (13:55 -0700)] 
Replace non-inclusive terms in quickstart (#2050)

2 months ago[issue-1728] upgrade guava due to cve (#2042)
PJ Fanning [Tue, 19 Apr 2022 18:21:45 +0000 (20:21 +0200)] 
[issue-1728] upgrade guava due to cve (#2042)

2 months agoupgrade jackson to 2.12.6.1 due to cve (#2043)
PJ Fanning [Tue, 19 Apr 2022 18:21:11 +0000 (20:21 +0200)] 
upgrade jackson to 2.12.6.1 due to cve (#2043)

2 months agoAdd 1.0.3 releasenote
Junkai Xue [Mon, 18 Apr 2022 22:18:22 +0000 (15:18 -0700)] 
Add 1.0.3 releasenote

2 months agoReplace non-inclusive terms in tutorial.md (#2039)
Qi (Quincy) Qu [Mon, 18 Apr 2022 17:57:29 +0000 (10:57 -0700)] 
Replace non-inclusive terms in tutorial.md (#2039)

2 months agoCode refactor and cleanup on instance validation (#2032)
Qi (Quincy) Qu [Mon, 18 Apr 2022 17:57:15 +0000 (10:57 -0700)] 
Code refactor and cleanup on instance validation (#2032)

Unify the usage of checking instance enable/disable using InstanceValidationUtil

2 months agoFixed size history for Scheduled Workflow tasks (#2036)
Komal Desai [Sat, 16 Apr 2022 22:31:19 +0000 (15:31 -0700)] 
Fixed size history for Scheduled Workflow tasks (#2036)

Once we execute scheduled workflow task, we append entry to history.
Each entry is of the format "<taskname>-<timestamp>"

But we never purged old entries.
This will result in hitting size limit of Znode.

Introducing fixed size history of 20 and purge all the previous entries.

2 months agoupgrade snakeyaml to v1.30 due to cve (#2041)
PJ Fanning [Sat, 16 Apr 2022 22:30:31 +0000 (00:30 +0200)] 
upgrade snakeyaml to v1.30 due to cve (#2041)

2 months ago[issue-1727] upgrade to commons-io 2.11.0 due to cve (#2040)
PJ Fanning [Sat, 16 Apr 2022 22:29:52 +0000 (00:29 +0200)] 
[issue-1727] upgrade to commons-io 2.11.0 due to cve (#2040)

2 months agoRemove temp file
Junkai Xue [Fri, 15 Apr 2022 08:10:45 +0000 (01:10 -0700)] 
Remove temp file

2 months agoFix website deployment
Junkai Xue [Fri, 15 Apr 2022 07:24:42 +0000 (00:24 -0700)] 
Fix website deployment

2 months agoRemove archived versions
Junkai Xue [Thu, 14 Apr 2022 19:02:38 +0000 (12:02 -0700)] 
Remove archived versions

2 months agoUpdate dependencies and fix compile errors
Qi (Quincy) Qu [Tue, 5 Apr 2022 23:21:06 +0000 (16:21 -0700)] 
Update dependencies and fix compile errors

Unit test fix and code style improvement.

2 months agoHELIX-1233: fix broken test in helix view aggregator module
Harry Zhang [Fri, 10 Aug 2018 20:26:36 +0000 (13:26 -0700)] 
HELIX-1233: fix broken test in helix view aggregator module

RB=1388194
BUG=HELIX-1233
G=helix-reviewers
R=jxue,lxia,jjwang,hulee
A=lxia

2 months agominor improvements
Harry Zhang [Tue, 8 May 2018 19:27:44 +0000 (12:27 -0700)] 
minor improvements

RB=1304338
G=helix-reviewers
R=lxia,jjwang,jxue,erkim
A=jjwang

2 months agoHELIX-711: implement distributed state model for helix view aggregator
Harry Zhang [Fri, 27 Apr 2018 21:19:19 +0000 (14:19 -0700)] 
HELIX-711: implement distributed state model for helix view aggregator

RB=1295025
BUG=HELIX-711
G=helix-reviewers
R=lxia,jjwang,jxue,erkim
A=lxia,jjwang

2 months agoHELIX-708: adding basic metrics to HelixViewAggregator
hrzhang [Fri, 2 Mar 2018 02:46:54 +0000 (18:46 -0800)] 
HELIX-708: adding basic metrics to HelixViewAggregator

RB=1237803
BUG=HELIX-708
G=helix-reviewers
R=lxia,jjwang,jxue,erkim
A=jjwang

2 months agoHELIX-797: add mssing package def to helix-view-aggregator's pom and ivy files
hrzhang [Tue, 27 Feb 2018 19:34:25 +0000 (11:34 -0800)] 
HELIX-797: add mssing package def to helix-view-aggregator's pom and ivy files

RB=1233804
BUG=HELIX-797
G=helix-reviewers
R=lxia,jjwang,jxue,erkim
A=jjwang

2 months agoChange RoutingTableProvider to support direct aggregating routing information from...
Lei Xia [Tue, 13 Feb 2018 18:15:55 +0000 (10:15 -0800)] 
Change RoutingTableProvider to support direct aggregating routing information from CurrentStates in each liveinstance. When sourceDataType is set as CurrentState, RoutingTableProvider will listen on CurrentStateChanges and refresh routing table from CurrentStates upon changes.

RB=1221442
G=helix-reviewers
A=jxue

2 months agoHELIX-705: Implement ViewClusterRefresher logic and tests
hrzhang [Tue, 6 Feb 2018 04:30:39 +0000 (20:30 -0800)] 
HELIX-705: Implement ViewClusterRefresher logic and tests

RB=1213810
BUG=HELIX-776
G=helix-reviewers
R=lxia,jjwang,jxue,erkim
A=jjwang,jxue

2 months agoHELIX-705: implemented SourceClusterDataProvider's core logic and related tests
hrzhang [Tue, 6 Feb 2018 19:21:27 +0000 (11:21 -0800)] 
HELIX-705: implemented SourceClusterDataProvider's core logic and related tests

RB=1205694
BUG=HELIX-775
G=helix-reviewers
R=lxia,jjwang,jxue,erkim
A=jjwang

2 months agoHELIX-705: implement view cluster config change related logics and tests
hrzhang [Wed, 24 Jan 2018 01:55:23 +0000 (17:55 -0800)] 
HELIX-705: implement view cluster config change related logics and tests

RB=1205359
BUG=HELIX-705
G=helix-reviewers
R=lxia,jjwang,jxue,erkim
A=lxia

2 months agoHELIX-705: create interfaces and interactions among HelixViewAggregator components
hrzhang [Wed, 24 Jan 2018 01:55:23 +0000 (17:55 -0800)] 
HELIX-705: create interfaces and interactions among HelixViewAggregator components

RB=1205300
BUG=HELIX-705
G=helix-reviewers
R=lxia,jjwang,jxue,erkim
A=jjwang,jxue

2 months agoHELIX-705: created project infrastructure for helix-view-aggregator module
hrzhang [Wed, 24 Jan 2018 01:02:31 +0000 (17:02 -0800)] 
HELIX-705: created project infrastructure for helix-view-aggregator module

RB=1202163
BUG=HELIX-705
G=helix-reviewers
R=lxia,jjwang,jxue,erkim
A=jxue

2 months agoBump jackson-databind in /metadata-store-directory-common (#2029)
dependabot[bot] [Mon, 11 Apr 2022 17:48:08 +0000 (13:48 -0400)] 
Bump jackson-databind in /metadata-store-directory-common (#2029)

Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.11.0 to 2.12.6.1.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoBump moment from 2.22.2 to 2.29.2 in /helix-front (#2025)
dependabot[bot] [Mon, 11 Apr 2022 14:15:51 +0000 (10:15 -0400)] 
Bump moment from 2.22.2 to 2.29.2 in /helix-front (#2025)

Bumps [moment](https://github.com/moment/moment) from 2.22.2 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.22.2...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoImplement DefaultCloudEventCallbackImpl (#1995)
Molly Gao [Wed, 6 Apr 2022 17:53:45 +0000 (10:53 -0700)] 
Implement DefaultCloudEventCallbackImpl (#1995)

Implement a default callback implementation for Helix cloud event listeners.

2 months agoFix TestCloudEventCallbackProperty by bypassing connecting to zk (#2017)
Molly Gao [Wed, 6 Apr 2022 17:53:22 +0000 (10:53 -0700)] 
Fix TestCloudEventCallbackProperty by bypassing connecting to zk (#2017)

Due to logical change in ZKHelixManager constructor in a #1986, TestCloudEventCallbackProperty broke because in this test it doesn't connect to zookeeper server.
To fix this test, we separated MockCloudEventAwareHelixManager ï¼ˆpreviously called MockEventAwareZKHelixManager, nested inside TestCloudEventCallbackProperty)into a class, and include all and only the logics related to cloud events in MockCloudEventAwareHelixManager. More detailed, we mock a cloud config object retrieved from zk to bypass connection to zk.

2 months agoEnable HelixManager as an event listener (#1978)
Molly Gao [Mon, 21 Mar 2022 20:31:35 +0000 (13:31 -0700)] 
Enable HelixManager as an event listener (#1978)

Make helix manager cloud event aware by registering a cloud event listener when connect Helix manager

2 months agoAdd event handler and event listener interface (#1976)
Molly Gao [Thu, 10 Mar 2022 22:05:33 +0000 (14:05 -0800)] 
Add event handler and event listener interface (#1976)

This commit creates a skeleton for event handling framework and adds the following classes:
CloudEventListener interface
CloudEventHandler class
CloudEventHandlerFactory class

2 months agoImprove ZkClientMonitor and ZkClientPathMonitor performance (#2021)
Henri Hagberg [Thu, 7 Apr 2022 14:09:49 +0000 (17:09 +0300)] 
Improve ZkClientMonitor and ZkClientPathMonitor performance (#2021)

Previously, regex matches were used, which was inefficient. This commit does this following:
Replace String#matches with more efficient String#contains in ZkClientPathMonitor
Refactor record* methods in ZkClientMonitor to avoid repetition and simplify matching logic

3 months agoadd type and reason to cluster config (#2006)
xyuanlu [Wed, 6 Apr 2022 01:34:49 +0000 (18:34 -0700)] 
add type and reason to cluster config (#2006)

Add type and reason for batch disable/enable instance

3 months agoRefactor config string processing logic into a util class (#2015)
xyuanlu [Tue, 5 Apr 2022 21:01:02 +0000 (14:01 -0700)] 
Refactor config string processing logic into a util class (#2015)

Refactor config string processing logic into a util class