Fix Bug 2121: NG-UI uses unmaintained Chokidar version

	- Upgraded Angular from 11 to 14 version to remove chokidar
	  unmaintained version.
	- Changed linting tool tslint to eslint for angular 14 as tslint
	  is depreacted after angular 12
	- Resolved linting issues from code

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