Skip to content

Commit

Permalink
feat: add NMS integration with TLS (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciareinoso authored Nov 18, 2024
1 parent 5420e31 commit 5b17e98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ juju integrate mongodb-k8s sdcore-udr-k8s:common_database
juju integrate mongodb-k8s sdcore-udr-k8s:auth_database
juju integrate sdcore-nms-k8s:common_database mongodb-k8s:database
juju integrate sdcore-nms-k8s:auth_database mongodb-k8s:database
juju integrate sdcore-nms-k8s:certificates self-signed-certificates:certificates
juju integrate sdcore-nrf-k8s:certificates self-signed-certificates:certificates
juju integrate sdcore-nrf-k8s:fiveg_nrf sdcore-udr-k8s:fiveg_nrf
juju integrate sdcore-udr-k8s:certificates self-signed-certificates:certificates
Expand Down
7 changes: 5 additions & 2 deletions tests/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ async def test_restore_tls_and_wait_for_active_status(self, ops_test: OpsTest, d
assert ops_test.model
await self._deploy_tls_provider(ops_test)
await ops_test.model.integrate(relation1=APPLICATION_NAME, relation2=TLS_CHARM_NAME)
await ops_test.model.integrate(relation1=NMS_CHARM_NAME, relation2=TLS_CHARM_NAME)
await ops_test.model.integrate(relation1=NRF_CHARM_NAME, relation2=TLS_CHARM_NAME)
await ops_test.model.wait_for_idle(apps=[APPLICATION_NAME], status="active", timeout=300)

@pytest.mark.skip(
Expand Down Expand Up @@ -197,8 +199,9 @@ async def _deploy_nms(ops_test: OpsTest):
channel=NMS_CHARM_CHANNEL,
)
await ops_test.model.integrate(
relation1=f"{NMS_CHARM_NAME}:common_database", relation2=f"{DATABASE_CHARM_NAME}"
relation1=f"{NMS_CHARM_NAME}:common_database", relation2=DATABASE_CHARM_NAME
)
await ops_test.model.integrate(
relation1=f"{NMS_CHARM_NAME}:auth_database", relation2=f"{DATABASE_CHARM_NAME}"
relation1=f"{NMS_CHARM_NAME}:auth_database", relation2=DATABASE_CHARM_NAME
)
await ops_test.model.integrate(relation1=NMS_CHARM_NAME, relation2=TLS_CHARM_NAME)

0 comments on commit 5b17e98

Please sign in to comment.