logger.debug( "-----addRepositoryToOrganizationalUnit--- , OrganizationalUnit name: {}, Repository name: {}", organizationalUnitName, repositoryName );
checkOrganizationalUnitExistence( organizationalUnitName );
checkRepositoryExistence( repositoryName );
String id = "" + System.currentTimeMillis() + "-" + counter.incrementAndGet();
AddRepositoryToOrganizationalUnitRequest jobRequest = new AddRepositoryToOrganizationalUnitRequest();
jobRequest.setStatus( JobStatus.ACCEPTED );
jobRequest.setJobId( id );
jobRequest.setOrganizationalUnitName( organizationalUnitName );
jobRequest.setRepositoryName( repositoryName );
addAcceptedJobResult( id );
jobRequestObserver.addRepositoryToOrganizationalUnitRequest( jobRequest );