<commit_before>server:
  port: 8888

spring:
  application:
    name: configserver
  profiles:
    active: ${ENV:native}
  cloud:
    config:
      server:
        native:
          search-locations: classpath:conf

encrypt:
  # 使用环境变量或默认值作为key:
  key: ${SPRING_ENCRYPT_KEY:SecretKey4PetStore}

---

# 定义一个test profiles，使用git配置:

spring:
  profiles: test
  cloud:
    config:
      server:
        git:
          uri: https://github.com/michaelliao/springcloud-config.git<commit_msg>add prod profiles<commit_after>server:
  port: 8888

spring:
  application:
    name: configserver
  profiles:
    active: ${ENV:native}
  cloud:
    config:
      server:
        native:
          search-locations: classpath:conf

encrypt:
  # 使用环境变量或默认值作为key:
  key: ${SPRING_ENCRYPT_KEY:SecretKey4PetStore}

---

# 定义一个test profiles，使用git配置:

spring:
  profiles: test
  cloud:
    config:
      server:
        git:
          uri: https://github.com/michaelliao/springcloud-test-config.git

---

# 定义一个production profiles，使用git配置:

spring:
  profiles: prod
  cloud:
    config:
      server:
        git:
          uri: https://github.com/michaelliao/springcloud-prod-config.git
{'fraction_non_alphanumeric': 0.1056701030927835, 'fraction_numerical': 0.00859106529209622, 'mean_word_length': 2.629283489096573, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '1555144', 'n_tokens_mistral': 441, 'n_tokens_neox': 439, 'n_words': 74}