Class

OsduBaseService

(abstract) OsduBaseService(osdu_client, data_partition)

Abstract class that provides the common bones for OSDU API services

  • Provides the framework for accepting an OSDU client and setting a data partition
  • Agnostic to hosting framework (AWS/Azure/GCP/etc.) of the OSDU API
Constructor

# abstract new OsduBaseService(osdu_client, data_partition)

Parameters:
Name Type Description
osdu_client BaseOsduClient

An implementation of the OSDU client class to broker communication with the OSDU API

data_partition string

The data partition against which requests will be made

View Source service/base/index.js, line 9