chaosmonkey | Go client to the Chaos Monkey REST API | Microservice library

 by   mlafeldt Go Version: v0.5.4 License: MPL-2.0

kandi X-RAY | chaosmonkey Summary

kandi X-RAY | chaosmonkey Summary

chaosmonkey is a Go library typically used in Architecture, Microservice applications. chaosmonkey has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

Go client to the Chaos Monkey REST API that can be used to trigger and retrieve chaos events. This project was started for the purpose of controlled failure injection during GameDay events.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              chaosmonkey has a low active ecosystem.
              It has 53 star(s) with 5 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 1 have been closed. On average issues are closed in 363 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of chaosmonkey is v0.5.4

            kandi-Quality Quality

              chaosmonkey has 0 bugs and 0 code smells.

            kandi-Security Security

              chaosmonkey has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              chaosmonkey code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              chaosmonkey is licensed under the MPL-2.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              chaosmonkey releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 566 lines of code, 22 functions and 7 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed chaosmonkey and discovered the below as its top functions. This is intended to give you an instant insight into chaosmonkey implemented functionality, and help decide if they suit your requirements.
            • main is the main entry point for testing
            • NewClient creates a new Kubernetes client .
            • TriggerEvent triggers an event
            • assumeRole will assume the given role .
            • DefaultConfig returns a Config with default configuration
            • printEvents prints the events
            • listAutoScalingGroups returns a list of AutoScalingGroups
            • decodeError decodes an API response body
            • abort sends an error to stderr .
            Get all kandi verified functions for this library.

            chaosmonkey Key Features

            No Key Features are available at this moment for chaosmonkey.

            chaosmonkey Examples and Code Snippets

            chaosmonkey,CLI,Use with Docker
            Godot img1Lines of Code : 9dot img1License : Weak Copyleft (MPL-2.0)
            copy iconCopy
            docker run -it --rm -p 8080:8080 \
                -e SIMIANARMY_CLIENT_AWS_ACCOUNTKEY=$AWS_ACCESS_KEY_ID \
                -e SIMIANARMY_CLIENT_AWS_SECRETKEY=$AWS_SECRET_ACCESS_KEY \
                -e SIMIANARMY_CLIENT_AWS_REGION=$AWS_REGION \
                -e SIMIANARMY_CHAOS_LEASHED=false \
              
            chaosmonkey,Prerequisites
            Godot img2Lines of Code : 3dot img2License : Weak Copyleft (MPL-2.0)
            copy iconCopy
            simianarmy.chaos.leashed = false
            simianarmy.chaos.terminateOndemand.enabled = true
            
            simianarmy.chaos.asg.enabled = false
              
            chaosmonkey,CLI,Installation
            Godot img3Lines of Code : 3dot img3License : Weak Copyleft (MPL-2.0)
            copy iconCopy
            brew tap mlafeldt/formulas
            brew install chaosmonkey
            
            go get -u github.com/mlafeldt/chaosmonkey
              

            Community Discussions

            QUESTION

            Different actuator (management server) port changes HTTP response
            Asked 2020-May-14 at 12:30

            I am having a hard time in Chaos Monkey For Spring Boot regarding error responses when a user POSTs an invalid (like {"level": -2}update via REST to our actuator endpoint where one can update options of the behavior of CMSB (only positive levels are allowed). In the first image, I set the management.server.port to 8888 and the app port to 8080. When posting a new property to the CMSB REST API I am getting the following response (which is not what we would have expected):

            And in case I leave the management port at the same port the same as the app I am getting the following response:

            For both cases we would have expected the same error response (the second one). So we're asking us (at CMSB) whether this is an intended behavior of spring boot and if not, what our options are to get around writing our own error response handler in case the management port is different from the app port. Please note that this is not about the intended behavior of chaos monkey for spring boot but rather about whether this is a spring boot bug or not. In both cases we would like to have a detailed error response so a user knows what's wrong. Under the hood we are using the @Validated annotation in combination with something like this to validate inputs:

            ...

            ANSWER

            Answered 2020-May-14 at 12:30

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install chaosmonkey

            If you're on Mac OS X, the easiest way to get the chaosmonkey command-line tool is via Homebrew:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/mlafeldt/chaosmonkey.git

          • CLI

            gh repo clone mlafeldt/chaosmonkey

          • sshUrl

            git@github.com:mlafeldt/chaosmonkey.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link