@VisibleForTesting
  static boolean isVersion(String component) {
    return VERSION_PART_PATTERN.matcher(component).matches();
  }
@Test
  public void testVersionRegex() {
    Assertions.assertTrue(MainApplicationConfig.isVersion("v9"));
    Assertions.assertTrue(MainApplicationConfig.isVersion("v45"));
    // temporarily don't support minor version. This case should fail when that support is in place
    Assertions.assertFalse(MainApplicationConfig.isVersion("v9.0"));
    Assertions.assertFalse(MainApplicationConfig.isVersion("views"));
  }