How to use the @alfresco/adf-core.AppConfigService function in @alfresco/adf-core

To help you get started, we’ve selected a few @alfresco/adf-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Alfresco / alfresco-ng2-components / lib / process-services / src / lib / task-list / services / task-filter.service.spec.ts View on Github external
beforeEach(async(() => {
        service = new TaskFilterService(
            new AlfrescoApiServiceMock(new AppConfigService(null), new StorageService()),
            new LogService(new AppConfigService(null)));
        jasmine.Ajax.install();
    }));
github Alfresco / alfresco-ng2-components / lib / process-services-cloud / src / lib / task / services / task-cloud.service.spec.ts View on Github external
beforeEach(async(() => {
        alfrescoApiMock = new AlfrescoApiServiceMock(new AppConfigService(null), new StorageService());
        identityUserService = TestBed.get(IdentityUserService);
        spyOn(identityUserService, 'getCurrentUserInfo').and.returnValue(cloudMockUser);
        service = new TaskCloudService(alfrescoApiMock,
                                           new AppConfigService(null),
                                           new LogService(new AppConfigService(null)),
                                           identityUserService);

    }));
github Alfresco / alfresco-ng2-components / lib / process-services-cloud / src / lib / task / services / task-cloud.service.spec.ts View on Github external
beforeEach(async(() => {
        alfrescoApiMock = new AlfrescoApiServiceMock(new AppConfigService(null), new StorageService());
        identityUserService = TestBed.get(IdentityUserService);
        spyOn(identityUserService, 'getCurrentUserInfo').and.returnValue(cloudMockUser);
        service = new TaskCloudService(alfrescoApiMock,
                                           new AppConfigService(null),
                                           new LogService(new AppConfigService(null)),
                                           identityUserService);

    }));