public void onCreated(final RuleDO rule, final List<RuleConditionDTO> condition) {
        publish(new RuleCreatedEvent(rule, SessionUtil.visitorName()));
        publishEvent(rule, condition, Collections.emptyList());
    }
on rule created.

@param rule      rule
@param condition condition
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/publish/RuleEventPublisher.java