@Test public void should_return_commonPublicationData() { AgentConfig config = AgentConfigFactory.createTemplateConfig(); assertNotNull(config.commonPublicationData()); }
public CommonPublicationData2 commonPublicationData() { return CommonPublicationData2.builder() .appName(getAppName()) .appVersion(getResolvedAppVersion()) .agentVersion(Constants.AGENT_VERSION) .computerId(Constants.COMPUTER_ID) .environment(getEnvironment()) .excludePackages(getNormalizedExcludePackages()) .hostname(getHostname()) .jvmStartedAtMillis(Constants.JVM_STARTED_AT_MILLIS) .jvmUuid(Constants.JVM_UUID) .methodVisibility(getNormalizedMethodVisibility()) .packages(getNormalizedPackages()) .publishedAtMillis(System.currentTimeMillis()) .tags(getTags()) .codeBaseFingerprint("to-be-replaced") .build(); }
AgentConfig implements Serializable { public CommonPublicationData2 commonPublicationData() { return CommonPublicationData2.builder() .appName(getAppName()) .appVersion(getResolvedAppVersion()) .agentVersion(Constants.AGENT_VERSION) .computerId(Constants.COMPUTER_ID) .environment(getEnvironment()) .excludePackages(getNormalizedExcludePackages()) .hostname(getHostname()) .jvmStartedAtMillis(Constants.JVM_STARTED_AT_MILLIS) .jvmUuid(Constants.JVM_UUID) .methodVisibility(getNormalizedMethodVisibility()) .packages(getNormalizedPackages()) .publishedAtMillis(System.currentTimeMillis()) .tags(getTags()) .codeBaseFingerprint("to-be-replaced") .build(); } }
AgentConfig implements Serializable { public CommonPublicationData2 commonPublicationData() { return CommonPublicationData2.builder() .appName(getAppName()) .appVersion(getResolvedAppVersion()) .agentVersion(Constants.AGENT_VERSION) .computerId(Constants.COMPUTER_ID) .environment(getEnvironment()) .excludePackages(getNormalizedExcludePackages()) .hostname(getHostname()) .jvmStartedAtMillis(Constants.JVM_STARTED_AT_MILLIS) .jvmUuid(Constants.JVM_UUID) .methodVisibility(getNormalizedMethodVisibility()) .packages(getNormalizedPackages()) .publishedAtMillis(System.currentTimeMillis()) .tags(getTags()) .codeBaseFingerprint("to-be-replaced") .build(); }  }
AgentConfig implements Serializable { public CommonPublicationData2 commonPublicationData() { return CommonPublicationData2.builder() .appName(getAppName()) .appVersion(getResolvedAppVersion()) .agentVersion(Constants.AGENT_VERSION) .computerId(Constants.COMPUTER_ID) .environment(getEnvironment()) .excludePackages(getNormalizedExcludePackages()) .hostname(getHostname()) .jvmStartedAtMillis(Constants.JVM_STARTED_AT_MILLIS) .jvmUuid(Constants.JVM_UUID) .methodVisibility(getNormalizedMethodVisibility()) .packages(getNormalizedPackages()) .publishedAtMillis(System.currentTimeMillis()) .tags(getTags()) .codeBaseFingerprint("to-be-replaced") .build(); }  List<String> getNormalizedPackages(); List<String> getNormalizedExcludePackages(); List<File> getCodeBaseFiles(); MethodAnalyzer getMethodAnalyzer(); String getPollConfigRequestEndpoint(); String getCodeBaseUploadEndpoint(); String getInvocationDataUploadEndpoint(); String getResolvedAppVersion(); OkHttpClient getHttpClient(); String getFilenamePrefix(@NonNull String prefix); CommonPublicationData2 commonPublicationData(); }
AgentConfig implements Serializable { public CommonPublicationData2 commonPublicationData() { return CommonPublicationData2.builder() .appName(getAppName()) .appVersion(getResolvedAppVersion()) .agentVersion(Constants.AGENT_VERSION) .computerId(Constants.COMPUTER_ID) .environment(getEnvironment()) .excludePackages(getNormalizedExcludePackages()) .hostname(getHostname()) .jvmStartedAtMillis(Constants.JVM_STARTED_AT_MILLIS) .jvmUuid(Constants.JVM_UUID) .methodVisibility(getNormalizedMethodVisibility()) .packages(getNormalizedPackages()) .publishedAtMillis(System.currentTimeMillis()) .tags(getTags()) .codeBaseFingerprint("to-be-replaced") .build(); }  List<String> getNormalizedPackages(); List<String> getNormalizedExcludePackages(); List<File> getCodeBaseFiles(); MethodAnalyzer getMethodAnalyzer(); String getPollConfigRequestEndpoint(); String getCodeBaseUploadEndpoint(); String getInvocationDataUploadEndpoint(); String getResolvedAppVersion(); OkHttpClient getHttpClient(); String getFilenamePrefix(@NonNull String prefix); CommonPublicationData2 commonPublicationData(); static final String INVOCATIONS_BASENAME; static final String JVM_BASENAME; }