Account Plans Fragment Policy Keeps Updating every 12 hours
search cancel

Account Plans Fragment Policy Keeps Updating every 12 hours

book

Article ID: 213868

calendar_today

Updated On:

Products

CA API Gateway CA API Developer Portal API SECURITY CA Mobile API Gateway CA Rapid App Security STARTER PACK-7

Issue/Introduction

From revision history, the account plan fragment is updated every 12 hours, but the cluster-wide property "portal.sync.account.plan.cache.age" is 21600 seconds, ie. 6 hours

Environment

Release : 9.4

Component : RUNSCOPE

Resolution

Account Plans Fragment policy will be updated every 12 hours if no change on account plan, it is hardcoded on portal server.

The ssg log shows that portal server only return response every 12 hours, for other time the portal will return empty response.

  • At the time when portal returns empty response, the log message is like,

2021-04-22T15:54:00.095+1000 WARNING 155 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -5: Failed to sync Portal Account Plans: invalid sync response
2021-04-22T15:54:00.095+1000 INFO    155 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -4: {}

  • At the time when portal returns valid response, the log message is like,

2021-04-22T10:00:00.174+1000 INFO    157 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -4: Portal Account Plans sync completed