aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration/basic_sdnc_settings.py
blob: e6bbdcccb4fdeffec2dc6cce5a2040e4f77980b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from .settings import *

CLEANUP_FLAG = True

SERVICE_NAME = "Basic SDNC test"

SERVICE_COMPONENTS = "SDNC"

SERVICE_ID = "pythonsdk-tests-service-01"

SERVICE_STATUS = {
    "rpc-action": "activate",
    "response-message": "test-message-1",
    "response-timestamp": "2023-05-09T13:14:30.540Z",
    "request-status": "synccomplete",
    "final-indicator": "Y",
    "action": "CreateVnfInstance",
    "rpc-name": "vnf-topology-operation",
    "response-code": "200"
}

SERVICE_CHANGED_STATUS = {
    "rpc-action": "activate",
    "response-message": "changed-test-message-1",
    "response-timestamp": "2023-05-09T13:14:30.540Z",
    "request-status": "synccomplete",
    "final-indicator": "Y",
    "action": "CreateVnfInstance",
    "rpc-name": "vnf-topology-operation",
    "response-code": "200"
}

SERVICE_DATA = {
    "service-level-oper-status": {
        "last-rpc-action": "assign",
        "last-action": "CreateServiceInstance",
        "order-status": "Created"
    },
    "service-request-input": {
        "service-input-parameters": {
            "param": [
                {
                    "name": "orchestrator",
                    "value": "multicloud"
                }
            ]
        },
        "service-instance-name": "gnb-93100001"
    }
}

SERVICE_CHANGED_DATA = {
    "service-level-oper-status": {
        "last-rpc-action": "assign",
        "last-action": "CreateServiceInstance",
        "order-status": "Created"
    },
    "service-request-input": {
        "service-input-parameters": {
            "param": [
                {
                    "name": "orchestrator",
                    "value": "multicloud"
                }
            ]
        },
        "service-instance-name": "gnb-93100002"
    }
}