private List<AppRegistrationResource> findAllAppsByNameAndType(String appName, ApplicationType appType) { return appRegistryOperations().list().getContent().stream() .filter(a -> a.getName().equals(appName)) .filter(a -> a.getType().equals(appType.toString())) .collect(Collectors.toList()); }
private List<AppRegistrationResource> findAllAppsByNameAndType(String appName, ApplicationType appType) { return appRegistryOperations().list().getContent().stream() .filter(a -> a.getName().equals(appName)) .filter(a -> a.getType().equals(appType.toString())) .collect(Collectors.toList()); }
this.whitelistProperties.qualifyProperties(appUpdateTimeProperties, metadataResource); expandedAppUpdateTimeProperties.put(DataFlowPropertyKeys.STREAM_APP_TYPE, type.toString()); AppDefinition appDefinition = new AppDefinition(currentApp.getName(), expandedAppUpdateTimeProperties);
this.whitelistProperties.qualifyProperties(appUpdateTimeProperties, metadataResource); expandedAppUpdateTimeProperties.put(DataFlowPropertyKeys.STREAM_APP_TYPE, type.toString()); AppDefinition appDefinition = new AppDefinition(currentApp.getName(), expandedAppUpdateTimeProperties);
|| !application.type.toString().equals(appRegistration.getType()))) { continue;
|| !application.type.toString().equals(appRegistration.getType()))) { continue;
appDeployTimeProperties.put(DataFlowPropertyKeys.STREAM_APP_TYPE, currentApp.getApplicationType().toString()); StringBuilder sb = new StringBuilder().append(currentApp.getStreamName()).append(".") .append(currentApp.getName()).append(".").append("${spring.cloud.application.guid}");
appDeployTimeProperties.put(DataFlowPropertyKeys.STREAM_APP_TYPE, currentApp.getApplicationType().toString()); StringBuilder sb = new StringBuilder().append(currentApp.getStreamName()).append(".") .append(currentApp.getName()).append(".").append("${spring.cloud.application.guid}");