Mock the backend API calls 83/5283/2
authorLathish <lathishbabu.ganesan@est.tech>
Tue, 8 Dec 2020 21:55:51 +0000 (21:55 +0000)
committerLathish <lathishbabu.ganesan@est.tech>
Fri, 11 Dec 2020 15:23:41 +0000 (15:23 +0000)
commitb339e7ad48142e5c1d5c29b4cc0a00e9bbbbaa4d
treee315281e8ff13477c2f2e330ba661965eef4cfd2
parent1be62afd8d8878dbeab21652b0e0fc1dfeee9d6c
Mock the backend API calls

This allows developer to test the UI without the need of backend

Issue-ID: NONRTRIC-355
Change-Id: I38a2d16234a727236ba93ec78ba62b17eeb4dc34
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
15 files changed:
webapp-frontend/README.md
webapp-frontend/angular.json
webapp-frontend/package.json
webapp-frontend/src/app/controlpanel.module.ts
webapp-frontend/src/app/interceptor.mock.ts [new file with mode: 0644]
webapp-frontend/src/app/interceptor.ts [new file with mode: 0644]
webapp-frontend/src/app/mock/ei-jobs.json [new file with mode: 0644]
webapp-frontend/src/app/mock/ei-producers.json [new file with mode: 0644]
webapp-frontend/src/app/mock/policy-instance-edit.json [new file with mode: 0644]
webapp-frontend/src/app/mock/policy-instance.json [new file with mode: 0644]
webapp-frontend/src/app/mock/policytypes.json [new file with mode: 0644]
webapp-frontend/src/environments/environment.mock.ts [new file with mode: 0644]
webapp-frontend/src/environments/environment.prod.ts
webapp-frontend/src/environments/environment.ts
webapp-frontend/tsconfig.json