s-c-commons creates an AutoServiceRegistrationProperties bean if enabled. This commit only auto registers with eureka if that bean is available.