<commit_before>## Spring Cloud Lattice

Preview of Spring Cloud Lattice implementation

### Temporary pre-setup

1. `git clone <EMAIL>:spencergibb/receptor-client.git`
1. `git checkout idea-java6`
1. `./gradlew clean build install -x test`

### Running the sample

1. [Install lattice](http://lattice.cf/docs/getting-started.html)
2. Follow the getting started guide, including scaling `lattice-app` to 3
4. run `mvn  --settings .settings.xml package`
5. run `java -jar spring-cloud-lattice-sample/target/spring-cloud-lattice-sample-1.0.0.BUILD-SNAPSHOT.jar`
6. visit [http://localhost:8080?service=lattice-app](http://localhost:8080?service=lattice-app) verify that the 3 services rotate through as you refresh

### Running the sample ON LATTICE

Replace `<yourdockerhubid>` below with your docker hub id.

1. `cd spring-cloud-lattice-sample`
1. `mvn --settings .settings.xml clean package docker:build`
1. `docker tag spring-cloud-lattice-sample:latest <yourdockerhubid>/spring-cloud-lattice-sample`
1. `docker push <yourdockerhubid>/spring-cloud-lattice-sample`
1. `LATTICE_CLI_TIMEOUT=180 ltc create spring-cloud-lattice-sample spencergibb/spring-cloud-lattice-sample`
1. `ltc scale spring-cloud-lattice-sample 3`
6. visit [http://spring-cloud-lattice-sample.192.168.11.11.xip.io?service=spring-cloud-lattice-sample](http://spring-cloud-lattice-sample.192.168.11.11.xip.io?service=spring-cloud-lattice-sample) verify that the 3 services rotate through as you refresh
6. visit [http://spring-cloud-lattice-sample.192.168.11.11.xip.io/me](http://spring-cloud-lattice-sample.192.168.11.11.xip.io/me) verify that the 3 services rotate through as you refresh<commit_msg>fix .settings.xml reference<commit_after>## Spring Cloud Lattice

Preview of Spring Cloud Lattice implementation

### Temporary pre-setup

1. `git clone <EMAIL>:spencergibb/receptor-client.git`
1. `git checkout idea-java6`
1. `./gradlew clean build install -x test`

### Running the sample

1. [Install lattice](http://lattice.cf/docs/getting-started.html)
2. Follow the getting started guide, including scaling `lattice-app` to 3
4. run `mvn  --settings .settings.xml package`
5. run `java -jar spring-cloud-lattice-sample/target/spring-cloud-lattice-sample-1.0.0.BUILD-SNAPSHOT.jar`
6. visit [http://localhost:8080?service=lattice-app](http://localhost:8080?service=lattice-app) verify that the 3 services rotate through as you refresh

### Running the sample ON LATTICE

Replace `<yourdockerhubid>` below with your docker hub id.

1. `cd spring-cloud-lattice-sample`
1. `mvn --settings ../.settings.xml clean package docker:build`
1. `docker tag spring-cloud-lattice-sample:latest <yourdockerhubid>/spring-cloud-lattice-sample`
1. `docker push <yourdockerhubid>/spring-cloud-lattice-sample`
1. `LATTICE_CLI_TIMEOUT=180 ltc create spring-cloud-lattice-sample spencergibb/spring-cloud-lattice-sample`
1. `ltc scale spring-cloud-lattice-sample 3`
6. visit [http://spring-cloud-lattice-sample.192.168.11.11.xip.io?service=spring-cloud-lattice-sample](http://spring-cloud-lattice-sample.192.168.11.11.xip.io?service=spring-cloud-lattice-sample) verify that the 3 services rotate through as you refresh
6. visit [http://spring-cloud-lattice-sample.192.168.11.11.xip.io/me](http://spring-cloud-lattice-sample.192.168.11.11.xip.io/me) verify that the 3 services rotate through as you refresh
{'fraction_non_alphanumeric': 0.13502235469448584, 'fraction_numerical': 0.045305514157973174, 'mean_word_length': 4.786206896551724, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 5}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '32242', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1104, 'n_words': 275}