Fix in RulesEngine, add current rule files and add License

This commit is contained in:
Joe
2019-01-09 06:27:00 -06:00
parent 9d5a94d98c
commit 1975167745
6 changed files with 3174 additions and 91 deletions

View File

@@ -22,7 +22,22 @@ const logger = winston.createLogger({
const ruleEngine = new RuleEngine("*");
logger.log("info", "Service Starting logAggregator v0.1 by j.tretter@gmail.com");
console.log(`logAggregator Service Copyright (C) 2019 j.tretter@gmail.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.`);
logger.log("info","logAggregator Service v0.1 Starting")
const server = micro(async (req, res) => {
const js = await json(req);