By: Jacob Verghese user 15 Mar 2021 at 8:11 a.m. CDT

3 Responses
Jacob Verghese gravatar
Hello, This is a follow up to the last ticket (#9474 ) which I realized was CLOSED, but had attached a follow-up question. See: Ticket : #9474 (for context) ========================================== Thank you for your answer. Follow up question then: Q1: what about when it comes to 'custom' python scripts. Does that mean potentially we can create the below structure directory in JackRabbit and put the python-code in this standard directory structure for custom python code? ``` /opt/gluu/jetty/oxauth/custom/python-code/ ``` Q2: Also I observed in the cloud-native **Readme.md** documentation, the following ... > === "Script" > > !!!warning > Used for quick testing with Jackrabbit and should be avoided. > > 1. Copy files to Jackrabbit container at `/opt/webdav` > > 1. Run `python3 /app/scripts/jca_sync.py` . What does this imply? Is this related to deploying and overriding python script on the fly with JackRabbit? If so what is this directory structure `/opt/webdav` ~Jacob ==========================================

By Mohammad Abudayyeh staff 15 Mar 2021 at 9:06 a.m. CDT

Mohammad Abudayyeh gravatar
You shouldn't use this at all. This will simply push whatever folders inside `/opt/webdav` to `/repository/default` by default. You should connect to your jackrabbit and mount it as a drive and create the custom folder there. The warning is there so you avoid using this. This method is here so you explore the jackrabbit repository and nothing more.

By Jacob Verghese user 15 Mar 2021 at 9:10 a.m. CDT

Jacob Verghese gravatar
So what about when it comes to 'custom' python scripts. Does that mean potentially we can create the below structure directory in JackRabbit and put the python-code in this standard directory structure for custom python code? ``` /opt/gluu/jetty/oxauth/custom/python-code/ ``` After that JackRabbit will pull and use the custom python code as an override ?

By Mohammad Abudayyeh staff 15 Mar 2021 at 9:20 a.m. CDT

Mohammad Abudayyeh gravatar
If you mean that it will be pulled in oxauth then yes. So you will be able to reach it inside the pod. Im not sure what you mean by `use` . Remember its a pull from Jackrabbit .