From 8c4465eeb0c9ca4b730760ee20557b8781a217c6 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 22 Jan 2020 10:01:04 +0100 Subject: [PATCH] naming --- src/brizo/Brizo.ts | 2 +- src/ocean/OceanCompute.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/brizo/Brizo.ts b/src/brizo/Brizo.ts index 078fae8..f093ce5 100644 --- a/src/brizo/Brizo.ts +++ b/src/brizo/Brizo.ts @@ -95,7 +95,7 @@ export class Brizo extends Instantiable { return destination } - public async computeService( + public async compute( method: string, serviceAgreementId: string, consumerAccount: Account, diff --git a/src/ocean/OceanCompute.ts b/src/ocean/OceanCompute.ts index 488c467..8060460 100644 --- a/src/ocean/OceanCompute.ts +++ b/src/ocean/OceanCompute.ts @@ -67,7 +67,7 @@ export class OceanCompute extends Instantiable { algorithmDid?: string, algorithmMeta?: MetaData ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'post', agreementId, consumerAccount, @@ -90,7 +90,7 @@ export class OceanCompute extends Instantiable { agreementId: string, jobId: string ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'put', agreementId, consumerAccount, @@ -112,7 +112,7 @@ export class OceanCompute extends Instantiable { agreementId: string, jobId: string ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'delete', agreementId, consumerAccount, @@ -151,7 +151,7 @@ export class OceanCompute extends Instantiable { agreementId?: string, jobId?: string ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'get', agreementId, consumerAccount, @@ -173,7 +173,7 @@ export class OceanCompute extends Instantiable { agreementId: string, jobId: string ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'get', agreementId, consumerAccount,