Giter Site home page Giter Site logo

trust-bot's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

trust-bot's Issues

update readme

update the readme with what the code does and what functionality is available

register commands to /

discord added the ability to register bot commands to the / key.

todo: find the docs for this

convert integrations to use apache camel

convert the manually written integrations to use apache camel, mainly InstanceRefreshTask.java

from("timer:instances?fixedRate=true?period=60000")
    .to("https://api.status.salesforce.com/v1?httpMethod=GET")
    // this is where it gets fuzzy
    // map the body to instances
   // send to insert/update services

This will let us delete the scheduler classes and the trust api class.

https://tomd.xyz/camel-call-rest-http/

update dockerfile

The docker files currently assume Java 8 and that we're running an http server... neither of these are true. The file should be updated to run the OpenJDK 11 and not bind to any http port.

the docker image will also need to have access to the database file.

remove hibernate validator

remove hibernate validator and implement a better validation api.

interface Validator<T> {
    Collection<ValidationError> validate(T t);
}
record ValidationError(String property, String message); 
class ValidationException(Collection<ValidationError> errors) : RuntimeException {};

convert to maven

maven > gradle

  • Setup exec plugin to run main class
  • Setup exec plugin to migrate database
  • Setup assembly plugin to zip
  • Setup ebean querybean annotation processor

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.