<commit_before>;; Copyright © 2016, JUXT LTD.

;; Aero configuration for Edge

{:web-server
 #profile {:dev {:host "localhost:3000"
                 :port 3000}
           :prod {;; We use an environment variable so that the host
                  ;; can be passed in at runtime. Note, it's best
                  ;; practice to use a pre-configured host-name,
                  ;; i.e. edge.juxt.cloud. Roll can assist in the
                  ;; configuration of route-53 host-names and
                  ;; assignment to load-balancers.
                  :host #env EDGE_HOST
                  :port 3080}}

 :selmer
 {:template-caching?
  #profile {:dev false
            :test false
            :pre-prod true
            :prod true}}

 :phonebook
 #profile
 {:dev {100 {:surname "Sparks" :firstname "Malcolm" :phone "000256"}
        101 {:surname "Pither" :firstname "Jon" :phone "679636"}
        102 {:surname "Trojer" :firstname "Martin" :phone "406492"}
        103 {:surname "Read" :firstname "Kath" :phone "545818"}
        104 {:surname "Hine"   :firstname "Oliver" :phone "169219"}
        105 {:surname "Råberg" :firstname "Håkan" :phone "981794"}
        106 {:surname "Smith" :firstname "David" :phone "723221"}
        107 {:surname "Sardo" :firstname "Frankie" :phone "581354"}
        108 {:surname "McGeeney" :firstname "Karen" :phone "341631"}
        109 {:surname "Humphries" :firstname "David" :phone "545818"}
        110 {:surname "Ruz" :firstname "<NAME>" :phone "464378"}
        111 {:surname "Bach" :firstname "Josep" :phone "1096792"}
        112 {:surname "Lisauskas" :firstname "Ernestas" :phone "754124"}
        113 {:surname "Monroe" :firstname "Dominic" :phone "187837"}}
  :prod {100 {:surname "Sparks" :firstname "Malcolm" :phone "111256"}}}

 :deployment {:aws-profile #env AWS_PROFILE
              :releases-bucket "demo-edge-releases"
              :environment "dev"
              :vpc-id :roll.core/default

              :load-balancers {:edge [{:listen 80
                                       :forward ^:ref [:web-server :port]
                                       :protocol "HTTP"}]}

              ;; Recommended - setup a route-53 host-name prefix using
              ;; a manually pre-configured zone-id:
              ;; :route-53-aliases [{:name-prefix ^:ref [:web-server :host] :zone-id
              ;;                     "Z1JI8NSPH3VZUO" :load-balancer :edge}]

              :services {:edge {:ami "ami-785db401"
                                :instance-type "m3.medium"
                                :key-name "edge-demo"
                                :instance-count 2
                                :port ^:ref [:web-server :port]
                                :launch-config {:template :java8
                                                :args {:jvm-opts ["-Xmx4g"]}}}}

              :asgs [{:service :edge
                      :release-artifact :roll.core/latest-release-artifact
                      :load-balancer :edge}]}}<commit_msg>Create fictional names<commit_after>;; Copyright © 2016, JUXT LTD.

;; Aero configuration for Edge

{:web-server
 #profile {:dev {:host "localhost:3000"
                 :port 3000}
           :prod { ;; We use an environment variable so that the host
                  ;; can be passed in at runtime. Note, it's best
                  ;; practice to use a pre-configured host-name,
                  ;; i.e. edge.juxt.cloud. Roll can assist in the
                  ;; configuration of route-53 host-names and
                  ;; assignment to load-balancers.
                  :host #env EDGE_HOST
                  :port 3080}}

 :selmer
 {:template-caching?
  #profile {:dev false
            :test false
            :pre-prod true
            :prod true}}

 :phonebook
 #profile
 ;; Generated from http://listofrandomnames.com/index.cfm?textarea
 {:dev {100 {:firstname "Theron" :surname "Reach" :phone "321545"}
        101 {:firstname "Sonya" :surname "Membreno" :phone "616301"}
        102 {:firstname "Idell" :surname "Riedel" :phone "736601"}
        103 {:firstname "Maynard" :surname "Hird" :phone "166965"}
        104 {:firstname "Ashlea" :surname "Dupont" :phone "781721"}
        105 {:firstname "Katherine" :surname "Prudhomme" :phone "997800"}
        106 {:firstname "Liliana" :surname "Lariviere" :phone "230891"}
        107 {:firstname "Mikaela" :surname "Mattei" :phone "704746"}
        108 {:firstname "Eugenio" :surname "Fickes" :phone "832799"}
        109 {:firstname "Constance" :surname "Motes" :phone "265262"}
        110 {:firstname "Rolande" :surname "Fredericks" :phone "668014"}
        111 {:firstname "Miles" :surname "Byerly" :phone "899053"}
        112 {:firstname "Jeanelle" :surname "Rockmore" :phone "582535"}
        113 {:firstname "Dina" :surname "Lollis" :phone "631574"}
        114 {:firstname "Celena" :surname "Leng" :phone "508699"}
        115 {:firstname "Jeannie" :surname "Aday" :phone "168060"}
        116 {:firstname "Kali" :surname "Waldow" :phone "266694"}
        117 {:firstname "Danyelle" :surname "Vitela" :phone ""}
        118 {:firstname "Rick" :surname "Stalzer" :phone "955030"}
        119 {:firstname "Kera" :surname "Sammets" :phone "756942"}}
  :prod {}}

 :deployment {:aws-profile #env AWS_PROFILE
              :releases-bucket "demo-edge-releases"
              :environment "dev"
              :vpc-id :roll.core/default

              :load-balancers {:edge [{:listen 80
                                       :forward ^:ref [:web-server :port]
                                       :protocol "HTTP"}]}

              ;; Recommended - setup a route-53 host-name prefix using
              ;; a manually pre-configured zone-id:
              ;; :route-53-aliases [{:name-prefix ^:ref [:web-server :host] :zone-id
              ;;                     "Z1JI8NSPH3VZUO" :load-balancer :edge}]

              :services {:edge {:ami "ami-785db401"
                                :instance-type "m3.medium"
                                :key-name "edge-demo"
                                :instance-count 2
                                :port ^:ref [:web-server :port]
                                :launch-config {:template :java8
                                                :args {:jvm-opts ["-Xmx4g"]}}}}

              :asgs [{:service :edge
                      :release-artifact :roll.core/latest-release-artifact
                      :load-balancer :edge}]}}
{'fraction_non_alphanumeric': 0.12999845607534352, 'fraction_numerical': 0.059286706808707734, 'mean_word_length': 1.7778730703259005, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5361223', 'n_tokens_mistral': 2320, 'n_tokens_neox': 1893, 'n_words': 536}