-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
22 lines (20 loc) · 906 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
const OsduV2StorageService = require('./v2');
/**
* Class that provides named access to OSDU Storage endpoints
* - [Service Documentation]{@link https://community.opengroup.org/osdu/platform/system/storage/-/blob/master/docs/tutorial/StorageService.md}
* - [API Documentation]{@link https://community.opengroup.org/osdu/platform/system/storage/-/blob/master/docs/api/storage_openapi.yaml}
* @class
* @category Services
* @subcategory Storage
*/
class OsduStorageService {
/**
* @constructor
* @param {BaseOsduClient} osdu_client - An implementation of the OSDU client class to broker communication with the OSDU API
* @param {string} data_partition - The data partition against which requests will be made
*/
constructor(osdu_client, data_partition) {
this.V2 = new OsduV2StorageService(osdu_client, data_partition);
}
}
module.exports = OsduStorageService;