public void put(Application application, Mutex applicationLock) {
        NestedTransaction transaction = new NestedTransaction();
        db.writeApplication(application, transaction);
        transaction.commit();
    }
Returns the application with the given id, or throws IllegalArgumentException if it does not exist
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/applications/Applications.java