29 Commits

Author SHA1 Message Date
Oscar Lorentzon
0469c966ab refactor(api): replace api v3 with data provider solution 2020-09-22 15:42:28 +02:00
Oscar Lorentzon
b608c36861 chore: update unit test dependencies
Handle spec type problems.
2020-06-04 15:09:09 +02:00
Oscar Lorentzon
1969bd83bc refactor: use pipe operators
Use pipe operators everywhere.
Fix errors becasue of piping more than nine operations.
2018-06-13 12:03:40 +00:00
Oscar Lorentzon
c38f4e7c4f chore: remove typings dependency
Add types folder as type root.
Declare modules in type def files to be able to compile.
2018-06-11 06:16:58 +00:00
Oscar Lorentzon
2b9c35d183 feat(graph): add cache bounding box service method
Wraps graph method.
Unit tests.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
739eea9237 test: graph service modes
Test that graph mode is set correctly, spatial subscriptions
are reset when setting mode to sequence and that spatial
edges are not cached when in sequence mode.
Add docs to set graph mode method.
2017-12-01 07:58:41 +00:00
Oscar Lorentzon
468c917dff feat: add graph service cache sequence nodes method 2017-11-24 06:17:33 +00:00
Oscar Lorentzon
ad9d9bc589 feat: add keep sequence key param to service method 2017-11-23 12:31:05 +00:00
Oscar Lorentzon
739692351f chore: update ts dependencies 2017-11-14 10:29:00 +00:00
Oscar Lorentzon
7fc2b64778 Workaround rxjs subscribe with no args bug.
Complete all created subjects in tests.
Add noop function to all previously empty subscribe calls
to ensure that they are not completed prematurely because
of rxjs bug.
2017-01-04 10:38:38 +01:00
Oscar Lorentzon
3170ccd2c7 Add uncache method to graph service. 2017-01-03 16:07:21 +01:00
Oscar Lorentzon
a720d1a2df Migrate to TS 2.1.
Extending Error does not create instances of the created error classes.
Act accordingly in unit test error type checks.
Upgrade three js typings for compatibility.
Error derived classes does not need to create stack trace
explicitly.
Use tilde ranges for ts dev deps for future compatibility.
2016-12-21 17:04:09 +01:00
Oscar Lorentzon
454178ff8f Refactor graph service reset logic.
Avoid duplication.

Unit test reset functionality.
2016-11-15 10:51:55 +01:00
Oscar Lorentzon
4e8c2f8289 Abort node fetch on graph reset.
Store node cache subscription and subjects to be able
to abort and unsubscribe.

Unit tests on graph service.
2016-11-14 18:04:44 +01:00
Oscar Lorentzon
bb8f74bf87 Add reset method on graph service.
Unsubscribe sequence and spatial subscriptions when resetting.
2016-11-14 10:48:19 +01:00
Oscar Lorentzon
58e2e2b496 Remove unused classes, tests and dependencies.
Remove graphlib and rest dependencies used in old graph and API.
Use new graph service, graph and node everywhere.
2016-10-24 16:23:46 +02:00
Oscar Lorentzon
89030047ad TS lint scripts.
TS lint scripts for spec and src.
Fix all spec files to comply with linting.
Use lint script in pre commit hook.
2016-07-12 11:42:23 -04:00
Oscar Lorentzon
b41d39ad53 Migrate to typings 1.0.
Fixes #135
2016-06-07 14:53:35 +02:00
Johan Gyllenspetz
c7a000c7bf Update crippled GraphService test 2016-03-01 17:12:39 -08:00
Oscar Lorentzon
8066b9c52a Use Typings instead of TSD.
Remove deprecated TSD dependency.
Use Typings to install type definitions.
Install rx typings from npm package.
2016-02-29 16:58:56 +01:00
Johan Gyllenspetz
d14d6c1006 Codingstandard action adding _x for private, x$ for stream 2016-01-17 18:02:27 -08:00
Johan Gyllenspetz
4f2b48b17f Move APIv2 to navigator and add experimental moveCloseTo
* Add search/im/close2 to API
* Move APIv2 initialization to Navigator and push it down
* Add experimental moveCloseTo
2016-01-05 16:49:45 -08:00
Johan Gyllenspetz
eb6664e4d3 Rename MyGraph to Graph 2016-01-04 14:25:55 -08:00
Johan Gyllenspetz
29fc4cdc37 Remove pristine hack in GraphService 2016-01-04 14:16:46 -08:00
Johan Gyllenspetz
d32f43ecd7 Remove VCR homebrew 2015-12-28 22:26:25 -08:00
Johan Gyllenspetz
d1c750f41a Simplify both TilesService and GraphService by using distinct instead of a cache 2015-12-28 13:28:53 -08:00
Johan Gyllenspetz
67898af4c5 Simplified experimental GraphService add to active viewer 2015-12-18 22:51:33 -08:00
Johan Gyllenspetz
3a1c76a64c Further separation on experimantal GraphService 2015-12-18 17:41:50 -08:00
Johan Gyllenspetz
61927f835a Add experimental Observable GraphService 2015-12-18 12:32:55 -08:00