Commit Graph

16 Commits

Author SHA1 Message Date
Marian Novotny
bda1cc4ae5 config editor rest: enabling cors by default (#147) 2020-10-13 13:56:30 +01:00
Marian Novotny
e84bc1bf31 config editor rest: supporting oauth2 (#146)
* work in progress

* replacing springfox swagger by springdoc

* work in progress commit

* reworking oauth2 to use custom jwt decoder

* refactoring to use generic oauth2 properties

* swagger settings move to code from anotations

* adding Oauth2 helper function into siembol-common

* increasing version of siembol

* adding unit tests
2020-10-05 13:54:50 +01:00
Marian Novotny
6f0d0438dc config editor - refactoring authorisation (#136)
allows disabled authentication with a single user
temporary disabling some unit tests that are failing
2020-09-22 15:35:54 +01:00
Marian Novotny
cdd5e8d6a2 config editor: test cases schema supports patching by uiconfig (#123)
* test caes schema supports patching by uiconfig
AuthProvider provides an user name from a user string

* fixing returning test case schema

* adding test cases layout config
2020-07-27 17:31:55 +01:00
Marian Novotny
dfc1b7f95d Multitenancy support in config editor backend (#105)
* Multitenancy support in config editor backened

* adding ServiceType fromName function

* minor fixes

* adding unitests, minor cleaning

* adding more unit tests, minor code modification
2020-07-08 17:07:29 +01:00
Marian Novotny
8a403b4564 increasing springboot version (#104) 2020-07-06 12:38:16 +01:00
Marian Novotny
e3c226219f config-editor schema controller: reverting sending specific HTTP status codes (#100) 2020-07-01 13:29:21 +01:00
Marian Novotny
00476ad2e4 config editor: romove sensor fields endpoint (#96) 2020-06-29 10:24:30 +01:00
Marian Novotny
7606f2f86e response: adding "filtered_when_no_match" into Matching evaluator (#89)
* siembol response: adding "filtered_when_no_match" into Matching evaluator

* renaming config editor services

* simplify RespondingEvaluatorFactory interface

* minor cleaning

* compilo fix

* minor cleaning

* typo fix
2020-06-22 11:00:40 +01:00
Marian Novotny
f855c36acd Config editor reworking schema patch function (#88)
* config editor utils: change implementation of patchJsonSchema

* increasing app version
2020-06-11 16:49:46 +01:00
Marian Novotny
0cc78cd1fc adding Response stream project (#87)
* adding responding-stream project

* adding missing file

* adding unit test for rules stream service

* adding unitest

* minor cleaning and fixes

* minor cleaning
2020-06-05 15:53:51 +01:00
Marian Novotny
799dad8cb5 Siembol response various fixes and improvements (#86)
* response: fixes in compiler testConfigurations function

* fixing response schema service test configurations

* adding response error type

* renaming provided evaluators

* fixing rule evaluation

* adding sleep evaluator
renaming evaluators

* supporting arrays in cinfig editor computeRulesSchema function

* minor refactoring of ConfigEditorUtils

* sorrting evaluators in schema according to type name

* adding siembol_response_ts field

* using guava cache for alert throttling implementation

* adding unitests, increasing siembol version

* minor cleaning

* relues engine can return no match

* modification of rule engine when no match
2020-06-04 12:33:21 +01:00
Marian Novotny
21c66df14d Adding response config-editor service (#84)
* ResponsePlugin extends spring plugin interface

* Fixing wrong argument in ResponsePlugin interface

* adding getRulesMetadata into RespondingEngine interface
changing return type in ResponsePlugin interface

* adding testing fucntionality into RespondingCompiler

* adding attributes into RespondingResultAttributes

* registering metrics in evaluator factories in the compiler

* fixing name in Response compiler

* reworking response schema service

* bugfixing adding unitests

* increasing version of application
2020-05-22 15:14:13 +01:00
Marian Novotny
3000962a96 response: adding table formatting evaluators (#77)
* response: adding table formatting evaluators

* adding array reducer and alert throttling evaluators into response component

* adding test specification wrapper in config editor

* minor fixes
2020-05-13 16:18:55 +01:00
Marian Novotny
6729eda5a1 adding config-editor-rest project into siembol (#79)
* adding config-editor-rest project into siembol

* Delete application-DEV.properties

* remove test specification wrapper
2020-05-12 14:19:33 +01:00
Marian Novotny
ccca4ad719 rename project to siembol (#74)
* renaming maven projects

* renaming nortem to siembol

* remove colon from siembol alerts field names

* remove temp files form resources

* increasing version of application
2020-04-15 11:29:34 +01:00