@Override
    public void onCreated(final ResourceDO resource) {
        publish(new ResourceCreatedEvent(resource, SessionUtil.visitorName()));
    }
on resource created.

@param resource resource
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/publish/ResourceEventPublisher.java