import { Observable } from 'rxjs/Rx'; import { Injectable } from '@angular/core'; import { Http, RequestOptions } from '@angular/http'; import { SeCurisResourceServices } from './base'; import { LocaleService } from '../common/i18n'; var app_example = { code: 'CICS', creation_timestamp: 1418384439000, description: 'Wellbore integrity analysis software', id: 1, license_filename: 'config_server.lic', metadata: [ { key: 'simulationModes', value: 'A1,A2,A3,QL,N1,QLPRO', creation_timestamp: 1418384439000, mandatory: true } ], name: 'CurisIntegrity' } @Injectable() export class ApplicationsService extends SeCurisResourceServices { constructor(http: Http, $L: LocaleService) { super($L, http, 'application'); } }