NubesGen
NubesGen copied to clipboard
Support Python
Adding support for Python for Web Apps and Azure Functions
This needs:
- [x] A test case like https://github.com/microsoft/NubesGen/tree/main/rest-server/src/test/resources/nubesgen/terraform/app-service-quarkus
- [x] Template support in https://github.com/microsoft/NubesGen/blob/main/rest-server/src/main/resources/nubesgen/terraform/modules/app-service/main.tf.mustache that would match the test case
- [x] Python support in the Java code, in https://github.com/microsoft/NubesGen/blob/main/rest-server/src/main/java/io/github/nubesgen/service/ConfigurationService.java and https://github.com/microsoft/NubesGen/blob/main/rest-server/src/main/java/io/github/nubesgen/configuration/NubesgenConfiguration.java
- [x] Support in the Web UI
- [x] Support in the CLI -> with a Python version of https://github.com/microsoft/NubesGen/blob/main/cli/src/main/java/io/github/nubesgen/cli/subcommand/scan/JavaScanner.java
I started the work on https://github.com/jdubois/NubesGen-2/tree/python-support/rest-server/src/test/resources/nubesgen/terraform/app-service-python/terraform Tagging @tonybaloney for awareness
In #331 I finished the unit tests, coded the logic in the app, added Python in the UI, and added Python support in the CLI. This should provide Python support at the same level as the other languages.