@Override
    public void onCreated(final RoleDO rule) {
        publish(new RoleCreatedEvent(rule, SessionUtil.visitorName()));
    }
on rule created.

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