alcor icon indicating copy to clipboard operation
alcor copied to clipboard

Remove cache access from NCM gRPC client

Open xieus opened this issue 3 years ago • 0 comments

In the services/network_config_manager/src/main/java/com/futurewei/alcor/netwconfigmanager/client/gRPC/GoalStateClientImpl.java, the GS gRPC client calls the ResourceStateCache service which further access Resource State Cache.

Ideally, we would like to have a gRPC client free of any database/cache access and handle only the Goal State communication.

The DB access should be moved to the upper level service layer, which packs DB information, calls gRPC client with the requested db information.

xieus avatar Jan 31 '22 20:01 xieus