From 4aa05fa8c59d8171d8544a1424b1f999ea5f05f9 Mon Sep 17 00:00:00 2001 From: nicolasmanic Date: Sat, 13 Jul 2019 11:50:09 +0200 Subject: [PATCH 1/3] jdk-8 version --- .travis.yml | 75 +++------------------------------------------------ Agent/pom.xml | 5 ++++ 2 files changed, 9 insertions(+), 71 deletions(-) diff --git a/.travis.yml b/.travis.yml index f061763..b50742e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,40 +8,14 @@ env: jobs: include: - stage: test - jdk: openjdk9 - script: mvn clean test - - jdk: openjdk10 - script: mvn clean test - - jdk: openjdk11 - script: mvn clean test - - jdk: openjdk12 + jdk: openjdk8 script: mvn clean test - stage: release_jdk9 - if: branch = master - jdk: openjdk9 - script: mvn clean package - before_deploy: - - export TRAVIS_TAG=$TRAVIS_TAG-jdk9 - deploy: - provider: releases - name: $TRAVIS_TAG - api_key: $GITHUB_TOKEN - overwrite: true - file: - - perses-agent.jar - - Injector/target/perses-injector-jar-with-dependencies.jar - - PersesUI/target/perses.jar - skip_cleanup: true - on: - repo: nicolasmanic/perses - branch: master - tags: true - - stage: release_jdk10 - if: branch = master - jdk: openjdk10 + if: branch = JDK8 + jdk: openjdk8 script: mvn clean package before_deploy: - - export TRAVIS_TAG=$TRAVIS_TAG-jdk10 + - export TRAVIS_TAG=$TRAVIS_TAG-jdk8 deploy: provider: releases name: $TRAVIS_TAG @@ -54,45 +28,4 @@ jobs: skip_cleanup: true on: repo: nicolasmanic/perses - branch: master tags: true - - stage: release_jdk11 - if: branch = master - jdk: openjdk11 - script: mvn clean package - before_deploy: - - export TRAVIS_TAG=$TRAVIS_TAG-jdk11 - deploy: - provider: releases - name: $TRAVIS_TAG - api_key: $GITHUB_TOKEN - overwrite: true - file: - - perses-agent.jar - - Injector/target/perses-injector-jar-with-dependencies.jar - - PersesUI/target/perses.jar - skip_cleanup: true - on: - repo: nicolasmanic/perses - branch: master - tags: true - - stage: release_jdk12 - if: branch = master - jdk: openjdk12 - script: mvn clean package - before_deploy: - - export TRAVIS_TAG=$TRAVIS_TAG-jdk12 - deploy: - provider: releases - name: $TRAVIS_TAG - api_key: $GITHUB_TOKEN - overwrite: true - file: - - perses-agent.jar - - Injector/target/perses-injector-jar-with-dependencies.jar - - PersesUI/target/perses.jar - skip_cleanup: true - on: - repo: nicolasmanic/perses - branch: master - tags: true \ No newline at end of file diff --git a/Agent/pom.xml b/Agent/pom.xml index 6b6fdcb..34db3a1 100644 --- a/Agent/pom.xml +++ b/Agent/pom.xml @@ -17,6 +17,11 @@ javassist ${javassist.version} + + io.earcam.wrapped + com.sun.tools.attach + 1.8.0_jdk8u131-b11 + From 335bea49312af876fe3e8d312f4dc452601abe92 Mon Sep 17 00:00:00 2001 From: nicolasmanic Date: Sat, 13 Jul 2019 11:57:47 +0200 Subject: [PATCH 2/3] Update readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2277d71..f4d6d95 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,11 @@ Perses is under development. Please feel free to raise any issues you might enco | JDK Version | Status | Release | | :---: | :--- | :---: | -| 8 | Working | [0.0.8](https://github.com/nicolasmanic/perses/releases/tag/0.0.8) | -| 9 | Working | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk9) | -| 10 | Working | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk10) | -| 11 | Working | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk11) | -| 12 | Working | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk12) | +| 8 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk8) | +| 9 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk9) | +| 10 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk10) | +| 11 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk11) | +| 12 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk12) | ### What is the goal. From 4540adfee89beddd5950fe8bac9b976e631095b0 Mon Sep 17 00:00:00 2001 From: Nikolaos Kanakis <4174162+nicolasmanic@users.noreply.github.com> Date: Sat, 13 Jul 2019 14:42:16 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index f4d6d95..db9bcd0 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,16 @@ [![License](https://img.shields.io/pypi/l/ansicolortags.svg)](https://github.com/nicolasmanic/perses/blob/master/LICENSE) [![Gitter](https://badges.gitter.im/perses-app/community.svg)](https://gitter.im/perses-app/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) -## A project to cause (controlled) destruction to a jvm application +## Cause (controlled) destruction to your jvm application > **Perses** (Ancient Greek: Πέρσης) was the Titan god of destruction. His name is derived from the Ancient Greek word perthō ("to destroy") ### What is the goal. -Perses allows you to dynamically inject failure/latency at the bytecode level with surgical precision, without the need to add any dependency or even restart/deploy the target app, just load 2 jars at the same enviroment the target JVM is running and run a simple command `java -jar perses-injector.jar `. +Perses allows you to dynamically inject failure/latency at the bytecode level, without the need to add any dependency or restart/deploy the target app. Just load 2 jars at the same enviroment the target JVM is running and execute `java -jar perses-injector.jar `. -Perses is designed with [Principles of Chaos Engineering][PoC] in mind and in order to enable developpers and QAs to easily reproduce & debug tricky production issues. - -[PoC]: http://principlesofchaos.org/ +Perses is designed to enable developpers and QAs to easily reproduce & debug tricky production issues. For more information about how **Perses** works under the hood, how to set everything up & how to use it please visit the [wiki](https://github.com/nicolasmanic/perses/wiki). @@ -23,20 +21,13 @@ the [wiki](https://github.com/nicolasmanic/perses/wiki). Perses is under development. Please feel free to raise any issues you might encounter. -| JDK Version | Status | Release | -| :---: | :--- | :---: | -| 8 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk8) | -| 9 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk9) | -| 10 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk10) | -| 11 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk11) | -| 12 | OK | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk12) | - -### What is the goal. - -Perses is a tool designed to give you insides to your jvm application by dynamically injecting failure/latency at the bytecode level -with surgical precision. Perses is designed with [Principles of Chaos Engineering][PoC] in mind. - -[PoC]: http://principlesofchaos.org/ +| JDK Version | Release | +| :---: | :---: | +| 8 | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk8) | +| 9 | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk9) | +| 10 | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk10) | +| 11 | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk11) | +| 12 | [0.9.0](https://github.com/nicolasmanic/perses/releases/tag/0.9.0-jdk12) | ### How to install