class EngineService {

	@POST
	@Path("/systems")
	@Consumes(MediaType.APPLICATION_JSON)
	@Produces(MediaType.APPLICATION_JSON)
	public UserSystem createUserSystem(final String systemName) {
		if (systemName == null || systemName.equals("")) {
			throw new InvalidRestParam();
		}
		UserSystem system = new UserSystem();
		system.setName(systemName);

		log.info("created usersystem {} ", systemName);
		userSystemsRepository.save(system);
		return system;
	}

	@Autowired public  EngineService(final UserSystemRepository systemRepository, final CouplingInstanceRepository couplingInstanceRepository);

}