Thank you for the response.

We actually use CAS Management application, and I will follow your suggestion.

We have a bunch of services  to migrate : 140+, with their own contacts, policies and release attriibute settings.

I have tried the actuator end point /services from CAS Server , wich export all services in one file, but  JSON format seems different from the import format used in CAS 6.4.

i will try the management application way, with hopefully more success...

Best regards

Francois

Le 31/03/2022 à 17:35, 'Richard Frovarp' via CAS Community a écrit :
The tables in the post are for the service registry. If you don't migrate those, you will have to reconfigure from scratch.

I do not know what the plans are for the project with respect to the service registry. It's changed a bit between versions, and usually seems like a pain. We made the change in a previous upgrade to just drop JSON files on the filesystem and have CAS pick those up. It keeps us free of changes in the JPA method (which we had been using), and free from management app changes. In addition, we can keep service configuration in git, which is extremely nice.

What I gather from that post is you are going to need to change the source code of RegisteredServicesReportController either changing that method, or adding that method. Looks like it is adding the method. Compile, put into your deployment (or download your DB and run locally), and then hit that point to get the exported JSON services. If you are running the management application in 5.3, I think you can export services as JSON as well, just by clicking a bunch of times and possibly doing copy and paste. Depending on your number of services, it might be simpler to just export via the management application, which I'm assuming that you are using. That would save you from editing code and having to deploy a new class file.

Richard

On 3/31/22 09:32, Pablo Vidaurri wrote:
There is no need to migrate the data. These tables are for various type of tickets. Worst case when you cut over to v6.4 your users will have to login again.

-psv


On Wednesday, March 30, 2022 at 9:43:58 AM UTC-5 fjan...@gmail.com wrote:

    Hi,

    I need to migrate JPA service registry  from Apereo CAS 5.2.2 to
    6.4,
    but in this last version , data structures seem to have been
    replaced by
    just one table with flat JSON field in a column : no more
    relationnal
    structure, or I missed something.
    Has anyone here observe the same ?
    If the JPA migration is not possible, does it mean I have to use
    JSON in
    any way ?

    The best hit had met my searches till now is this page :
    https://fawnoos.com/2021/01/19/cas53-service-registry-migration-to-cas63/

    But its content is pretty elliptic and I don't see where to apply
    the
    snippet showed in it :  I have an installation based on cas-overlay,
    there is no  java file named RegisteredServicesReportController to
    override...

    In short my purpose is as follow : migration services from JPA to
    JSON

    Does anyone faced the same issue ?

    Thanks a lot for any clue.


--
- 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/133c5bb4-c6cd-4ec6-bf46-e1deaad1ffc4n%40apereo.org <https://groups.google.com/a/apereo.org/d/msgid/cas-user/133c5bb4-c6cd-4ec6-bf46-e1deaad1ffc4n%40apereo.org?utm_medium=email&utm_source=footer>.


--
- 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/75ef5b42-d3b7-366b-8b5b-c784e578b5a2%40ndsu.edu <https://groups.google.com/a/apereo.org/d/msgid/cas-user/75ef5b42-d3b7-366b-8b5b-c784e578b5a2%40ndsu.edu?utm_medium=email&utm_source=footer>.

--
- 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/fed4a6fd-e21c-57e2-8282-bcf57b7f4952%40gmail.com.

Reply via email to