private def initialiseSequences()

in path-manager/app/services/Dynamo.scala [57:63]


  private def initialiseSequences(client: AmazonDynamoDB) = {
    val table = new DynamoDB(client).getTable(sequenceTableName)
    if (Option(table.getItem("sequenceName", "ids")).isEmpty){
      logger.info("initialising id sequence")
      table.putItem(new Item().withString("sequenceName", "ids").withLong("value", 2000000L))
    }
  }