@Path("/organizationalunits")
public JobRequest createOrganizationalUnit( OrganizationalUnit organizationalUnit ) {
logger.info( "-----createOrganizationalUnit--- , OrganizationalUnit name:" + organizationalUnit.getName() + ", OrganizationalUnit owner:" + organizationalUnit.getOwner() );
String id = "" + System.currentTimeMillis() + "-" + counter.incrementAndGet();
CreateOrganizationalUnitRequest jobRequest = new CreateOrganizationalUnitRequest();
jobRequest.setStatus( JobStatus.ACCEPTED );
jobRequest.setJobId( id );
jobRequest.setOrganizationalUnitName( organizationalUnit.getName() );
jobRequest.setOwner( organizationalUnit.getOwner() );
jobRequest.setRepositories( organizationalUnit.getRepositories() );
JobResult jobResult = new JobResult();
jobResult.setJobId( id );
jobResult.setStatus( JobStatus.ACCEPTED );
jobs.put( id, jobResult );