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
anis
anis-client
Commits
d3d872f5
Commit
d3d872f5
authored
Sep 03, 2019
by
François Agneray
Browse files
Merge branch '56-update-instances-multiples' into 'develop'
Resolve "Update instances multiples" Closes
#56
See merge request
!48
parents
5225a0a2
c1c0494f
Pipeline
#1470
passed with stages
in 7 minutes and 25 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/app/detail/store/detail.service.ts
View file @
d3d872f5
...
...
@@ -5,7 +5,7 @@ import { environment } from '../../../environments/environment';
@
Injectable
()
export
class
DetailService
{
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/search
'
;
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/search
/
'
+
environment
.
instanceName
;
constructor
(
private
http
:
HttpClient
)
{
}
...
...
src/app/metamodel/services/attribute.service.ts
View file @
d3d872f5
...
...
@@ -6,7 +6,7 @@ import { environment } from '../../../environments/environment';
@
Injectable
()
export
class
AttributeService
{
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/metadata
'
;
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/metadata
/
'
+
environment
.
instanceName
;
constructor
(
private
http
:
HttpClient
)
{
}
...
...
src/app/metamodel/services/criteria.service.ts
View file @
d3d872f5
...
...
@@ -6,7 +6,7 @@ import { environment } from '../../../environments/environment';
@
Injectable
()
export
class
CriteriaService
{
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/metadata
'
;
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/metadata
/
'
+
environment
.
instanceName
;
constructor
(
private
http
:
HttpClient
)
{
}
...
...
src/app/metamodel/services/dataset.service.ts
View file @
d3d872f5
...
...
@@ -7,7 +7,7 @@ import { environment } from '../../../environments/environment';
@
Injectable
()
export
class
DatasetService
{
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/metadata
'
;
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/metadata
/
'
+
environment
.
instanceName
;
constructor
(
private
http
:
HttpClient
)
{
}
...
...
src/app/metamodel/services/output.service.ts
View file @
d3d872f5
...
...
@@ -7,7 +7,7 @@ import { environment } from '../../../environments/environment';
@
Injectable
()
export
class
OutputService
{
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/metadata
'
;
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/metadata
/
'
+
environment
.
instanceName
;
constructor
(
private
http
:
HttpClient
)
{
}
...
...
src/app/search/store/search.service.ts
View file @
d3d872f5
...
...
@@ -6,7 +6,7 @@ import { environment } from '../../../environments/environment';
@
Injectable
()
export
class
SearchService
{
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/search
'
;
private
API_PATH
:
string
=
environment
.
apiUrl
+
'
/search
/
'
+
environment
.
instanceName
;
constructor
(
private
http
:
HttpClient
)
{
}
...
...
src/environments/environment.prod.ts
View file @
d3d872f5
export
const
environment
=
{
production
:
true
,
apiUrl
:
'
https://anis-dev.lam.fr
'
production
:
true
,
apiUrl
:
'
https://anis-dev.lam.fr
'
,
instanceName
:
'
default
'
};
src/environments/environment.ts
View file @
d3d872f5
...
...
@@ -5,5 +5,6 @@
export
const
environment
=
{
production
:
false
,
apiUrl
:
'
http://localhost:8080
'
apiUrl
:
'
http://localhost:8080
'
,
instanceName
:
'
default
'
};
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