Interface STSHomeViewBeanModel

    • Method Detail

      • getPublishedInstances

        Set<String> getPublishedInstances​(STSHomeViewBeanModel.STSType stsType,
                                          String realm)
                                   throws AMConsoleException
        Returns the set of rest sts instances in the SMS under the given realm.
        Parameters:
        stsType - is the request for soap or rest instances
        realm - the realm to consult for the rest sts instances.
        Returns:
        The names of rest sts instances in the SMS
        Throws:
        AMConsoleException - if the SMS cannot be successfully consulted
      • deleteInstances

        void deleteInstances​(STSHomeViewBeanModel.STSType stsType,
                             Set<String> instanceNames)
                      throws AMConsoleException
        Performs DELETEs against the rest-sts publish endpoint to remove the published instances
        Parameters:
        stsType - is the request for soap or rest instances
        instanceNames - the set of instances to be deleted
        Throws:
        AMConsoleException - If an IOException occurs in making the DELETE