class StackAdvisorResourceProvider extends ReadOnlyResourceProvider {

  protected Map<String, String> readUserContext(Request request) {
    HashMap<String, String> userContext = new HashMap<>();
    if (null != getRequestProperty(request, USER_CONTEXT_OPERATION_PROPERTY)) {
      userContext.put(OPERATION_PROPERTY,
                      (String) getRequestProperty(request, USER_CONTEXT_OPERATION_PROPERTY));
    }
    if (null != getRequestProperty(request, USER_CONTEXT_OPERATION_DETAILS_PROPERTY)) {
      userContext.put(OPERATION_DETAILS_PROPERTY,
                      (String) getRequestProperty(request, USER_CONTEXT_OPERATION_DETAILS_PROPERTY));
    }
    return userContext;
  }

  protected  StackAdvisorResourceProvider(Resource.Type type, Set<String> propertyIds, Map<Type, String> keyPropertyIds,
                                         AmbariManagementController managementController);

}