konveyor / move2kube

Move2Kube is a command-line tool for automating creation of Infrastructure as code (IaC) artifacts. It has inbuilt support for creating IaC artifacts for replatforming to Kubernetes/Openshift.
https://move2kube.konveyor.io/
Apache License 2.0
377 stars 119 forks source link

Only one of the service is getting detected in language-platforms sample in Move2Kube UI #1159

Closed Akash-Nayak closed 3 months ago

Akash-Nayak commented 3 months ago

Describe the bug Out of the 10 services in the language platforms, only 1 service is getting detected.

m2k.plan

apiVersion: move2kube.konveyor.io/v1alpha1
kind: Plan
metadata:
  name: myproject
spec:
  sourceDir: ../move2kube-demos/samples/language-platforms
  services:
    language-platforms:
      - transformerName: Ruby-Dockerfile
        paths:
          ServiceDirectories:
            - .
        configs:
          OriginalName:
            originalName: language-platforms

To Reproduce Steps to reproduce the behavior:

  1. Run the Plan phase in Move2Kube UI using the language-platforms.zip
Screenshot 2024-03-21 at 1 07 45 AM Screenshot 2024-03-21 at 1 08 34 AM

Expected behavior Move2Kube should detect all the services in the given source code. The plan file should contain all the 10 services in the language-platforms.

Desktop (please complete the following information):

Screenshot 2024-03-21 at 1 11 37 AM
HarikrishnanBalagopal commented 3 months ago

Fixed in https://github.com/konveyor/move2kube-api/pull/163