Sorry beenĀ a long day...
CAS 6.2.7
MongoDB 4.2.6
On 6/10/21 3:46 PM, Colin Ryan wrote:
Folks,
I noticed when using the auto-loaded from .json service entries when
enabling that the _id key in the documents when using MongoDB as the
registry was of type <long>.
However as I've been working on integrations (i.e. provisioning tools
etc etc) and I let MongoDB generate the _id they are of the type
ObjectID (bson).
However with ObjectID my cas installation immediately pukes errors
when doing it's periodic sweeping of the service registry.
Is this correct?
It seems to me that ObjectID is the Mongo standard, as well I've been
using RestHeart as my RESTful interface to my MongoDB. It appears that
when I try to use document paths to query the database i.e.
mongo/cas/cas-service-registry/<_id>, that it doesn't work with Long
_id's but does with ObjectID. So one tool seems to want to use the
_apparent_ Mongo standard but CAS doesn't like it.
Am I missing something? Bug?
Thanks
Colin Ryan
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/4cc9ae6d-a84c-9a78-2e3d-94ade7d00f75%40caveo.ca.