Skip to content

Commit c06d459

Browse files
mpv1989pluma
authored andcommitted
Foxx API tests + bugfixes (#505)
* Add Foxx API tests * Fix minimal version of getServiceConfiguration/getServiceDependencies * Add Foxx API tests * Add Foxx API tests * Update changelog * Fix Foxx API tests * Remove 'only' in tests * Fix service config/dependencies minimal/non-minimal represenation * Fix service config/dependencies minimal/non-minimal represenation * Fix response handling of non-json repsonses * Add Foxx API tests * Update Changelog * Fix typo * Fix Foxx API tests * Only parse non-empty body * Fix Foxx API tests * Formatting
1 parent d27b6c4 commit c06d459

15 files changed

+894
-17
lines changed

CHANGELOG.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,39 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2020

2121
Should help with cross-platform compatibility.
2222

23-
## [6.0.1] - 2018-01-22
24-
2523
### Fixed
2624

27-
* Fixed some imports broken during the TypeScript rewrite
25+
* Fixed `db.uninstallService(mount, opts)` opts default value
2826

29-
If you were previously seeing errors involving a `default` property,
30-
this should make those go away.
27+
* Fixed `db.getServiceConfiguration(mount, minimal)` minimal representation
28+
29+
* Fixed `db.getServiceDependencies(mount, minimal)` minimal representation
30+
31+
* Fixed `db.updateServiceConfiguration(mount, cfg, minimal)` non-minimal representation
32+
33+
* Fixed `db.replaceServiceConfiguration(mount, cfg, minimal)` non-minimal representation
34+
35+
* Fixed `db.updateServiceDependencies(mount, cfg, minimal)` non-minimal representation
36+
37+
* Fixed `db.replaceServiceDependencies(mount, cfg, minimal)` non-minimal representation
38+
39+
* Fixed handling of non-json responses
40+
41+
## [6.0.1] - 2018-01-22
3142

3243
### Changed
3344

3445
* Use `rimraf` for build process
3546

3647
Should help with cross-platform compatibility.
3748

49+
### Fixed
50+
51+
* Fixed some imports broken during the TypeScript rewrite
52+
53+
If you were previously seeing errors involving a `default` property,
54+
this should make those go away.
55+
3856
## [6.0.0] - 2018-01-11
3957

4058
### Removed

fixtures/echo-script.zip

568 Bytes
Binary file not shown.

fixtures/itzpapalotl.zip

2.59 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
'use strict';
2+
const router = require('@arangodb/foxx/router')();
3+
module.context.use(router);
4+
router.get((req, res) => {
5+
res.send({hello: 'world'});
6+
});
7+
746 Bytes
Binary file not shown.
1.42 KB
Binary file not shown.
2.54 KB
Binary file not shown.

fixtures/service-service.zip

638 Bytes
Binary file not shown.

fixtures/with-configuration.zip

438 Bytes
Binary file not shown.

fixtures/with-dependencies.zip

424 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)