add AlfrescoApiService

This commit is contained in:
Mario Romano 2016-09-06 12:14:00 +01:00
parent 30f22006dd
commit 788f66cb12
4 changed files with 8 additions and 8 deletions

View File

@ -64,11 +64,8 @@ script: npm run test
# Send coverage data to Coveralls
after_success:
- bash <(curl -s https://codecov.io/bash)
after_script:
- travis cache --delete
cache:
timeout: 1000
directories:
- demo-shell-ng2/node_modules
- ng2-components/ng2-activiti-form/node_modules

View File

@ -16,7 +16,7 @@
*/
import { it, inject, describe, expect, beforeEach, beforeEachProviders, afterEach } from '@angular/core/testing';
import { AlfrescoAuthenticationService, AlfrescoSettingsService } from 'ng2-alfresco-core';
import { AlfrescoAuthenticationService, AlfrescoSettingsService, AlfrescoApiService } from 'ng2-alfresco-core';
import { NodeService } from './node.service';
import { EcmModelService } from './ecm-model.service';
import { HTTP_PROVIDERS } from '@angular/http';
@ -35,7 +35,8 @@ describe('EcmModelService', () => {
AlfrescoSettingsService,
NodeService,
EcmModelService,
HTTP_PROVIDERS
HTTP_PROVIDERS,
AlfrescoApiService
];
});

View File

@ -16,7 +16,7 @@
*/
import { it, inject, describe, expect, beforeEach, beforeEachProviders, afterEach } from '@angular/core/testing';
import { AlfrescoAuthenticationService, AlfrescoSettingsService } from 'ng2-alfresco-core';
import { AlfrescoAuthenticationService, AlfrescoSettingsService, AlfrescoApiService } from 'ng2-alfresco-core';
import { NodeService } from './node.service';
import { NodeMetadata } from '../models/node-metadata.model';
import { EcmModelService } from './ecm-model.service';
@ -31,7 +31,8 @@ describe('NodeService', () => {
return [
AlfrescoAuthenticationService,
AlfrescoSettingsService,
NodeService
NodeService,
AlfrescoApiService
];
});

View File

@ -3,10 +3,10 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
for PACKAGE in \
ng2-alfresco-core \
ng2-activiti-form \
ng2-activiti-tasklist \
ng2-activiti-processlist \
ng2-alfresco-core \
ng2-alfresco-datatable \
ng2-alfresco-documentlist \
ng2-alfresco-login \
@ -18,6 +18,7 @@ do
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
echo "====== build components : ${PACKAGE} ====="
cd "$DESTDIR"
npm update
npm install --cache-min 9999999
npm run build
done