You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by Vinay Kavala <Vi...@govaris.com.INVALID> on 2022/03/02 01:48:03 UTC

enabling JSONB on Apache Syncope 2.1.10

Hi Team,

I am planning to use JSONB column to store user attributes. I see some documentation related to the JSONB here<https://syncope.apache.org/docs/2.1/reference-guide.html#postgresql-jsonb>.

I do not see any documentation on how to use in the Syncope Console itself. Is there a document which talk about how to use JSONB while creating the attributes?

Thanks,
Vinay

Re: enabling JSONB on Apache Syncope 2.1.10

Posted by Vinay Kavala <Vi...@govaris.com>.
Thank you Elena! Thank for the clarification - I will try that.

Regards,
Vinay
________________________________
From: Elena Renzi <el...@tirasa.net>
Sent: Thursday, March 3, 2022 8:03 AM
To: user@syncope.apache.org <us...@syncope.apache.org>
Cc: dev@syncope.apache.org <de...@syncope.apache.org>
Subject: Re: enabling JSONB on Apache Syncope 2.1.10

[CAUTION: EXTERNAL SENDER]


Hi Vinay,

There is no such difference when creating schema from Syncope Console with
JSONB, the type of the schema will continue to depend on your specific
implementation.

The main difference is in the format how plainAttributes element details
are stored inside the MasterContent.xml file.
You can have a look at the [1] that is specific for JSONB support and
compare it to [2] which doesn't have the JSONB support.

[1]
https://github.com/apache/syncope/blob/syncope-2.1.10/core/persistence-jpa-json/src/test/resources/domains/MasterContent.xml
[2]
https://github.com/apache/syncope/blob/syncope-2.1.10/core/persistence-jpa/src/test/resources/domains/MasterContent.xml

Hope it helps!

Regards,
Elena

Il giorno mer 2 mar 2022 alle ore 02:52 Vinay Kavala <
Vinay.Kavala@govaris.com> ha scritto:

> Specific question is like - should I be using encrypted or binary schema
> type while creating schemas in the console?
>
> Any Help is much appreciated.
>
> Thanks,
> Vinay
> ------------------------------
> *From:* Vinay Kavala <Vi...@govaris.com.INVALID>
> *Sent:* Tuesday, March 1, 2022 8:48 PM
> *To:* user@syncope.apache.org <us...@syncope.apache.org>;
> dev@syncope.apache.org <de...@syncope.apache.org>
> *Subject:* enabling JSONB on Apache Syncope 2.1.10
>
> [CAUTION: EXTERNAL SENDER]
>
>
> Hi Team,
>
> I am planning to use JSONB column to store user attributes. I see some
> documentation related to the JSONB here<
> https://syncope.apache.org/docs/2.1/reference-guide.html#postgresql-jsonb
> >.
>
> I do not see any documentation on how to use in the Syncope Console
> itself. Is there a document which talk about how to use JSONB while
> creating the attributes?
>
> Thanks,
> Vinay
>

Re: enabling JSONB on Apache Syncope 2.1.10

Posted by Vinay Kavala <Vi...@govaris.com.INVALID>.
Thank you Elena! Thank for the clarification - I will try that.

Regards,
Vinay
________________________________
From: Elena Renzi <el...@tirasa.net>
Sent: Thursday, March 3, 2022 8:03 AM
To: user@syncope.apache.org <us...@syncope.apache.org>
Cc: dev@syncope.apache.org <de...@syncope.apache.org>
Subject: Re: enabling JSONB on Apache Syncope 2.1.10

[CAUTION: EXTERNAL SENDER]


Hi Vinay,

There is no such difference when creating schema from Syncope Console with
JSONB, the type of the schema will continue to depend on your specific
implementation.

The main difference is in the format how plainAttributes element details
are stored inside the MasterContent.xml file.
You can have a look at the [1] that is specific for JSONB support and
compare it to [2] which doesn't have the JSONB support.

[1]
https://github.com/apache/syncope/blob/syncope-2.1.10/core/persistence-jpa-json/src/test/resources/domains/MasterContent.xml
[2]
https://github.com/apache/syncope/blob/syncope-2.1.10/core/persistence-jpa/src/test/resources/domains/MasterContent.xml

Hope it helps!

Regards,
Elena

Il giorno mer 2 mar 2022 alle ore 02:52 Vinay Kavala <
Vinay.Kavala@govaris.com> ha scritto:

> Specific question is like - should I be using encrypted or binary schema
> type while creating schemas in the console?
>
> Any Help is much appreciated.
>
> Thanks,
> Vinay
> ------------------------------
> *From:* Vinay Kavala <Vi...@govaris.com.INVALID>
> *Sent:* Tuesday, March 1, 2022 8:48 PM
> *To:* user@syncope.apache.org <us...@syncope.apache.org>;
> dev@syncope.apache.org <de...@syncope.apache.org>
> *Subject:* enabling JSONB on Apache Syncope 2.1.10
>
> [CAUTION: EXTERNAL SENDER]
>
>
> Hi Team,
>
> I am planning to use JSONB column to store user attributes. I see some
> documentation related to the JSONB here<
> https://syncope.apache.org/docs/2.1/reference-guide.html#postgresql-jsonb
> >.
>
> I do not see any documentation on how to use in the Syncope Console
> itself. Is there a document which talk about how to use JSONB while
> creating the attributes?
>
> Thanks,
> Vinay
>

Re: enabling JSONB on Apache Syncope 2.1.10

Posted by Elena Renzi <el...@tirasa.net>.
Hi Vinay,

There is no such difference when creating schema from Syncope Console with
JSONB, the type of the schema will continue to depend on your specific
implementation.

