public String computeFor(String serverId) {
    String jdbcUrl = config.get(JDBC_URL.getKey()).orElseThrow(() -> new IllegalStateException("Missing JDBC URL"));
    return DigestUtils.sha256Hex(serverId + "|" + jdbcUrlSanitizer.sanitize(jdbcUrl));
  }
@Test
  public void test_checksum() {
    assertThat(computeFor("id1", "url1"))
      .isNotEmpty()
      .isEqualTo(computeFor("id1", "url1"))
      .isNotEqualTo(computeFor("id1", "url2"))
      .isNotEqualTo(computeFor("id2", "url1"))
      .isNotEqualTo(computeFor("id2", "url2"));
  }