diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..c619d97 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,21 @@ +engines: + fixme: + enabled: true + pmd: + enabled: true + channel: beta + tslint: + enabled: true + channel: beta + config: environment.monitor.ui/tslint.json + +ratings: + paths: + - "environment.monitor.server/**/*" + - "environment.monitor.core/**/*" + - "environment.monitor.runner/**/*" + - "environment.monitor.plugins/**/*" + - "environment.monitor.ui/**/*" + + + diff --git a/.travis.yml b/.travis.yml index 631d384..2b80d4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ addons: - master - develop -script: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar +script: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -Dsonar.host.url=https://sonarcloud.io cache: directories: diff --git a/README.md b/README.md index 2b98cff..a1e77a9 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,33 @@ + # environment.monitor +[![Build Status](https://travis-ci.org/YagelNasManit/environment.monitor.svg?branch=master)](https://travis-ci.org/YagelNasManit/environment.monitor) [![Code Climate](https://codeclimate.com/github/YagelNasManit/environment.monitor/badges/gpa.svg)](https://codeclimate.com/github/YagelNasManit/environment.monitor) + Is a tool for continuous gathering, aggregation and representation of environment health, that provides access to environment status information via both UI dashboards & REST API -For example this view and mutch more: -![CURRENT STATUS DASHBOARD](https://raw.githubusercontent.com/wiki/YagelNasManit/environment.monitor/images/current_env_status_dashboard.png) +Current environment components states | Environment components daily statistics +--- | --- +![CURRENT STATUS DASHBOARD](https://raw.githubusercontent.com/wiki/YagelNasManit/environment.monitor/images/2.0.0/current_env_status_dashboard.png) | ![ENVIRONMENT DAILY STATUS DASHBOARD](https://raw.githubusercontent.com/wiki/YagelNasManit/environment.monitor/images/2.0.0/env_daily_status_dashboard.png) + +Particular component availability over time | +--- | +![RESOURCE DETAILS DASHBOARD](https://raw.githubusercontent.com/wiki/YagelNasManit/environment.monitor/images/2.0.0/resource_details_dashboard.png)| + + + +## Quickstart +- In progress for Release 2.0.0 -# Quickstart -// todo :) +## Documentation +See the [Wiki](https://github.com/YagelNasManit/environment.monitor/wiki) for the available documentation -# Current Functionality (1.0-SNAPSHOT) -- current environments status dashboard -- environment last 24h status dashboard -- current environment status service +## Feature Requests & Bugs +Found a bug or would like to see a new feature implemented? Raise an issue in the [Issue Tracker](https://github.com/YagelNasManit/environment.monitor/issues) +## Contributing +Eager to fix a bug or introduce a new feature? Clone the repository and issue a pull request -#add environment monitor artefacts repository with maven: -```xml -... - - - Cybercat-mvn-repo - https://raw.github.com/YagelNasManit/environment.monitor/mvn-repo/ - - true - always - - - -... -``` +## License +environment.monitor is licensed under the [Apache License 2.0](https://github.com/YagelNasManit/environment.monitor/blob/master/LICENSE) diff --git a/environment.monitor.core/pom.xml b/environment.monitor.core/pom.xml index 67c9c66..55a4de2 100644 --- a/environment.monitor.core/pom.xml +++ b/environment.monitor.core/pom.xml @@ -27,10 +27,6 @@ - - com.github.github - site-maven-plugin - maven-deploy-plugin diff --git a/environment.monitor.plugins/pom.xml b/environment.monitor.plugins/pom.xml index f082b64..888b5c1 100644 --- a/environment.monitor.plugins/pom.xml +++ b/environment.monitor.plugins/pom.xml @@ -36,10 +36,6 @@ - - com.github.github - site-maven-plugin - maven-deploy-plugin diff --git a/environment.monitor.runner/pom.xml b/environment.monitor.runner/pom.xml index c54618a..4032bae 100644 --- a/environment.monitor.runner/pom.xml +++ b/environment.monitor.runner/pom.xml @@ -57,10 +57,6 @@ org.apache.maven.plugins maven-compiler-plugin - - com.github.github - site-maven-plugin - maven-deploy-plugin diff --git a/environment.monitor.server/pom.xml b/environment.monitor.server/pom.xml index e2eb017..af51124 100644 --- a/environment.monitor.server/pom.xml +++ b/environment.monitor.server/pom.xml @@ -38,10 +38,6 @@ org.springframework.boot spring-boot-starter-actuator - - org.springframework.boot - spring-boot-starter-mail - org.springframework.boot spring-boot-starter-web @@ -50,15 +46,6 @@ org.springframework.boot spring-boot-starter-web-services - - org.springframework.boot - spring-boot-starter-websocket - - - org.springframework.boot - spring-boot-starter-test - test - de.flapdoodle.embed de.flapdoodle.embed.mongo diff --git a/environment.monitor.test.extension/pom.xml b/environment.monitor.test.extension/pom.xml index 2c18534..13aa866 100644 --- a/environment.monitor.test.extension/pom.xml +++ b/environment.monitor.test.extension/pom.xml @@ -15,6 +15,7 @@ UTF-8 + ${project.parent.basedir} @@ -31,6 +32,10 @@ org.apache.maven.plugins maven-compiler-plugin + + maven-deploy-plugin + + diff --git a/pom.xml b/pom.xml index 54efc8d..6d2eb51 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,7 @@ maven-deploy-plugin 2.8.2 - internal.repo::default::file://${project.build.directory}/mvn-repo + internal.repo::default::file://${root.dir}/target/mvn-repo @@ -79,11 +79,12 @@ Uploaded environment.monitor artifacts for ${project.version} false + true refs/heads/mvn-repo github environment.monitor YagelNasManit - ${project.build.directory}/mvn-repo + ${root.dir}/target/mvn-repo