{
"format": "AAI_Interaction",
"version": "1.0.0",
- "config_key": "/aai/v12/network/pnfs/pnf/pnf_name",
+ "config_key": "/aai/v23/network/pnfs/pnf/pnf_name",
"type": "message_router"
},
{
"format": "AAI_Interaction",
"version": "1.0.0",
- "config_key": "/aai/v12/network/pnfs/pnf/pnf_name",
+ "config_key": "/aai/v23/network/pnfs/pnf/pnf_name",
"type": "message_router"
}
]
* ============LICENSE_START=======================================================
* PNF-REGISTRATION-HANDLER
* ================================================================================
- * Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved.
+ * Copyright (C) 2018-2021 NOKIA Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public static ImmutableAaiClientConfiguration createDefaultAaiClientConfiguration() {
return new ImmutableAaiClientConfiguration.Builder()
- .pnfUrl("https://aai.onap.svc.cluster.local:8443/aai/v12/network/pnfs/pnf")
- .baseUrl("https://aai.onap.svc.cluster.local:8443/aai/v12")
+ .pnfUrl("https://aai.onap.svc.cluster.local:8443/aai/v23/network/pnfs/pnf")
+ .baseUrl("https://aai.onap.svc.cluster.local:8443/aai/v23")
.aaiUserName("AAI")
.aaiUserPassword("AAI")
.aaiIgnoreSslCertificateErrors(true)
* ============LICENSE_START=======================================================
* PNF-REGISTRATION-HANDLER
* ================================================================================
- * Copyright (C) 2019 NOKIA Intellectual Property. All rights reserved.
+ * Copyright (C) 2019-2021 NOKIA Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
stubFor(get(urlEqualTo("/events/unauthenticated.VES_PNFREG_OUTPUT/OpenDCAE-c12/c12"))
.willReturn(ok().withBody(new Gson().toJson(singletonList(event)))));
- stubFor(get(urlEqualTo("/aai/v12/network/pnfs/pnf/" + pnfName)).willReturn(ok().withBody("{}")));
- stubFor(patch(urlEqualTo("/aai/v12/network/pnfs/pnf/" + pnfName)));
+ stubFor(get(urlEqualTo("/aai/v23/network/pnfs/pnf/" + pnfName)).willReturn(ok().withBody("{}")));
+ stubFor(patch(urlEqualTo("/aai/v23/network/pnfs/pnf/" + pnfName)));
stubFor(post(urlEqualTo("/events/unauthenticated.PNF_READY")));
scheduledTasks.scheduleMainPrhEventTask();
* ============LICENSE_START=======================================================
* PNF-REGISTRATION-HANDLER
* ================================================================================
- * Copyright (C) 2019 NOKIA Intellectual Property. All rights reserved.
+ * Copyright (C) 2019-2021 NOKIA Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
class BbsActionsTaskTest {
- private static final String AAI_URL = "https://aai.onap.svc.cluster.local:8443/aai/v12/network";
+ private static final String AAI_URL = "https://aai.onap.svc.cluster.local:8443/aai/v23/network";
private static final String PNF_URL = "/pnfs/pnf";
private static final String LOGICAL_LINK_URL = "/logical-links/logical-link";
private static final String ATTACHMENT_POINT = "attachment-point";
{
"related-to": "pnf",
"relationship-label": "org.onap.relationships.inventory.BridgedTo",
- "related-link": "/aai/v14/network/pnfs/pnf/Nokia123",
+ "related-link": "/aai/v23/network/pnfs/pnf/Nokia123",
"relationship-data": [
{
"relationship-key": "pnf.pnf-name",
{
"related-to": "logical-link",
"relationship-label": "org.onap.relationships.inventory.BridgedTo",
- "related-link": "/aai/v14/network/logical-links/logical-link/some-link",
+ "related-link": "/aai/v23/network/logical-links/logical-link/some-link",
"relationship-data": [
{
"relationship-key": "logical-link.link-name",
"dmaap.dmaapProducerConfiguration.dmaapUserPassword":"admin",
"dmaap.dmaapUpdateProducerConfiguration.dmaapUserName":"admin",
"dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword":"admin",
- "aai.aaiClientConfiguration.pnfUrl": "https://aai.onap.svc.cluster.local:8443/aai/v12/network/pnfs/pnf",
- "aai.aaiClientConfiguration.baseUrl": "https://aai.onap.svc.cluster.local:8443/aai/v12",
+ "aai.aaiClientConfiguration.pnfUrl": "https://aai.onap.svc.cluster.local:8443/aai/v23/network/pnfs/pnf",
+ "aai.aaiClientConfiguration.baseUrl": "https://aai.onap.svc.cluster.local:8443/aai/v23",
"aai.aaiClientConfiguration.aaiUserName":"AAI",
"aai.aaiClientConfiguration.aaiUserPassword":"AAI",
"aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors":true,
private static AaiClientConfiguration validConfiguration(Map<String, String> headers, boolean secure) {
return new ImmutableAaiClientConfiguration.Builder()
- .baseUrl("https://aai.onap.svc.cluster.local:8443/aai/v12")
+ .baseUrl("https://aai.onap.svc.cluster.local:8443/aai/v23")
.aaiUserName("sample-username")
.aaiUserPassword("sample-password")
.aaiIgnoreSslCertificateErrors(false)
* ============LICENSE_START=======================================================
* DCAEGEN2-SERVICES-SDK
* ================================================================================
- * Copyright (C) 2019 NOKIA Intellectual Property. All rights reserved.
+ * Copyright (C) 2019-2021 NOKIA Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
class AaiGetServiceInstanceClientTest extends AbstractHttpClientTest {
public static final String SERVICE_INSTANCE_PATH =
- "https://aai.onap.svc.cluster.local:8443/aai/v12/business/customers/customer/Demonstration/"
+ "https://aai.onap.svc.cluster.local:8443/aai/v23/business/customers/customer/Demonstration/"
+ "service-subscriptions/service-subscription/VCPE/service-instances/service-instance/df018f76-7fc8-46ab-8444-7d67e1efc284";
@Test