@project-sunbird/ext-framework-server
Version:
Extensible framework for sunbird extensions on server side
14 lines • 501 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseServer = void 0;
const api_1 = require("../api");
const _ = require("lodash");
;
class BaseServer {
constructor(manifest) {
this.manifest = _.cloneDeep(manifest);
this.cassandra = api_1.frameworkAPI.getCassandraInstance(this.manifest.id);
this.elasticsearch = api_1.frameworkAPI.getElasticsearchInstance(this.manifest.id);
}
}
exports.BaseServer = BaseServer;
//# sourceMappingURL=Plugin.js.map