From 734aa8e99b2543d1e334c443f065f160fb9cb6ad Mon Sep 17 00:00:00 2001 From: Cwen Yin Date: Tue, 13 Dec 2022 19:34:11 +0800 Subject: [PATCH] update byteman to v4.0.20 (#18) Signed-off-by: cwen0 Signed-off-by: cwen0 --- .github/workflows/release_latest.yml | 4 ++-- .github/workflows/release_tag.yml | 4 ++-- AgentInstaller/pom.xml | 2 +- BytemanHelper/README.md | 10 +++++----- BytemanHelper/pom.xml | 4 ++-- ChaosAgent/pom.xml | 2 +- README.md | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release_latest.yml b/.github/workflows/release_latest.yml index b6d7f78..977c780 100644 --- a/.github/workflows/release_latest.yml +++ b/.github/workflows/release_latest.yml @@ -39,8 +39,8 @@ jobs: - name: Package and Upload run: | - BYTEMAN_VERSION=4.0.18 - HELPER_VERSION=0.9 + BYTEMAN_VERSION=4.0.20 + HELPER_VERSION=0.12 curl -fsSL -o byteman-download-${BYTEMAN_VERSION}-bin.zip https://downloads.jboss.org/byteman/${BYTEMAN_VERSION}/byteman-download-${BYTEMAN_VERSION}-bin.zip unzip byteman-download-${BYTEMAN_VERSION}-bin.zip diff --git a/.github/workflows/release_tag.yml b/.github/workflows/release_tag.yml index be4d4ce..30ef6d2 100644 --- a/.github/workflows/release_tag.yml +++ b/.github/workflows/release_tag.yml @@ -39,8 +39,8 @@ jobs: - name: Package and Upload run: | - BYTEMAN_VERSION=4.0.18 - HELPER_VERSION=0.9 + BYTEMAN_VERSION=4.0.20 + HELPER_VERSION=0.12 curl -fsSL -o byteman-download-${BYTEMAN_VERSION}-bin.zip https://downloads.jboss.org/byteman/${BYTEMAN_VERSION}/byteman-download-${BYTEMAN_VERSION}-bin.zip unzip byteman-download-${BYTEMAN_VERSION}-bin.zip diff --git a/AgentInstaller/pom.xml b/AgentInstaller/pom.xml index 08fcdde..4db92be 100644 --- a/AgentInstaller/pom.xml +++ b/AgentInstaller/pom.xml @@ -4,7 +4,7 @@ org.chaos_mesh.agent_installer agent-installer jar - 0.9 + 0.12 agent-installer http://maven.apache.org diff --git a/BytemanHelper/README.md b/BytemanHelper/README.md index 248f15f..eda942d 100644 --- a/BytemanHelper/README.md +++ b/BytemanHelper/README.md @@ -1,10 +1,10 @@ ## BytemanHelper -Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers). +Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers). ### StressHelper -`StressHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), which is used to inject CPU or memory stress into JVM. +`StressHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), which is used to inject CPU or memory stress into JVM. | Type | Method | Description | | ---- | ------ | ------------| @@ -27,7 +27,7 @@ ENDRULE ### SQLHelper -`SQLHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), which is used to parse SQL and judge whether this SQL match specified database and table. +`SQLHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), which is used to parse SQL and judge whether this SQL match specified database and table. | Type | Method | Description | | ---- | ------ | ------------| @@ -59,7 +59,7 @@ mvn -X package -Dmaven.test.skip=true -Dmaven.wagon.http.ssl.insecure=true -Dmav ### GCHelper -`GCHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), which used to trigger garbage collection in JVM. +`GCHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), which used to trigger garbage collection in JVM. #### Example @@ -77,7 +77,7 @@ ENDRULE ### ThreadPoolHelper -`ThreadPoolHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), it hijacks the `java.util.concurrent.ThreadPoolExecutor` and uses it to create the specified number of threads, preventing the user from creating threads. +`ThreadPoolHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), it hijacks the `java.util.concurrent.ThreadPoolExecutor` and uses it to create the specified number of threads, preventing the user from creating threads. | Type | Method | Description | | ---- | ------ | ------------| diff --git a/BytemanHelper/pom.xml b/BytemanHelper/pom.xml index f1d92f8..41ab976 100644 --- a/BytemanHelper/pom.xml +++ b/BytemanHelper/pom.xml @@ -4,7 +4,7 @@ org.chaos_mesh.byteman byteman-helper jar - 0.9 + 0.12 byteman-helper http://maven.apache.org @@ -22,7 +22,7 @@ org.jboss.byteman byteman - 4.0.9 + 4.0.20 diff --git a/ChaosAgent/pom.xml b/ChaosAgent/pom.xml index 47509ff..ac8670c 100644 --- a/ChaosAgent/pom.xml +++ b/ChaosAgent/pom.xml @@ -4,7 +4,7 @@ org.chaos_mesh.chaos_agent chaos-agent jar - 0.9 + 0.12 chaos-agent http://maven.apache.org diff --git a/README.md b/README.md index 34be917..f3e26e2 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # byteman-helper -The repository maintains byteman [helpers](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), plug-ins, scripts, and anything else that extends byteman's functionality. +The repository maintains byteman [helpers](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), plug-ins, scripts, and anything else that extends byteman's functionality. ## BytemanHelper -Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers). +Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers). ### SQLHelper