Package models.data

Examples of models.data.AgentCommandMetadata


      String nodeGroupType,  String agentCommandType, Map<String, NodeGroupDataMap> dataStore,
      boolean localMode, boolean failOver, String directorJobUuid, int maxConcNum, Set<Address> nodeList) {
    if (system == null) return null;
    BatchResponseFromManager agentCommandResponseFromManager = null;
 
    AgentCommandMetadata agentCommandMetadata = AgentDataProvider.agentCommandMetadatas
        .get(agentCommandType);
    NodeGroupDataMap ngdm = dataStore.get(nodeGroupType);
         
    if (agentCommandMetadata == null) {
      models.utils.LogUtils
View Full Code Here


      Map<String, NodeGroupSourceMetadata> nodeGroupStore) {

    NodeGroupSourceMetadata nodeGroupSourceMetadata = nodeGroupStore
        .get(nodeGroupType);

    AgentCommandMetadata agentCommandMetadata = agentCommandMetadatas
        .get(agentCommandType);

    if(agentCommandMetadata==null){
      models.utils.LogUtils.printLogError("agentCommandMetadata iS NULL in generateAgentCommandInNodeGroupDataMap(); RETURN at time " + DateUtils.getNowDateTimeStrSdsm());
     
      return;
    }
   
    String requestContentTemplate = agentCommandMetadata
        .getRequestContentTemplate();
    String requestContent = AgentCommandMetadata
        .replaceDefaultFullRequestContent(requestContentTemplate);

    if (nodeGroupSourceMetadata == null || agentCommandMetadata == null) {
View Full Code Here

         * can resume setting this value from the config
         */
        pauseIntervalWorkerMillis = 0L;
       

        AgentCommandMetadata acm = new AgentCommandMetadata(
            agentCommandType, httpMethod,
            requestUrlPostfixAfterReplacementByVarMap,
            requestContentTemplateAfterReplacementByVarMap,
            requestProtocol, requestPort, maxConcurrency,
            pauseIntervalWorkerMillis, responseExtractIndexStart,
View Full Code Here

           * 20131013; deprecate this pauseIntervalWorkerMillis. if
           * needed can resume setting this value from the config
           */
          pauseIntervalWorkerMillis = 0L;

          AgentCommandMetadata acm = new AgentCommandMetadata(
              agentCommandType, httpMethod,
              requestUrlPostfixAfterReplacementByVarMap,
              requestContentTemplateAfterReplacementByVarMap,
              requestProtocol, requestPort, maxConcurrency,
              pauseIntervalWorkerMillis,
View Full Code Here

  }

  public static boolean isWisbVarFromCommand(String agentCommandType) {

    AgentDataProvider adp = AgentDataProvider.getInstance();
    AgentCommandMetadata agentCommandMetadata = adp.agentCommandMetadatas
        .get(agentCommandType);

    String requestContentTemplate = agentCommandMetadata
        .getRequestContentTemplate();

    String requestUrlPostfix = agentCommandMetadata.getRequestUrlPostfix();

    boolean isWisbVarInString = false;

    if (requestContentTemplate.contains(VarUtils.WISB_VAR_NAME_PREFIX)
        || requestUrlPostfix.contains(VarUtils.WISB_VAR_NAME_PREFIX)) {
View Full Code Here

  public static void getAgentCommandMetadata(String agentCommandType) {

    try {
      AgentDataProvider adp = AgentDataProvider.getInstance();
      AgentCommandMetadata agentCommandMetadata = adp.agentCommandMetadatas
          .get(agentCommandType);

      renderJSON(agentCommandMetadata);
    } catch (Throwable t) {
      t.printStackTrace();
View Full Code Here

TOP

Related Classes of models.data.AgentCommandMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.