drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/server/jbpm770/Kie770Service.java
@Override
    public void createRepository(final IKieRepositoryHandler repository) throws IOException {
        runJob("Request to create repository '" + repository.getName() + "'", new Requester.Action() {
            @Override
            public String execute() throws IOException {
                return httpPost("spaces/" + repository.getParent().getName() + "/projects/", repository.getProperties());
            }
        });
    }
@Override
    public void createRepository(final IKieRepositoryHandler repository) throws IOException {
        runJob("Request to create repository '" + repository.getName() + "'", new Requester.Action() {
            @Override
            public String execute() throws IOException {
                return httpPost("spaces/" + repository.getParent().getName() + "/projects/", repository.getProperties());
            }
        });
    }
Repository