@see http://stackoverflow.com/questions/36596743/how-to-install-cloudfoundry-on-local-server
To get tools installed
./bosh-me.sh
| #!/bin/bash | |
| # A curated collection of software to be installed via Homebrew | |
| # @author Chris Phillipson | |
| # @lastUpdated 2017-05-04 | |
| # @version 1.0 | |
| # @see http://brew.sh/, https://caskroom.github.io/ | |
| set -e | |
| # Install Homebrew |
| import java.util.List; | |
| import lombok.AccessLevel; | |
| import lombok.AllArgsConstructor; | |
| import lombok.Builder; | |
| import lombok.Getter; | |
| import lombok.NoArgsConstructor; | |
| import org.json.JSONArray; |
@see http://stackoverflow.com/questions/36596743/how-to-install-cloudfoundry-on-local-server
To get tools installed
./bosh-me.sh
@see http://stackoverflow.com/questions/829749/launch-mac-eclipse-with-environment-variables-set
Follow these steps:
cd /Applications/STS.app/Contents
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
| #!/bin/bash | |
| # A curated collection of software to be installed via Homebrew | |
| # @author Chris Phillipson | |
| # @lastUpdated 2017-06-05 | |
| # @version 1.2 | |
| # @see http://brew.sh/, https://caskroom.github.io/, and https://github.com/cloudfoundry/homebrew-tap | |
| set -e |
| public class SpringIntegrationManagementMetrics implements PublicMetrics, ApplicationContextAware { | |
| private ApplicationContext applicationContext; | |
| @Override | |
| public Collection<Metric<?>> metrics() { | |
| Collection<Metric<?>> result = new LinkedHashSet<Metric<?>>(); | |
| // Collect Spring Integration metrics; if available | |
| // keys in each map are the bean names |
| @Bean | |
| public MessageSource<?> amazonS3InboundSynchronizationMessageSource() { | |
| AWSCredentials credentials = new BasicAWSCredentials(this.accessKey, this.secretKey); | |
| AmazonS3InboundSynchronizationMessageSource messageSource = new AmazonS3InboundSynchronizationMessageSource(); | |
| messageSource.setCredentials(credentials); | |
| messageSource.setBucket(bucket); | |
| messageSource.setMaxObjectsPerBatch(maxObjectsPerBatch); | |
| messageSource.setAcceptSubFolders(Boolean.valueOf(acceptSubFolders)); | |
| messageSource.setRemoteDirectory(remoteDirectory); | |
| if (!fileNameWildcard.isEmpty()) { |
| import org.springframework.integration.channel.DirectChannel; | |
| import org.springframework.integration.channel.interceptor.WireTap; | |
| import org.springframework.integration.handler.LoggingHandler; | |
| import org.springframework.messaging.MessageChannel; | |
| public final class LoggingUtils { | |
| private static final String DEFAULT_MESSAGE = "'Message: [' + #root + ']'"; | |
| private LoggingUtils() { |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.beans.factory.annotation.Value; | |
| import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import com.codahale.metrics.MetricRegistry; | |
| import com.zaxxer.hikari.HikariDataSource; | |
| @Configuration |