Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vipera-npm-registry / motif-web-admin-core   js

Repository URL to install this package:

Version: 0.3.1 

/ lib / services / RESTContextCatalogService.d.ts

import { DomainsService, ApplicationsService } from '@wa-motif-open-api/platform-service';
import { ContextsService as RESTContextService, ServiceContext } from '@wa-motif-open-api/rest-content-service';
import { ContextsService } from '@wa-motif-open-api/context-service';
import { Observable } from 'rxjs';
import { NGXLogger } from 'web-console-core';
export declare class RESTContextCatalogService {
    private domainService;
    private applicationService;
    private restContextService;
    private contextService;
    private logger;
    private domainsList;
    constructor(domainService: DomainsService, applicationService: ApplicationsService, restContextService: RESTContextService, contextService: ContextsService, logger: NGXLogger);
    deleteRESTContext(domain: string, application: string, contextName: string): Observable<any>;
    createRESTContext(domain: string, application: string, contextName: string, url: string): Observable<ServiceContext>;
    enableRESTContext(domain: string, application: string, contextName: string, enabled: boolean): Observable<any>;
    updateRESTContext(domain: string, application: string, contextName: string, url: string): Observable<any>;
    /**
     * Returns a JSON with the Service Catalog Structure
     */
    getRESTContextCatalog(): Observable<Array<ServiceContext>>;
    getRESTContextCatalogFor(domain: string, application: string): Observable<Array<ServiceContext>>;
}