@PUT @Path("/{uuid}/initstandby") @Consumes({MediaType.APPLICATION_XML,MediaType.APPLICATION_JSON}) @Produces({MediaType.APPLICATION_XML,MediaType.APPLICATION_JSON}) @CheckPermission(roles={Role.SECURITY_ADMIN,Role.RESTRICTED_SECURITY_ADMIN},blockProxies=true) @ExcludeLicenseCheck public Response syncSites(SiteConfigParam configParam){
  log.info("sync sites from active site");
  return initStandby(configParam);
}

@ PUT @ Path ( "/{uuid}/initstandby" ) @ Consumes ( { MediaType . APPLICATION_XML , MediaType . APPLICATION_JSON } ) @ Produces ( { MediaType . APPLICATION_XML , MediaType . APPLICATION_JSON } ) @ CheckPermission ( roles = { Role . SECURITY_ADMIN , Role . RESTRICTED_SECURITY_ADMIN } , blockProxies = true ) @ ExcludeLicenseCheck public Response syncSites ( SiteConfigParam configParam ) { log . info ( "sync sites from active site" ) ; return initStandby ( configParam ) ; }
initialize a to be added target standby the current site will be demoted from active to standby during the process
