package com.peterphi.configuration.service.rest.impl;

import com.google.inject.name.Named;
import com.peterphi.configuration.service.git.ConfigRepository;
import com.peterphi.std.guice.config.rest.iface.ConfigRestService;
import com.peterphi.std.guice.config.rest.types.ConfigPropertyData;

public class ReadConfigurationRestServiceImpl implements ConfigRestService
{
	@Named("config")
	public ConfigRepository repo;


	@Override
	public ConfigPropertyData read(final String path, final String instanceId, final String lastRevision)
	{
		return repo.get("HEAD", path);
	}
}

@@ -48,16 +48,49 @@
 .impl;%0A%0A
+import com.google.inject.Inject;%0A
 import c
@@ -395,16 +395,25 @@
 rvice%0A%7B%0A
+%09@Inject%0A
 %09@Named(

add missing inject annotation