Skip to content
Snippets Groups Projects
Commit d38f9825 authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

WIP: interface with new version of ANIS Server

parent ef534c0f
No related branches found
No related tags found
2 merge requests!813.1,!753.1
......@@ -6,7 +6,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class AttributeService {
private API_PATH: string = environment.apiUrl + '/metadata/' + environment.instanceName;
private API_PATH: string = environment.apiUrl;
constructor(private http: HttpClient) { }
......
......@@ -6,7 +6,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class CriteriaService {
private API_PATH: string = environment.apiUrl + '/metadata/' + environment.instanceName;
private API_PATH: string = environment.apiUrl;
constructor(private http: HttpClient) { }
......
......@@ -7,7 +7,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class DatasetService {
private API_PATH: string = environment.apiUrl + '/metadata/' + environment.instanceName;
private API_PATH: string = environment.apiUrl;
constructor(private http: HttpClient) { }
......@@ -24,7 +24,7 @@ export class DatasetService {
}
retrieveDatasetList() {
return this.http.get<Dataset[]>(this.API_PATH + '/dataset');
return this.http.get<Dataset[]>(this.API_PATH + '/instance/default/dataset');
}
retrieveDatasetFamilyList() {
......
......@@ -7,7 +7,7 @@ import { environment } from '../../../environments/environment';
@Injectable()
export class OutputService {
private API_PATH: string = environment.apiUrl + '/metadata/' + environment.instanceName;
private API_PATH: string = environment.apiUrl;
constructor(private http: HttpClient) { }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment