Skip to content

Commit

Permalink
#14 delete usageScope property
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-wonjune committed Aug 14, 2018
1 parent 1cf7828 commit 7dffa88
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 11 deletions.
Expand Up @@ -52,8 +52,6 @@ export class DataconnectionService extends AbstractService {

let url = this.API_URL + `connections`;

// &sort=port%2Cdesc&name=LOC&usageScope=WORKBENCH&implementor=HIVE

if (param) {
url += '?' + CommonUtil.objectToUrlString(param);
}
Expand Down
Expand Up @@ -32,7 +32,6 @@ export class Dataconnection extends AbstractHistoryEntity {
public database: string;
public catalog: string;
public dbname: string;
public usageScope: UsageScope;


public dataSources: any[];
Expand Down Expand Up @@ -65,8 +64,3 @@ export enum ConnectionType {
STAGE = <any>'STAGE',
FILE = <any>'FILE'
}

export enum UsageScope {
DEFAULT = <any>'DEFAULT',
WORKBENCH = <any>'WORKBENCH'
}
Expand Up @@ -568,7 +568,6 @@ export class HiveSetConnectionComponent extends AbstractPopupComponent implement
return {
size: pageResult.size,
page: pageResult.number,
// usageScope: 'DEFAULT',
implementor: this.implementor,
type: 'jdbc'
};
Expand Down
Expand Up @@ -356,7 +356,6 @@ export class CreateWorkbenchSelectComponent extends AbstractPopupComponent imple
const params = {
size: this.pageResult.size,
page: this.pageResult.number,
usageScope: 'WORKBENCH',
sort: this.selectedContentSort.key + ',' + this.selectedContentSort.sort
};

Expand Down
Expand Up @@ -2097,7 +2097,6 @@ export class WorkbenchComponent extends AbstractComponent implements OnInit, OnD
url: connInfo.url,
username: id,
password: pw,
usageScope: 'DEFAULT',
database: connInfo.database,
authenticationType: this.authenticationType,
catalog: connInfo.catalog,
Expand Down

0 comments on commit 7dffa88

Please sign in to comment.