Vantage UI Platform
Components, Utilities and Services for all Teradata Angular UIs
Information
Setup
- Ensure you have Node 10.15.3 (on a Mac use Homebrew and
brew install node@10.15.3
)
- Ensure you have NPM 6+ installed.
- Install Docker Engine: https://docs.docker.com/engine/installation/
- Install Angular CLI
npm i -g @angular/cli
- Install Typescript
npm i -g typescript
- Install TSLint
npm i -g tslint
- Install Protractor for e2e testing
npm i -g protractor
- Install Node packages
npm install
Development
-
Update the serverUrl
variable in the proxy.conf.js
to point to your vantage environment.
-
Run local webserver npm run serve
-
In Chrome go to http://localhost:4200
Build and publish
npm run build:lib
npm run publish:npm
Usage Notes
Single Sign-On
click here for information about SSO
Http
- HTTP in the ui-platform uses Covalent Http
- An es7 polyfill will be required in the Angular Application
- Create a file named
src/polyfills.ts
- In that file add the following import:
import 'core-js/es7/reflect';