The main difference is in the format how plainAttributes element details
are stored inside the MasterContent.xml file.
You can have a look at the [1] that is specific for JSONB support and
compare it to [2] which doesn't have the JSONB support.

[1]
https://github.com/apache/syncope/blob/syncope-2.1.10/core/persistence-jpa-json/src/test/resources/domains/MasterContent.xml
[2]
https://github.com/apache/syncope/blob/syncope-2.1.10/core/persistence-jpa/src/test/resources/domains/MasterContent.xml

Hope it helps!

Regards,
Elena

Il giorno mer 2 mar 2022 alle ore 02:52 Vinay Kavala <
Vinay.Kavala@govaris.com> ha scritto:

> Specific question is like - should I be using encrypted or binary schema
> type while creating schemas in the console?
>
> Any Help is much appreciated.
>
> Thanks,
> Vinay
> ------------------------------
> *From:* Vinay Kavala <Vi...@govaris.com.INVALID>
> *Sent:* Tuesday, March 1, 2022 8:48 PM
> *To:* user@syncope.apache.org <us...@syncope.apache.org>;
> dev@syncope.apache.org <de...@syncope.apache.org>
> *Subject:* enabling JSONB on Apache Syncope 2.1.10
>
> [CAUTION: EXTERNAL SENDER]
>
>
> Hi Team,
>
> I am planning to use JSONB column to store user attributes. I see some
> documentation related to the JSONB here<
> https://syncope.apache.org/docs/2.1/reference-guide.html#postgresql-jsonb
> >.
>
> I do not see any documentation on how to use in the Syncope Console
> itself. Is there a document which talk about how to use JSONB while
> creating the attributes?
>
> Thanks,
> Vinay
>

Re: enabling JSONB on Apache Syncope 2.1.10

Posted by Elena Renzi <el...@tirasa.net>.
Hi Vinay,

There is no such difference when creating schema from Syncope Console with
JSONB, the type of the schema will continue to depend on your specific
implementation.

The main difference is in the format how plainAttributes element details
are stored inside the MasterContent.xml file.
You can have a look at the [1] that is specific for JSONB support and
compare it to [2] which doesn't have the JSONB support.

[1]
https://github.com/apache/syncope/blob/syncope-2.1.10/core/persistence-jpa-json/src/test/resources/domains/MasterContent.xml
[2]
https://github.com/apache/syncope/blob/syncope-2.1.10/core/persistence-jpa/src/test/resources/domains/MasterContent.xml

Hope it helps!

Regards,
Elena

Il giorno mer 2 mar 2022 alle ore 02:52 Vinay Kavala <
Vinay.Kavala@govaris.com> ha scritto:

> Specific question is like - should I be using encrypted or binary schema
> type while creating schemas in the console?
>
> Any Help is much appreciated.
>
> Thanks,
> Vinay
> ------------------------------
> *From:* Vinay Kavala <Vi...@govaris.com.INVALID>
> *Sent:* Tuesday, March 1, 2022 8:48 PM
> *To:* user@syncope.apache.org <us...@syncope.apache.org>;
> dev@syncope.apache.org <de...@syncope.apache.org>
> *Subject:* enabling JSONB on Apache Syncope 2.1.10
>
> [CAUTION: EXTERNAL SENDER]
>
>
> Hi Team,
>
> I am planning to use JSONB column to store user attributes. I see some
> documentation related to the JSONB here<
> https://syncope.apache.org/docs/2.1/reference-guide.html#postgresql-jsonb
> >.
>
> I do not see any documentation on how to use in the Syncope Console
> itself. Is there a document which talk about how to use JSONB while
> creating the attributes?
>
> Thanks,
> Vinay
>

Re: enabling JSONB on Apache Syncope 2.1.10

Posted by Vinay Kavala <Vi...@govaris.com>.
Specific question is like - should I be using encrypted or binary schema type while creating schemas in the console?

Any Help is much appreciated.

Thanks,
Vinay
________________________________
From: Vinay Kavala <Vi...@govaris.com.INVALID>
Sent: Tuesday, March 1, 2022 8:48 PM
To: user@syncope.apache.org <us...@syncope.apache.org>; dev@syncope.apache.org <de...@syncope.apache.org>
Subject: enabling JSONB on Apache Syncope 2.1.10

[CAUTION: EXTERNAL SENDER]


Hi Team,

I am planning to use JSONB column to store user attributes. I see some documentation related to the JSONB here<https://syncope.apache.org/docs/2.1/reference-guide.html#postgresql-jsonb>.

I do not see any documentation on how to use in the Syncope Console itself. Is there a document which talk about how to use JSONB while creating the attributes?

Thanks,
Vinay

Re: enabling JSONB on Apache Syncope 2.1.10

Posted by Vinay Kavala <Vi...@govaris.com.INVALID>.
Specific question is like - should I be using encrypted or binary schema type while creating schemas in the console?

Any Help is much appreciated.

Thanks,
Vinay
________________________________
From: Vinay Kavala <Vi...@govaris.com.INVALID>
Sent: Tuesday, March 1, 2022 8:48 PM
To: user@syncope.apache.org <us...@syncope.apache.org>; dev@syncope.apache.org <de...@syncope.apache.org>
Subject: enabling JSONB on Apache Syncope 2.1.10

[CAUTION: EXTERNAL SENDER]


Hi Team,

I am planning to use JSONB column to store user attributes. I see some documentation related to the JSONB here<https://syncope.apache.org/docs/2.1/reference-guide.html#postgresql-jsonb>.

I do not see any documentation on how to use in the Syncope Console itself. Is there a document which talk about how to use JSONB while creating the attributes?

Thanks,
Vinay