Skip to content
Briebug

Assessment

NETSCOUT: A migration strategy to move a monitoring UI off AngularJS

We gave NETSCOUT a migration plan and a hybrid proof of concept to move its monitoring UI off AngularJS before end of life.

Situation:
The nGenius Pulse UI was built entirely on AngularJS, which was going end of life in June 2021, with over 200 pages to migrate.
What we found:
The UI relied on $scope and $rootScope contracts, lacked test coverage, and had an unclear startup flow and unclear state and caching.
Result:
A migration plan with a hybrid Angular 9 and AngularJS proof of concept and a build-out plan. NETSCOUT moved into a prototype phase.

Engagement: 2020

Published Updated

Client
Network performance monitoring software company
Engagement
Timeboxed architecture assessment, 2020
Services
Architecture assessment, migration strategy, proof of concept and build-out plan
Stack
AngularJS, Angular 9, Angular Elements, Nx, NgRx, TypeScript
  • 200+pages to migrate off AngularJS
  • 90%target unit and end-to-end test coverage
  • 3quarters in the build-out plan, in 3-week sprints

The challenge

NETSCOUT makes network performance monitoring software. Its nGenius Pulse UI was built entirely on AngularJS, and AngularJS was going end of life on June 30, 2021.

Discovery notes counted over 200 pages to migrate, and only five or six engineers were somewhat fluent in modern Angular. NETSCOUT had to decide whether to migrate in one release or several, and it also wanted a dark mode.

What we found

  • The UI relied on $scope and $rootScope contracts.
  • Test coverage was lacking.
  • The startup flow was unclear.
  • State and cache handling were unclear.

What we did

Assessed the architecture

We reviewed the AngularJS page framework and documented goals, findings and a proposed architecture.

Built a hybrid proof of concept

We built an Angular 9 and AngularJS hybrid on the site overview page, with a proposed page framework and hybrid router code.

Chose an incremental path

We recommended Angular Elements over ngUpgrade and an AngularJS to Angular bridge, so current development could continue during the migration.

Set a state and test strategy

We recommended separate data services, caching, NgRx state management, and unit and end-to-end test coverage of at least 90%.

Laid out the build-out

We planned three quarters of 3-week sprints covering TypeScript, the hybrid app, dark mode, NgRx state, tests and cross-training.

The impact

What changed for the business.

  • A plan before the deadline

    NETSCOUT received the nGenius Migration Plan on March 27, 2020, more than a year before AngularJS end of life.

  • Root issues named

    The assessment found $scope and $rootScope contracts, thin test coverage, and an unclear startup flow, state and cache.

  • Migration without a freeze

    The plan used Angular Elements and an AngularJS bridge so current development could continue during the move.

  • Prototype under way

    NETSCOUT moved into a prototype phase on the site overview page.

All case studies

Facing a framework end-of-life date?

Talk to a senior engineer, not a salesperson. Our senior engineers plan framework migrations that keep your current development moving.