Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DLCM
UI
DLCM-Portal
Commits
ae54d2bc
Commit
ae54d2bc
authored
Dec 16, 2021
by
Hugues.Cazeaux
Committed by
Florent Poittevin
Dec 16, 2021
Browse files
feat: [DLCM-1945] support Solidfy index module
parent
d8ef9c63
Changes
7
Hide whitespace changes
Inline
Side-by-side
src/app/features/admin/index-field-alias/stores/admin-index-field-alias.state.ts
View file @
ae54d2bc
...
...
@@ -60,7 +60,7 @@ export class AdminIndexFieldAliasState extends ResourceState<AdminIndexFieldAlia
}
protected
get
_urlResource
():
string
{
return
ApiEnum
.
dataManagement
ResourceIndexFieldAliases
;
return
ApiEnum
.
index
ResourceIndexFieldAliases
;
}
@
Selector
()
...
...
src/app/features/admin/oai-set/stores/admin-oai-set.state.ts
View file @
ae54d2bc
...
...
@@ -62,7 +62,7 @@ export class AdminOaiSetState extends ResourceState<AdminOaiSetStateModel, OaiSe
}
protected
get
_urlResource
():
string
{
return
ApiEnum
.
a
oiInfoOaiSets
;
return
ApiEnum
.
o
a
iInfoOaiSets
;
}
@
Selector
()
...
...
src/app/shared/components/presentationals/shared-toc/shared-toc.presentational.html
View file @
ae54d2bc
...
...
@@ -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>
...
...
src/app/shared/enums/api.enum.ts
View file @
ae54d2bc
...
...
@@ -52,7 +52,7 @@ export class ApiEnum {
return
environment
.
oaiInfo
;
}
static
get
a
oiInfoOaiSets
():
string
{
static
get
o
a
iInfoOaiSets
():
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
{
...
...
src/app/shared/stores/index-field-alias/shared-index-field-alias.state.ts
View file @
ae54d2bc
...
...
@@ -40,6 +40,6 @@ export class SharedIndexFieldAliasState extends ResourceState<SharedIndexFieldAl
}
protected
get
_urlResource
():
string
{
return
ApiEnum
.
dataManagement
ResourceIndexFieldAliases
;
return
ApiEnum
.
index
ResourceIndexFieldAliases
;
}
}
src/app/shared/stores/oai-set/shared-oai-set.state.ts
View file @
ae54d2bc
...
...
@@ -42,7 +42,7 @@ export class SharedOaiSetState extends ResourceState<SharedOaiSetStateModel, Oai
}
protected
get
_urlResource
():
string
{
return
ApiEnum
.
a
oiInfoOaiSets
;
return
ApiEnum
.
o
a
iInfoOaiSets
;
}
@
Selector
()
...
...
src/environments/environment.defaults.model.ts
View file @
ae54d2bc
...
...
@@ -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
[];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment