java.lang.Object
edu.university.ecs.lab.detection.antipatterns.services.HubLikeService

public class HubLikeService extends Object
Service class for identifying and managing hub-like microservices in a network graph.
  • Field Details

    • DEFAULT_RESTCALL_THRESHOLD

      protected static final int DEFAULT_RESTCALL_THRESHOLD
      Threshold for the number of REST calls indicating a microservice is hub-like.
      See Also:
    • RESTCALL_THRESHOLD

      private final int RESTCALL_THRESHOLD
  • Constructor Details

    • HubLikeService

      public HubLikeService()
    • HubLikeService

      public HubLikeService(int RESTCALL_THRESHOLD)
  • Method Details

    • getHubLikeMicroservice

      public HubLikeMicroservice getHubLikeMicroservice(ServiceDependencyGraph graph)
      Retrieves microservices identified as hub-like based on REST call threshold.
      Parameters:
      graph - the network graph to analyze
      Returns:
      a HubLikeMicroservice object containing identified hub-like microservices