NashTech

Helping to migrate their legacy system to microservices by leveraging Apigee Edge platform

Helping to migrate their legacy system to microservices by leveraging Apigee Edge platform

Introduction

As Apigee edge was part of the new microservice-based architecture, we leveraged the Apigee layer to invoke legacy authentication features on behalf of microservices.

About Royal Caribbean

Our client had a decade-old legacy system (a set of monolithic applications) to address all of the IT requirements. Today, where the software and IT requirements are very dynamic, and to drive the best consumer experience, the client needs to make rapid changes — which wasn’t possible with the existing system.

One of the prime objectives was to be agile and move fast in the digital space where they can continuously roll out new applications and services to their customer and maintain a competitive edge. We proposed adopting microservice-based architecture to serve their need for rapid rollout of the new services and to remove the brittleness (harder and a long-drawn cycle of introducing any new changes) of the existing system. Microservice are all about doing one job and doing it well; they solve the challenges of monolithic systems by being as modular as possible. In the simplest form, they help build an application as a suite of small services, each running in its process and independently deployable.

The challenge

The primary challenge was to migrate the current application to the new application while keeping everything alive and running as it is. So we decided to adopt an incremental approach for the migration and will implement one service at a time and replace the current functionality in the legacy system with that microservice.

However, some parts of the legacy application can still be used as they were serving the business well. It’s not necessary to migrate the complete system instead of finding a way to reuse the functionality of particular components in our newer architecture. One such functionality was the role-based authentication component; it was a complex functionality as multiple legacy components were involved in authenticating the user and its role. Migrating this service was a daunting task, and since it was not adding any business value, we decided to continue with legacy authentication.

rccch

To authenticate the user, all the microservices were calling the authentication feature of the legacy system. Later, we realised that it’s not idle to call legacy services through many microservices. It may activate security threats and we will have to duplicate the functionality in every service.

The solution

As Apigee edge was part of the new microservice-based architecture, we leveraged the Apigee layer to invoke legacy authentication features on behalf of microservices. Using Apigee helped us to keep our microservices agnostic to the legacy application, as Apigee was the only layer that communicated with the legacy application for authenticating the user.

rccch1

In the above figure, instead of invoking the Product, Order, and Inventory microservices directly, the user makes an API call to Apigee. Apigee authenticates the API call using legacy authentication service and if the request gets authenticated, then API delegates the API call to underlying microservices; otherwise, it sends an error response to the caller.

rcs

The outcome 

• By leveraging the Apigee Edge platform, our client was able to migrate legacy service into microservices incrementally while keeping the system live.
• User interaction to the system was limited to Apigee layer only, thus, keeping user agnostic to all the underlying mambo jumbo happening in the migration process.
• The new system is more secure since Apigee provides out of the box security policies for OAuth and LDAP.

Read more case studies

Migrating and modernising the virtual learning environment to AWS for an enhanced experience

The migrated and modernised Moodle infrastructure means that The Open University can now take advantage of cloud benefits.

A glimpse into a year-long RPA journey with a leading digital advertising service

A glimpse into a year-long RPA journey with a leading digital advertising services and solutions provider and how NashTech helped them.

Modernising legacy systems and driving efficiencies through partnership with RPS

Explore how NashTech help RPS modernise legacy systems and drive efficiencies through partnership

Our partnerships

Scroll to Top
SAMPLE TITLE
sample short
sample heading lorem isump
FREE WHITEPAPER
Unlock the power of knowledge with our new whitepaper
“Elevating User Experience for Product Owners”