public Optional<ConfigProperty> fetch(final int id) {
        return securityContext.secureResult(AppPermission.MANAGE_PROPERTIES_PERMISSION, () -> {

            // update the global config from the returned db record then return the corresponding
            // object from global properties which may have a yaml value in it and a different
            // effective value
            final Optional<ConfigProperty> optionalConfigProperty = dao.fetch(id)
                    .map(configMapper::decorateDbConfigProperty);

            return optionalConfigProperty;
        });
    }
@param id The DB primary key for the prop
@return A {@link ConfigProperty} if it exists in the DB, i.e. it has a db override value.
This means a valid prop can return an empty if the prop only has a default/yaml value.
stroom-config/stroom-config-global-impl/src/main/java/stroom/config/global/impl/GlobalConfigService.java