---
  MuranoEnvironments.list_environments:
    -
      runner:
        type: "constant"
        times: 30
        concurrency: 4
      context:
        users:
          tenants: 2
          users_per_tenant: 2
        murano_environments:
          environments_per_tenant: 2
      sla:
        failure_rate:
          max: 0

  MuranoEnvironments.create_and_delete_environment:
    -
      runner:
        type: "constant"
        times: 20
        concurrency: 2
      context:
        users:
          tenants: 2
          users_per_tenant: 2
      sla:
        failure_rate:
          max: 0

  MuranoEnvironments.create_and_deploy_environment:
    -
      args:
        packages_per_env: 2
      runner:
        type: "constant"
        times: 8
        concurrency: 2
      context:
        users:
          tenants: 2
          users_per_tenant: 2
        murano_packages:
          app_package: "~/.rally/extra/murano/applications/HelloReporter/io.murano.apps.HelloReporter.zip"
        roles:
          - "admin"
      sla:
        failure_rate:
          max: 0
    -
      args:
        packages_per_env: 2
      runner:
        type: "constant"
        times: 8
        concurrency: 2
      context:
        users:
          tenants: 2
          users_per_tenant: 2
        murano_packages:
          app_package: "~/.rally/extra/murano/applications/HelloReporter/io.murano.apps.HelloReporter/"
        roles:
          - "admin"

  MuranoPackages.import_and_list_packages:
    -
      args:
        package: "~/.rally/extra/murano/applications/HelloReporter/io.murano.apps.HelloReporter/"
      runner:
        type: "constant"
        times: 10
        concurrency: 2
      context:
        users:
          tenants: 2
          users_per_tenant: 2
      sla:
        failure_rate:
          max: 0
    -
      args:
        package: "~/.rally/extra/murano/applications/HelloReporter/io.murano.apps.HelloReporter.zip"
      runner:
        type: "constant"
        times: 1
        concurrency: 1
      context:
        users:
          tenants: 1
          users_per_tenant: 1
      sla:
        failure_rate:
          max: 0

  MuranoPackages.import_and_delete_package:
    -
      args:
        package: "~/.rally/extra/murano/applications/HelloReporter/io.murano.apps.HelloReporter/"
      runner:
        type: "constant"
        times: 10
        concurrency: 2
      context:
        users:
          tenants: 2
          users_per_tenant: 2
      sla:
        failure_rate:
          max: 0

  MuranoPackages.import_and_filter_applications:
    -
      args:
        package: "~/.rally/extra/murano/applications/HelloReporter/io.murano.apps.HelloReporter/"
        filter_query: {"category" : "Web"}
      runner:
        type: "constant"
        times: 10
        concurrency: 2
      context:
        users:
          tenants: 2
          users_per_tenant: 2
      sla:
        failure_rate:
          max: 0

  MuranoPackages.package_lifecycle:
    -
      args:
        package: "~/.rally/extra/murano/applications/HelloReporter/io.murano.apps.HelloReporter/"
        body: {"categories": ["Web"]}
        operation: "add"
      runner:
        type: "constant"
        times: 10
        concurrency: 2
      context:
        users:
          tenants: 2
          users_per_tenant: 2
      sla:
        failure_rate:
          max: 0
