push
github
Application aware CrownLabs templates - backend - cldprog/group02 (#938) * Feat: Adding multi environment support Co-authored-by: giando332994 <giando332994@users.noreply.github.com> Co-authored-by: giulia-mascarin <giulia-mascarin@users.noreply.github.com> Co-authored-by: ferroo2000 <ferroo2000@users.noreply.github.com> fixed pkg/examagent support to env list fixed tests to use environments array (pkg/instctrl/: containers, controller, exposition, virtualmachine _test) Correction in exposition.go fixed changes in exposition.go and exposition_test.go in operators/pkg/instctrl fixed tests for containers.go fixed virtualmachine_tests, added pointer in virtualmachine to work with tests partial adjustments in controller_test.go adjustments to controller_test.go added a test fix: pointers assignment in common submission and controller fix: exposition.go index check in enforceInstanceExpositionAbsence to comply with controller_test fix: merge conflicts * chore: move NodeSelector from environment to template * deployment, vm, vmi, cloud-init secret, pvc, service, ingress... are now labeled with also the environment and not just the instance. Started changing the type of urls in instance specification * fix: instance controller_test to use index-based updates on EnvironmentList, examagent/instance.go to use the new InstanceContentUrls map of instance_types * chore: remove useless comments * changes made following Cuccinella's sugestion in the review * temporary part of the modifications based on Federico's review. NO FINAL VERSION * Revert "temporary part of the modifications based on Federico's review. NO FINAL VERSION" This reverts commit f4fb75b97. * fix: add instance status env name * fix: instance status env list initialization * feat: added (outer) Phase at instance level fix: fixed comment in eng * bringing rootUrl at instance level * fix: controller tests with "outer" phase checked * cloud-in... (continued)
217 of 452 new or added lines in 20 files covered. (48.01%)
7 existing lines in 5 files now uncovered.5384 of 16092 relevant lines covered (33.46%)
7.79 hits per line