-
Hi, Can someone provide guidance on how to set up a development environment when writing custom scripts in java? I've tried to search the web for such jars but can't find any. "Normally" you would for example define dependencies in maven or something similar so that the IDE understands the context of your code.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
One of the ways it to pick up https://github.com/JanssenProject/jans/tree/main/jans-auth-server/server You can see maven pom.xml with all dependencies in it. |
Beta Was this translation helpful? Give feedback.
-
If I understand you correctly you suggest to download the jannsen github project and create my scripts inside there to get the context. Is that correct? Is there no other way to do it? Your suggestion would mean that development is done somewhere, and then files has to be moved around for version control and deployment (we're using terraform) - sounds like a lot of friction and not very intuitive. Additionally we want to have automatic execution of unit tests of our custom scripts in a CI/CD pipeline and I don't see how that can be solved in any easy way with this approach. |
Beta Was this translation helpful? Give feedback.
-
There is a lot of data injected into the Context which would be hard to replicate in your IDE. If you can come up with a better solution, we're all ears. Maybe @ossdhaval can point you to some better instructions. |
Beta Was this translation helpful? Give feedback.
One of the ways it to pick up
jans-auth-server
project with server module in IDE and create script inside it.https://github.com/JanssenProject/jans/tree/main/jans-auth-server/server
You can see maven pom.xml with all dependencies in it.