Class AWSFederatedAPIDiscovery

  • All Implemented Interfaces:
    org.wso2.carbon.apimgt.api.FederatedAPIDiscovery

    public class AWSFederatedAPIDiscovery
    extends Object
    implements org.wso2.carbon.apimgt.api.FederatedAPIDiscovery
    Represents the federated API discovery implementation for AWS API Gateway. This class is responsible for discovering REST APIs deployed on AWS API Gateway and integrating them with the API management system. It includes methods for initializing the discovery process, fetching deployed APIs, and evaluating whether an API has been updated. This implementation works in conjunction with AWS API Gateway and uses AWS SDK for Java for API interactions.
    • Constructor Detail

      • AWSFederatedAPIDiscovery

        public AWSFederatedAPIDiscovery()
    • Method Detail

      • init

        public void init​(org.wso2.carbon.apimgt.api.model.Environment environment,
                         String organization)
                  throws org.wso2.carbon.apimgt.api.APIManagementException
        Specified by:
        init in interface org.wso2.carbon.apimgt.api.FederatedAPIDiscovery
        Throws:
        org.wso2.carbon.apimgt.api.APIManagementException
      • discoverAPI

        public List<org.wso2.carbon.apimgt.api.model.DiscoveredAPI> discoverAPI()
        Specified by:
        discoverAPI in interface org.wso2.carbon.apimgt.api.FederatedAPIDiscovery
      • isAPIUpdated

        public boolean isAPIUpdated​(String existingReferenceArtifact,
                                    String newReferenceArtifact)
        Specified by:
        isAPIUpdated in interface org.wso2.carbon.apimgt.api.FederatedAPIDiscovery