Code Monkey home page Code Monkey logo

homework's Introduction

homework

comand line parameters

required parameters is

  • history.file -- path to history file
  • config.file -- path to input file, structure described below

optional:

  • default.degradation.level -- default 0.1 (10%)

addition parameter should be passed to allow mail messages`

  • spring.mail.host -- default smtp.gmail.com
  • alert.mail -- address to send mail, no default
  • spring.mail.port -- default 587
  • spring.mail.properties.mail.transport.protocol -- default smtp
  • spring.mail.username --no default
  • spring.mail.password --no default
  • spring.mail.properties.mail.smtp.auth -- default true
  • `spring.mail.properties.mail.smtp.starttls.enable -- default true
  • `spring.mail.properties.mail.smtp.starttls.required -- default true
  • spring.mail.properties.mail.smtp.quitwait -- default false

Input file description

json file

  {
  "dnsNameLookup": String[],
  "httpConnectivity": {"url": String, "degradationRate": double}[],
  "httpsConnectivity": {"url": String, "degradationRate": double}[],
  }
  • dnsNameLookup - list of names to dns lookup
  • httpConnectivity & httpsConnectivity - list of objects that contains urls and degradation threshold. if degradationRate not provided will used default.degradation.level.

for example:

  {
  "dnsNameLookup": ["2.testdebit.info"],
  "httpConnectivity": [{"url": "docs.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/locks/Condition.html"}],
  "httpsConnectivity": [{"url": "docs.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/locks/Condition.html", "degradationRate": 0}]
  }

homework's People

Contributors

antonbarkan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.