Hi Bryan,
If you want to completely disable version control you can do this in
build.gradle:

bootWar {
    entryCompression = ZipEntryCompression.STORED
    overlays {
        //
https://docs.freefair.io/gradle-plugins/current/reference/#_io_freefair_war_overlay
        // Note: The "excludes" property is only for files in the war
dependency.
        // If a jar is excluded from the war, it could be brought back into
the final war as a dependency
        // of non-war dependencies. Those should be excluded via normal
gradle dependency exclusions.
        cas {
            from
"org.apereo.cas:cas-mgmt-webapp${project.appServer}:${casMgmtServerVersion}@war
"
            provided = false
            excludes = ["**/cas-mgmt-config-version-control*.jar",
"**/cas-mgmt-config-delegated*.jar", "**/HikariCP-java7-2.4.13.jar"]
        }
    }

}


Then the only thing you need for services is

cas.serviceRegistry.json.location=file:/etc/cas/services


Stéphane

Le lun. 6 juil. 2020 à 22:47, Bryan Wooten <[email protected]> a écrit :

> Thank you Ray. This helps.
>
> I see you are very active/helpful on this list...
>
> Perhaps one day I will return the favor.
>
> -Bryan
>
> University of Utah.
>
> On Mon, Jul 6, 2020 at 1:04 PM Ray Bon <[email protected]> wrote:
>
>> Bryan,
>>
>> I am just looking into cas management after a bit of a break from my
>> first frustrating attempt. My impression is that cas management is trying
>> to leverage the cas packages. The version of cas management must be the
>> same as a source of cas packages (I am working with 6.1.4-SNAPSHOT), but
>> does not have to be the same as the deployed cas ( it ca be older for
>> sure). This also means that the properties will be the same as those for
>> cas.
>> I have not tried turning off version control for the services. First time
>> I tried, it was problematic. For the extra step of confirming changes to a
>> service, it is probably not worth the effort. Just create a writable
>> directory (or make the default writable) for the git repo and be done with
>> it.
>> We store our services in ldap (so no file sync), but I am not that far
>> along in my config, maybe later this week or next.
>>
>> Ray
>>
>> On Mon, 2020-07-06 at 11:52 -0600, Bryan Wooten wrote:
>>
>> I was wondering if any of you fine folks could help me.
>>
>> I am trying to get cas-management application (6.2) with a Cas 6.1.6
>> server. (I can change the cas-management version if needed.
>>
>> Anyway I am having trouble understanding the docs and and
>> management.properties settings.
>>
>> I am simply trying to manage a 1000 json file /etc/cas.config/services
>> directory.
>>
>> We don't need/want version control at this time or any file sync.
>>
>> At startup we get errors like this:
>>
>> Origin: "mgmt.enableVersionControl" from property source
>> "bootstrapProperties"
>>     Reason: The elements
>> [mgmt.enabledelegatedmgmt,mgmt.enableversioncontrol,mgmt.servicesrepo,mgmt.syncscript,mgmt.userrep
>> osdir] were left unbound.
>>
>> For example, what is mgmt.userrep?
>>
>> If someone could share the management properties file that would be great.
>>
>> -Bryan
>>
>> University of Utah
>>
>> --
>>
>> Ray Bon
>> Programmer Analyst
>> Development Services, University Systems
>> 2507218831 | CLE 019 | [email protected]
>>
>> I respectfully acknowledge that my place of work is located within the
>> ancestral, traditional and unceded territory of the Songhees, Esquimalt and
>> WSÁNEĆ Nations.
>>
>> --
>> - 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/8904bfe249d56466eaf2b60d566618b8baaa3d2c.camel%40uvic.ca
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/8904bfe249d56466eaf2b60d566618b8baaa3d2c.camel%40uvic.ca?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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAG9x2GVTa5zGEn3ghBBJ5BXU2SOU8p_F3upCQRepyEwv30KmWA%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAG9x2GVTa5zGEn3ghBBJ5BXU2SOU8p_F3upCQRepyEwv30KmWA%40mail.gmail.com?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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAENLzaZd7%2BjyxGC7VHTo%3DLfoAizbKnm%2BASeTv2hn-%2BWkS37M%3DQ%40mail.gmail.com.

Reply via email to