Konstantina Galouni
e2ca8d3e4b
1. dataProviderInfo.ts: Added fields jurisdiction, thematic, contentpolicy, identifiers. 2. dataProvider.service.ts: Parse new fields. 3. dataProvider.component.html: Added label "Thematic" when true | moved "web page" under the labels | Show identifiers, jurisdiction and contentpolicy. 4. dataProvider.module.ts: Import ResultLandingUtilsModule. 5. parsingFunctions.class.ts: In method "parseIdentifiers()" added parsing for classid "re3data". 6. showIdentifiers.component.ts: Show identifier when key is "re3data" too. 7. string-utils.class.ts: In Identifier class added class and check for "re3data". 8. searchDataproviders.service.ts: In method "parseResults()" parse "pid" and set identifiers. 9. newSearchPage.component.ts: In method "createKeywordQuery()" added check for identifiers for entityTypes "datasource" and "service". |
||
---|---|---|
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.