Commit af5c458d authored by reinosop's avatar reinosop Committed by Mark Beierl
Browse files

Adding PaaS Service Creation UTs



Change-Id: I33660a3f08679d902fc1165eb6f0913d5f1f7a5b
Signed-off-by: default avatarPatricia Reinoso <patricia.reinoso@canonical.com>
parent e24f2c18
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
@@ -53,6 +53,62 @@ db_vim_accounts_text = """
    vim_user: osm
"""

db_paas_accounts_text = """
---
-   _id: 3d93ca4e-b007-4d94-bbdc-61911078b864
    name: my_new_paas1
    paas_type: juju
    endpoints:
    -   127.0.0.1
    user: admin
    secret: SCgY5peOGf98oqc00TNxfQ==
    _admin:
        created: 1664533097.4940042
        modified: 1664533116.9955606
        projects_read:
        - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
        projects_write:
        - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
        operationalState: ENABLED
        operations:
        -   lcmOperationType: create
            operationState: COMPLETED
            startTime: 1664533097.4943297
            statusEnteredTime: 1664533097.4943297
            detailed-status: PaaS validated
            operationParams: null
            worker: null
        current_operation: null
        detailed-status: "Connectivity: ok"
    schema_version: 1.11
-   _id: c2538499-4c30-41c0-acd5-80cb92f45555
    name: my_new_paas2
    paas_type: juju
    endpoints:
    -   127.0.0.1
    user: admin
    secret: 5g0yGX86qIhprX86YTMcpg==
    _admin:
        created: 1664533097.4940042
        modified: 1664533116.9955606
        projects_read:
        - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
        projects_write:
        - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
        operationalState: ENABLED
        operations:
        -   lcmOperationType: create
            operationState: COMPLETED
            startTime: 1664533097.4943297
            statusEnteredTime: 1664533097.4943297
            detailed-status: PaaS validated
            operationParams: null
            worker: null
        current_operation: null
        detailed-status: "Connectivity: ok"
    schema_version: 1.11
"""

db_vnfds_text = """
---
-   _admin:
+416 −121

File changed.

Preview size limit exceeded, changes collapsed.