aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/cloud/customer_create.py
blob: 2bdf3129ec7ad7edbfd3a343a2a73b927880990d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from onapsdk.aai.business import Customer
from onapsdk.configuration import settings

from ..base import BaseStep


class CustomerCreateStep(BaseStep):
    """Customer creation step."""

    def execute(self):
        """Create cutomer.

        Use settings values:
         - GLOBAL_CUSTOMER_ID.
        """
        Customer.create(settings.GLOBAL_CUSTOMER_ID, settings.GLOBAL_CUSTOMER_ID, "INFRA")