Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename VersionLayerClient to VersionedLayerClient #25

Closed
wants to merge 1 commit into from

Conversation

iriza7
Copy link
Contributor

@iriza7 iriza7 commented Oct 31, 2019

Rename VersionLayerClient to VersionedLayerClient.
Performed rename VersionLayerClient to VersionedLayerClient.

Relates-To: OLPEDGE-904

Signed-off-by: Bautista, Iryna [email protected]

@@ -96,7 +95,7 @@ export class CatalogClient {
this.context.getToken
),
{ catalogHrn: this.hrn }
).catch((err: Response) =>
).catch(err =>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove that?

@@ -117,7 +116,7 @@ export class CatalogClient {
*/
public async getVolatileOrVersionedLayer(
layerName: string
// tslint:disable-next-line: deprecation
// tslint:disable-next-line: deprecation
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this formatting is done by commit hook?

Comment on lines +296 to +301
layerClient = new VersionedLayerClient({
context: this.context,
hrn: this.hrn,
layerId: config.id,
version: version === undefined ? -1 : version
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need that?

Comment on lines +38 to +59
/**
* Parameters for `VersionedLayerClient` constructor.
*/
export interface VersionedLayerClientParams {
/**
* Context which stores and caches the shared information needed for that clients
*/
context: DataStoreContext;
/**
* Specify the catalog HRN
*/
hrn: string;
/**
* Layer id. It is used as layer main identifier in api queries
*/
layerId: string;
/**
* Specify which version of layer should be used.
*/
version: number;
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need that?

@iriza7 iriza7 closed this Oct 31, 2019
@iriza7 iriza7 deleted the task/olpedge-904LayeredClient3 branch October 31, 2019 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants