diff options
Diffstat (limited to 'cds-ui/server/src/datasources/controller-catalog.datasource.ts')
-rw-r--r-- | cds-ui/server/src/datasources/controller-catalog.datasource.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cds-ui/server/src/datasources/controller-catalog.datasource.ts b/cds-ui/server/src/datasources/controller-catalog.datasource.ts new file mode 100644 index 000000000..d711d4693 --- /dev/null +++ b/cds-ui/server/src/datasources/controller-catalog.datasource.ts @@ -0,0 +1,14 @@ +import {inject} from '@loopback/core';
+import {juggler} from '@loopback/repository';
+import config from './controller-catalog.datasource-template';
+
+export class ControllerCatalogDataSource extends juggler.DataSource {
+ static dataSourceName = 'controllerCatalog';
+
+ constructor(
+ @inject('datasources.config.controllerCatalog', {optional: true})
+ dsConfig: object = config,
+ ) {
+ super(dsConfig);
+ }
+}
|