code: @GET
      @Path("{dbName}/{revision}")
      public Response info(@PathParam("dbName") String dbName, @PathParam("revision") String revision) {
          Flyway flyway = locator.getService(Flyway.class, dbName);
          if (flyway == null)
              throw new NotFoundException();
          Object entity = null;
          switch (revision) {
              case "current":
                  entity = flyway.info().current();
                  break;
              case "pending":
                  entity = flyway.info().pending();
                  break;
              case "applied":
                  entity = flyway.info().applied();
                  break;
              case "first": {
                  MigrationInfo[] migrationInfos = flyway.info().all();
                  if (migrationInfos.length == 0)
                      throw new NotFoundException();
                  entity = migrationInfos[0];
                  break;
              }
              case "resolved":
                  entity = resolved(flyway.info().all());
                  break;
              case "failed":
                  entity = failed(flyway.info().all());
                  break;
              case "future":
                  entity = future(flyway.info().all());
                  break;
              case "latest": {
                  MigrationInfo[] migrationInfos = flyway.info().all();
                  if (migrationInfos.length == 0)
                      throw new NotFoundException();
                  entity = migrationInfos[migrationInfos.length - 1];
                  break;
              }
              default:
                  for (MigrationInfo info : flyway.info().all()) {
                      if (revision.equalsIgnoreCase(info.getVersion().getVersion())) {
                          entity = info;
                          break;
                      }
                  }
          }
          if (entity == null)
              throw new NotFoundException();
          return Response.ok(entity).build();
      }
docs: <p>info.</p>
  
  @param dbName   a {@link java.lang.String} object.
  @param revision a {@link java.lang.String} object.
  @return a {@link javax.ws.rs.core.Response} object.