Konstantina Galouni
12d4473e54
1. result-preview.component.ts & datasourcesHelper.class.ts & entitiesSelection.component.ts & newSearchPage.component.ts & errorPage.component.ts & searchAll.component.ts: Added case for service entity. 2. searchFields.ts: Added in OpenaireEntities names for Services | In methods "getFieldName()" and "getFieldParam()" case for service entity. 3. searchDataProviders.component.ts: Parametrize component to show/query for datasources or services. 4. quick-selections.component.ts: Delete reset of resultTypes from "initializeFilters()" method. 5. searchDataproviders.service.ts: In method "numOfSearchDataproviders2()" added parameter "typePathParam" to search for datasources or services | In method "parseResults()" set "entityType" according to eosctype field. 6. portal.ts: In method "getmockPortalInfo()" added entity and routes for service. 7. env-properties.ts: Added properties "searchLinkToService", "searchLinkToServices", "searchLinkToAdvancedServices". 8. dataProvider.component.html: Parametrize component to show for datasources or services | [Bug fix] Added [class.uk-invisible]="!dataProviderInfo" in #graph_and_feedback_template. 9. dataProvider.component.ts: Parametrize component to show/query for datasources or services. 10. dataProvider.service.ts: In method "getDataproviderInfo()" added parameter "typePathParam" to search for datasources or services. 11. searchAll.component.html: Added tab for search services. |
||
---|---|---|
e2e | ||
src | ||
.browserslistrc | ||
.gitignore | ||
.gitmodules | ||
README.md | ||
angular.json | ||
package.json | ||
prometheus.ts | ||
server.ts | ||
tsconfig.json |
README.md
Aggregator
This project was generated with Angular CLI version 7.3.10 and has been updated to 11.2.14.
Install packages
Run npm install (maybe needs sudo), a script that will delete unused files from library will be run.
Development server
Run npm start
for a dev server. Navigate to http://localhost:4400/
. The app will automatically reload if you change any of the source files.
Build - CSR
Use the npm run build-dev
for a development build.
Use the npm run build-beta
for a beta build.
Use the npm run build-prod
for a production build.
Build - SSR
Use the npm run build:ssr-dev
for a development build.
Use the npm run build:ssr-beta
for a beta build.
Use the npm run build:ssr-prod
for a production build.
Run SSR
npm run serve:ssr
will run the last server build.
Webpack Analyzer
In order to analyze bundle size you can run npm run webpack-bundle-analyzer
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via Protractor.