Getting an error when using a private git repo for cas service registry. It works correctly if I remove the username and password config options are use a public repo.
Here is my config for the registry:
cas.serviceRegistry.git.branchesToClone=dev
cas.serviceRegistry.git.activeBranch=dev
cas.serviceRegistry.git.username=asdf
cas.serviceRegistry.git.password=asdf
cas.serviceRegistry.git.cloneDirectory=file:/tmp/cas-service-registry
cas.serviceRegistry.git.pushChanges=false
And here is the error I am getting:
2019-10-11 19:03:29,837 ERROR [org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler] - <Unexpected error occurred in scheduled task>
Any thoughts?
I used our internal gitlab and tried using a github account also, tested the credentials are working.
I tried looking at the cas code for the gitServiceRegistry and it seems like it has the options for specifying a username and password.
Attached full log output also.
Thanks!