2016-06-18 21:53:18 +02:00
|
|
|
'use strict';
|
|
|
|
|
2016-11-09 22:31:49 +01:00
|
|
|
|
|
|
|
exports.createAPI = function (router, config) {
|
|
|
|
require('./event')(router, config);
|
|
|
|
require('./feature')(router, config);
|
|
|
|
require('./feature-archive')(router, config);
|
|
|
|
require('./strategy')(router, config);
|
|
|
|
require('./health-check')(router, config);
|
|
|
|
require('./metrics')(router, config);
|
|
|
|
};
|
|
|
|
|
|
|
|
exports.createLegacy = function (router, config) {
|
|
|
|
require('./feature')(router, config);
|
|
|
|
require('./health-check')(router, config);
|
2016-11-30 23:41:57 +01:00
|
|
|
require('./backstage')(router, config);
|
2016-04-28 16:58:59 +02:00
|
|
|
};
|