sfxd / trust-bot Goto Github PK
View Code? Open in Web Editor NEWa discord bot that watches the SFDC trust api
License: GNU General Public License v3.0
a discord bot that watches the SFDC trust api
License: GNU General Public License v3.0
Turn the core and discord packages into modules so they can't depend on one another and proper architecture can be enforced.
See title
There are integration tests that are currently running under the surefire plugin. they should be running under the failsafe plugin.
update the readme with what the code does and what functionality is available
Blocked by #2
discord added the ability to register bot commands to the /
key.
todo: find the docs for this
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.
package by feature not by type.
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 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 {};
currently the license is only in LICENSE.md but it should be added to the top of each source file like recommended by the GPL.
comply with the GPL and provide a command to link to the source of the bot.
this will allow more flexibility in the di container and help for #25
Implement the scheduled job to pull the instance data from the trust api and update the data in the database. including the api service and the logic for the model services.
maven > gradle
Weld is still broken on jdk 16: https://issues.redhat.com/browse/WELD-2620
See if dinject supports container events (for starting/shutting down jda and camel)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.