Commit bd9346c0 authored by Fabien Forestier's avatar Fabien Forestier
Browse files

Merge branch 'development' into 'master'

version 3.2.0

See merge request refonte-data/legacy-auth-middleware!1
parents 9b152134 b5e00181
Pipeline #3156 passed with stage
in 9 seconds
{
"name": "legacy-auth-middleware",
"version": "3.1.0",
"version": "3.2.0",
"description": "description",
"author": "",
"license": "MIT",
......
......@@ -373,6 +373,7 @@ export interface IResource {
mode: string;
service: string;
valid_until: string;
geonet_uuid: string;
}
export class Resource {
......@@ -384,6 +385,10 @@ export class Resource {
@IsString()
datasetName: string;
@ApiModelProperty()
@IsString()
geonetUuid: string;
@ApiModelProperty()
@IsString()
serviceName: string;
......@@ -404,6 +409,7 @@ export class Resource {
if (service) {
this.datasetId = service.service_id ? service.service_id : null;
this.datasetName = service.service ? service.service : '';
this.geonetUuid = service.geonet_uuid ? service.geonet_uuid : null;
this.serviceName = service.mode ? service.mode : '';
this.status = service.status ? service.status : '';
this.validUntil = service.valid_until ? moment.utc(service.valid_until, 'DD/MM/YYYY', true).toString() : null;
......
Markdown is supported
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