Fix Bug 2219 - NG-UI remains stuck when showing a VIM created from the CLI

	- For Info part in VIM, UI will check for location value mandatorily.
	  Fixed this by adding condition to check null or undefined values before going inside location values loop.

Change-Id: I8ff265aa364b41131b3e99d3712e964b94f05aa8
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
1 file changed
tree: 418af1e9efbdb71fe2d661387e3c3cc83dfb356e
  1. .browserslistrc
  2. .dockerignore
  3. .editorconfig
  4. .gitignore
  5. .gitlab-ci.yml
  6. CONTRIBUTING.md
  7. Dockerfile
  8. Jenkinsfile
  9. LICENSE
  10. README.md
  11. angular.json
  12. build-debpkg.sh
  13. debian/
  14. devops-stages/
  15. docker/
  16. nginx/
  17. package.json
  18. proxy.conf.json
  19. src/
  20. tsconfig.json
  21. tslint.json
README.md

Angular Based OSM NG UI

This project focuses on the implementation of a web GUI to interact with the Northbound API of OSM.

The project is based on (Angular), a One framework for Mobile & desktop, app-design framework and development platform for creating efficient and sophisticated single-page web apps.

Table of Contents

Community

Contact kumaran.m@tataelxsi.co.in, rajesh.s@tataelxsi.co.in, barath.r@tataelxsi.co.in for architecture and design discussions, requests for help, features request and bug reports on NG UI.

Getting Started

Following instructions in the sections below will get you a copy of the project up and running on your local machine for development and testing purposes. See Deployment section for notes on how to deploy the project on a live system.

Prerequisites

Angular Setup, Install, & Build Guide

  1. Install Node.js from here To check if nodejs is installed on your system, type below command. This will help you see the version of nodejs currently installed on your system. node -version After downloading Node.js, the node package manager (npm) should automatically be installed. Test it out by doing: npm --version
  2. Install Angluar CLI. More details Angular can be installed Globally (or) Locally, Install Globally npm install -g @angular/cli Install Locally npm install @angular/cli After installation done you can check the version using below command. It will display version details of angular-cli ng version

We are done with the installation of Angular

Installation

Clone the NG UI from the repository

git clone "https://osm.etsi.org/gerrit/osm/NG-UI"

Install the packages

cd NG-UI

npm install

Running the application

The following instructions is for running NG UI locally for development purpose,

On the folder project

Open proxy.conf.json

Add the below code

{
    "/osm/*": {
        "target": "https://OSM-NBI-IP:9999",
        "secure": false,
        "logLevel": "info"
    }
}

To run the application give the below command

npm run proxy

Check the lint

To check the typescript lint run the below command

npm run lint

Supported Browsers

  • Edge (42.17134.1098.0) and IE 11 (Windows)
  • Firefox (75.0)(Ubunutu)
  • Firefox (75.0)(Windows)
  • Chrome (81.0.4044.92) (Ubunutu)
  • Chrome (81.0.4044.122) (Windows)

Deployment

To deploy the NG UI use the Dockerfile

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the Apache2 License - see the LICENSE.md file for details