Apparently, it was searching for encoded in blob form under service registry table hence, it was not reading correctly even though all properties were correct. This issue is now fixed.
On Thursday, October 16, 2025 at 12:10:36 PM UTC-7 Akash Mohapatra wrote: > CAS 7.1.3: We are using cas 7.1.3 and planning to use DynamoDb as our > storage . We successfully created cas_tickets and cas_services table for > ticketregistry and serviceregistry. We have also seeded the cas_services > with one valid service registry entry. But, while bootrunning, its not > taking cas_services entries into account. Its just taking in memory service > registry entry. My config for service registry looks like below : > cas: > service-registry: > core: > init-from-json: false > dynamo-db: > endpoint: http://localhost:8000 > billing-mode: PAY_PER_REQUEST > region: us-east-1 > credential-access-key: dummy > credential-secret-key: dummy > local-instance: true > drop-tables-on-startup: false > prevent-table-creation-on-startup: true > table-name: cas_services > FYI, tables are created and I can see the tables with its entries while I > do aws dynamodb scan --table-name cas_services --projection-expression > "id, body" --endpoint-url http://localhost:8000 --output json > I see this result while scanning using above command: > { > "Items": [ > { > "body": { > "S": "{\"@class\": > \"org.apereo.cas.services.CasRegisteredService\", \"serviceId\": > \"^https?://localhost(:[0-9]+)?/.*\", \"name\": \"localhost\", \"id\": > 8444, \"evaluationOrder\": 10, \"enabled\": true, \"ssoEnabled\": true, > \"accessStrategy\": {\"@class\": > \"org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy\", > \"enabled\": true, \"ssoEnabled\": true, \"requireAllAttributes\": false, > \"unauthorizedRedirectUrl\": null}}" > }, > "id": { > "N": "8444" > } > } > ], > "Count": 1, > "ScannedCount": 1, > "ConsumedCapacity": null > } > Any help here is appreciated. Thank you -- - Website: https://apereo.github.io/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/30962657-412c-4137-8880-1aff4742938dn%40apereo.org.
