Class

OsduBaseTask

(abstract) OsduBaseTask(osdu_service, data_partition)

Abstract class that provides the common bones for OSDU common task patterns

  • Provides the framework for accepting an OSDU service
  • Agnostic to hosting framework (AWS/Azure/GCP/etc.) of the OSDU API
Constructor

# abstract new OsduBaseTask(osdu_service, data_partition)

Parameters:
Name Type Description
osdu_service OsduBaseService

An implementation of the OSDU service class to broker communication with the OSDU API services

data_partition string

The data partition against which requests will be made

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