@Path("/organizationalunits")
public Response createOrganizationalUnit( OrganizationalUnit organizationalUnit ) {
logger.debug( "-----createOrganizationalUnit--- , OrganizationalUnit name: {}, OrganizationalUnit owner: {}", organizationalUnit.getName(), 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() );
addAcceptedJobResult( id );
jobRequestObserver.createOrganizationalUnitRequest( jobRequest );