Commit ae54d2bc authored by Hugues.Cazeaux's avatar Hugues.Cazeaux Committed by Florent Poittevin
Browse files

feat: [DLCM-1945] support Solidfy index module

parent d8ef9c63
......@@ -60,7 +60,7 @@ export class AdminIndexFieldAliasState extends ResourceState<AdminIndexFieldAlia
}
protected get _urlResource(): string {
return ApiEnum.dataManagementResourceIndexFieldAliases;
return ApiEnum.indexResourceIndexFieldAliases;
}
@Selector()
......
......@@ -62,7 +62,7 @@ export class AdminOaiSetState extends ResourceState<AdminOaiSetStateModel, OaiSe
}
protected get _urlResource(): string {
return ApiEnum.aoiInfoOaiSets;
return ApiEnum.oaiInfoOaiSets;
}
@Selector()
......
......@@ -51,7 +51,7 @@
<button [disabled]="oaiPmhProvider | isNullOrUndefined"
(click)="navigateTo(oaiPmhProvider)"
mat-menu-item
>OAI PMH Provider
>OAI-PMH Provider
<solidify-icon class="icon-right"
[iconName]="iconNameEnum.externalLink"
></solidify-icon>
......
......@@ -52,7 +52,7 @@ export class ApiEnum {
return environment.oaiInfo;
}
static get aoiInfoOaiSets(): string {
static get oaiInfoOaiSets(): string {
return ApiEnum.oaiInfo + SEPARATOR + ApiResourceNameEnum.OAI_SETS;
}
......@@ -210,8 +210,12 @@ export class ApiEnum {
return ApiEnum.dataMgmt;
}
static get dataManagementResourceIndexFieldAliases(): string {
return ApiEnum.dataMgmt + SEPARATOR + ApiResourceNameEnum.INDEX_FIELD_ALIASES;
static get index(): string {
return environment.index;
}
static get indexResourceIndexFieldAliases(): string {
return ApiEnum.index + SEPARATOR + ApiResourceNameEnum.INDEX_FIELD_ALIASES;
}
static get archivalStorageDefaultUrl(): string {
......
......@@ -40,6 +40,6 @@ export class SharedIndexFieldAliasState extends ResourceState<SharedIndexFieldAl
}
protected get _urlResource(): string {
return ApiEnum.dataManagementResourceIndexFieldAliases;
return ApiEnum.indexResourceIndexFieldAliases;
}
}
......@@ -42,7 +42,7 @@ export class SharedOaiSetState extends ResourceState<SharedOaiSetStateModel, Oai
}
protected get _urlResource(): string {
return ApiEnum.aoiInfoOaiSets;
return ApiEnum.oaiInfoOaiSets;
}
@Selector()
......
......@@ -17,6 +17,7 @@ export interface DlcmEnvironment extends DefaultSolidifyEnvironment {
oaiInfo?: string | undefined;
archivalStorage?: string[] | undefined;
dataManagement?: string | undefined;
index?: string | undefined;
defaultStorageIndex: number;
archivalStorageName: string[];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment