Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
pdimitratos 064de55863
Refactor/simplify gateway controllers (#58)
Restructuring to reduce responsibility of Controllers by delegating to more specific classes
2018-05-01 16:26:18 -07:00
pdimitratos d99a460f68
Maintenance/style warnings (#57)
made changes to comply with style warnings
2018-04-19 14:19:46 -07:00
pdimitratos 34732f439f
Got builds working, fixed some errors/warnings (which I should have held off on) (#56) 2018-04-18 12:11:29 -07:00
pdimitratos 2e24ba0699
Allow clients to set filter for Events they will receive via SignalR (#43)
* Altering filters to allow for bidirectional matching (single event matching list of filters)

* eventsHub will track event filter preferences sent from client and propagate events only to clients with no fiter or with a matching filter

* removed unused code

* removed more unused code

* fixed tests, including relocation, which resulted in an empty test project. Removed that project.

* Added more test cases for filters

* Style improvements

* updated to latest version of signalR server package, reconciled incompatibilities

* fixed issues introduced by merge, added tests, separated unit and integration style tests

* updated to latest root
2018-03-20 10:18:55 -07:00
Ying Zhao 2d926d462a add tests and cleanp 2018-03-08 12:26:04 -08:00
Philip Dimitratos 14788db332 Updated tests to match exception types thrown 2018-02-27 14:09:24 -08:00
Philip Dimitratos 4457142148 Replaced usage of IConfig with the config object
where possible. Cleaned up service registration a bit.
2018-02-22 09:46:49 -08:00
Sasha Pierson 2b16bb471f
handle missing playbook (both if wanted and if not wanted) (#27)
* test attempts

* testing shortcircuit methods

* error handling

* more detailed mock event

* error handling if playbook not found

* mediatr pipeline behavior handles no playbook configured

* restore playbookshortcircuit

* per recs

* moved tests to Sia-Root
2018-02-06 15:00:56 -08:00
Ying Zhao bb67171736 42061: clean up 2018-01-30 10:44:05 -08:00
Ying Zhao 73dc021f03 change function name 2018-01-29 16:41:51 -08:00
Ying Zhao 2f37b2ca81 change function name 2018-01-29 16:37:24 -08:00
Ying Zhao 3062a2333d 42061: test optimization. 2018-01-29 16:24:03 -08:00
Ying Zhao 689a857a3a 42061: combination of FilteredLinksHead and LinksHeader. 2018-01-26 16:45:27 -08:00
Ying Zhao 4635c331b8 42061: test2 2018-01-26 10:12:59 -08:00
Ying Zhao 904da78b66 42061: with two tests 2018-01-25 16:02:49 -08:00
Ying Zhao 98df440ef9 42061: test 2018-01-24 10:46:39 -08:00
Philip Dimitratos 40e813e2cb Module updates 2018-01-08 10:28:26 -08:00
Philip Dimitratos 567f4343cd Merged from master to resolve conflicts 2017-12-27 14:47:16 -08:00
Philip Dimitratos 45ad04699a Restructuring to improve ticketing connector implementation, using ticketing connector for all incident retrievals. 2017-12-01 15:03:54 -08:00
Philip Dimitratos 6654ee0b75 Updated handlers to use ticket connector for all endpoints (get single, get many, get by ticket id) 2017-11-30 16:31:11 -08:00
Philip Dimitratos 8e7a036f09 Wrote tests for EventFilters 2017-11-22 10:45:37 -08:00
Philip Dimitratos f65a50fafa Added filters for Event 2017-11-21 16:08:58 -08:00
Philip Dimitratos c42e6b241f Merge remote-tracking branch 'origin/master' into pdimit/rootSubmodule 2017-11-01 10:49:49 -07:00
Zhuan Zou 84b3b302c9 fixed unit tests 2017-11-01 09:17:09 -07:00
Philip Dimitratos 858b0dfabe Moved code shared by mulitple microservices to Sia-Root 2017-10-26 16:23:53 -07:00
pdimitratos 21f86077d9 Pdimit/more tests (#11)
* Added tests for Engagement request handlers.

* Restructured Requests to group by resource

* Removed unused request type

* Added more tests for PartialJsonResolver, changed PartialJsonResolver behavior to avoid null reference exceptions in edge cases.

* Modified KeyVaultCertificateRetriever to lazy-load the certificate from KeyVault. This will also allow retry logic to attempt to get the certificate again in case of transient KeyVault failure.

* Removed unused interface

* Changed MockFactory to avoid adding data multiple times to the same context instance when instances are shared; tests still fail when run in parallel as ID generation still appears to be shared between incident context instances.

* Changed SeedData to run synchronously. Converted DateTime.Parse calls to calls to DateTime constructor
2017-10-26 12:57:04 -07:00
Maggie Pint b945b6c149 Magpint/getcreateifneeded (#10)
* get by ticket create if needed handler

* fix tests for incident get/create

* simplify ticket model
2017-10-19 08:14:36 -07:00
Philip Dimitratos 532515ac17 Fixed tests. 2017-10-18 16:07:36 -07:00
Philip Dimitratos f052ab357b Initial commit; adapted from VSTS repository, updated folder names, moved projects to src and test folders, sanitized references to actual incidents. 2017-09-01 11:01:30 -07:00