NubesGen icon indicating copy to clipboard operation
NubesGen copied to clipboard

Support Python

Open cmaneu opened this issue 3 years ago • 3 comments

Adding support for Python for Web Apps and Azure Functions

cmaneu avatar Feb 11 '22 11:02 cmaneu

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

jdubois avatar Feb 23 '22 12:02 jdubois

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

jdubois avatar Feb 23 '22 12:02 jdubois

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.

jdubois avatar Jun 28 '22 12:06 jdubois