7.5. 동일한 Zync 경로 생성

Zync의 동일한 경로 생성을 수행하려면 OpenShift가 Zync로 라우팅하는 모든 3scale API 및 테넌트를 다시 동기화합니다.

oc exec -t $(oc get pods -l 'deploymentConfig=system-sidekiq' -o json | jq '.items[0].metadata.name' -r) -- bash -c "bundle exec rake zync:resync:domains"

시스템에 대한 알림에 대한 정보가 포함된 다음 출력이 표시됩니다.

No valid API key has been set, notifications will not be sent
ActiveMerchant MODE set to 'production'
[Core] Using http://backend-listener:3000/internal/ as URL
OpenIdAuthentication.store is nil. Using in-memory store.
[EventBroker] notifying subscribers of Domains::ProviderDomainsChangedEvent 59a554f6-7b3f-4246-9c36-24da988ca800
[EventBroker] notifying subscribers of ZyncEvent caa8e941-b734-4192-acb0-0b12cbaab9ca
Enqueued ZyncWorker#d92db46bdba7a299f3e88f14 with args: ["caa8e941-b734-4192-acb0-0b12cbaab9ca", {:type=>"Provider", :id=>1, :parent_event_id=>"59a554f6-7b3f-4246-9c36-24da988ca800", :parent_event_type=>"Domains::ProviderDomainsChangedEvent", :tenant_id=>1}]
[EventBroker] notifying subscribers of Domains::ProviderDomainsChangedEvent 9010a199-2af1-4023-9b8d-297bd618096f
…

Zync를 강제 평가한 후 기존 테넌트 및 서비스에 대해 새 경로가 생성됩니다. 서비스 및 테넌트 수에 따라 경로 생성에 몇 분이 걸릴 수 있습니다.