export default [
  {
    yamlversion: "v1.0",
    subStepsParallel: "False", // false 串行，True并行，表示子步骤step1、step2串行执行
    steps: [
      {
        name: "step1",
        displayName: "Stop All Services",
        subStepsParallel: "True",
        status: "success",
        steps: [
          {
            name: "step1_1",
            displayName: "Stop app1 Services",
            type: "execution",
            serviceType: "app1",
            status: "stop",
            serviceTypeParallel: "True",

            steps: [
              {
                name: "step1_1_1",
                displayName: "Stop app1 Services",
                type: "execution",
                serviceType: "app1",
                status: "waiting",
                serviceTypeParallel: "False",
                steps: [
                  {
                    name: "step1_1_1_1",
                    displayName: "Stop app1 Services",
                    type: "execution",
                    serviceType: "app1",
                    status: "waiting",
                    serviceTypeParallel: "False",
                    hosts: [
                      { host: "qladpaxasdasdasd1", status: "success" },
                      { host: "qladpax1", status: "success" },
                      { host: "qladpax1", status: "success" },
                      { host: "qladpax1", status: "success" },
                      { host: "qladpax1", status: "success" },
                      { host: "qladpax1", status: "success" },
                      { host: "qladpax2", status: "lose" },
                      { host: "qladpax3", status: "wating" },
                    ],
                  },
                  {
                    name: "step1_1_1_2",
                    displayName: "Stop app1 Services",
                    type: "execution",
                    serviceType: "app1",
                    status: "waiting",
                    serviceTypeParallel: "False",
                    hosts: [
                      { host: "qladpax1", status: "success" },
                      { host: "qladpax2", status: "lose" },
                      { host: "qladpax3", status: "wating" },
                    ],
                  },
                ],
              },
              {
                name: "step1_1_2",
                displayName: "Stop app1 Services",
                type: "execution",
                serviceType: "app1",
                status: "waiting",
                serviceTypeParallel: "True",
                hosts: [
                  { host: "qladpax1", status: "success" },
                  { host: "qladpax2", status: "lose" },
                  { host: "qladpax3", status: "wating" },
                ],
              },
              {
                name: "step1_1_3",
                displayName: "Stop app1 Services",
                type: "execution",
                serviceType: "app1",
                status: "waiting",
                serviceTypeParallel: "True",
              },
              {
                name: "step1_1_4",
                displayName: "Stop app1 Services",
                type: "execution",
                serviceType: "app1",
                status: "waiting",
                serviceTypeParallel: "True",
              },
            ],
          },
          {
            name: "step1_2",
            displayName: "Stop app2_part1 Services",
            type: "execution",
            serviceType: "app2_part1",
            status: "waiting",
            serviceTypeParallel: "True",
            steps: [
              {
                name: "step1_2_1",
                displayName: "Stop app1 Services",
                type: "execution",
                serviceType: "app1",
                status: "waiting",
                serviceTypeParallel: "True",
              },
              {
                name: "step1_2_2",
                displayName: "Stop app1 Services",
                type: "execution",
                serviceType: "app1",
                status: "waiting",
                serviceTypeParallel: "True",
                steps: [
                  {
                    name: "step1_2aaaa",
                    displayName: "Stop app2_part1 Services",
                    type: "execution",
                    serviceType: "app2_part1",
                    status: "waiting",
                    serviceTypeParallel: "True",
                    steps: [
                      {
                        name: "step1_2_1a",
                        displayName: "Stop app1 Services",
                        type: "execution",
                        serviceType: "app1",
                        status: "waiting",
                        serviceTypeParallel: "True",
                      },
                      {
                        name: "step1ccc",
                        displayName: "Stop app1 Services",
                        type: "execution",
                        serviceType: "app1",
                        status: "waiting",
                        serviceTypeParallel: "True",
                      },
                    ],
                  },
                ],
              },
            ],
          },
        ],
      },
      {
        // name: "step2step2step2step2step2step2step2step2step2stestep2step2step2step2step2step2step2step2step2stestep2step2step2step2step2step2step2step2step2stestep2step2step2step2step2step2step2step2step2ste",
        name: "step2",
        displayName: "Stop All Services",
        subStepsParallel: "True",
        status: "waiting",
        steps: [
          {
            name: "step2_1",
            displayName: "Waiting",
            type: "execution",
            status: "waiting",
          },
          {
            name: "step2_2",
            displayName: "Waiting",
            type: "execution",
            status: "waiting",
          },
        ],
      },
      {
        name: "step3",
        displayName: "deploy All Services",
        subStepsParallel: "True",
        status: "waiting",
        steps: [
          {
            name: "step3_1ssstep3",
            displayName: "deploy app1 Services",
            type: "execution",
            serviceType: "app1",
            status: "waiting",
            serviceTypeParallel: "True",
          },
          {
            name: "step3_1stes",
            displayName: "deploy app1 Services",
            type: "execution",
            serviceType: "app1",
            status: "waiting",
            serviceTypeParallel: "True",
          },
          {
            name: "step3_1s",
            displayName: "deploy app1 Services",
            type: "execution",
            serviceType: "app1",
            status: "waiting",
            serviceTypeParallel: "True",
          },
          {
            name: "step3_2",
            displayName: "deploy app2_part1 Services",
            type: "execution",
            serviceType: "app2_part1",
            status: "waiting",
            serviceTypeParallel: "True",
          },
        ],
      },
      {
        name: "step4",
        displayName: "start All Services",
        subStepsParallel: "False",
        status: "waiting",
        steps: [
          {
            name: "step4_1",
            displayName: "start app1 Services",
            type: "execution",
            serviceType: "app1",
            status: "waiting",
            serviceTypeParallel: "True",
          },
          {
            name: "step4_2",
            displayName: "start app2_part1 Services",
            type: "execution",
            serviceType: "app2_part1",
            status: "waiting",
            serviceTypeParallel: "True",
          },
        ],
      },
    ],
  },
];
