* ============LICENSE_START=======================================================
* Copyright (C) 2019, 2022 AT&T Intellectual Property. All rights reserved.
* Modifications Copyright (C) 2022 Bell Canada. All rights reserved.
- * Modifications Copyright (C) 2023 Nordix Foundation.
+ * Modifications Copyright (C) 2023-2024 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public class DmaapSimulatorTest {
private static final int MAX_WAIT_SEC = 10;
- private static final String TOPIC = "MY-TOPIC";
- private static final String AUTH_TOPIC = "MY-AUTH-TOPIC";
+ private static final String TOPIC = "my-topic";
+ private static final String AUTH_TOPIC = "my-auth-topic";
private static final String AUTH_PORT = "3903";
private static final HashMap<String, String> savedValuesMap = new HashMap<>();
* ============LICENSE_START=======================================================
* Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
* Modifications Copyright (C) 2020-2021 Bell Canada. All rights reserved.
- * Modifications Copyright 2023 Nordix Foundation.
+ * Modifications Copyright 2023-2024 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* parameters.
*
* @param params parameters from which to build the properties
- * @return a set of properties representing the given parameters
+ * @return a Map of properties representing the given parameters
*/
private static Properties getServerProperties(String dmaapName, ClassRestServerParameters params) {
final var props = new Properties();
* ONAP
* ================================================================================
* Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
- * Modifications Copyright (C) 2023 Nordix Foundation.
+ * Modifications Copyright (C) 2023-2024 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
}
/**
- * Verifies that all of the simulators are brought up and that HTTPS works with at
+ * Verifies that all the simulators are brought up and that HTTPS works with at
* least one of them.
*/
@Test
}
};
- // run in another thread so we don't interrupt this thread
+ // run in another thread, so we don't interrupt this thread
LinkedBlockingQueue<RuntimeException> queue = new LinkedBlockingQueue<>();
Thread thread = new Thread(() -> {
try {
],
"topicSinks": [
{
- "topic": "APPC-CL",
+ "topic": "appc-cl",
"servers": ["localhost"],
"topicCommInfrastructure": "DMAAP",
"useHttps": true
},
{
- "topic": "APPC-LCM-WRITE",
+ "topic": "appc-lcm-write",
"servers": ["localhost"],
"topicCommInfrastructure": "DMAAP",
"useHttps": true
},
{
- "topic": "SDNR-CL",
+ "topic": "sdnr-cl",
"servers": ["localhost"],
"topicCommInfrastructure": "DMAAP",
"useHttps": true
],
"topicSources": [
{
- "topic": "APPC-CL",
+ "topic": "appc-cl",
"servers": ["localhost"],
"topicCommInfrastructure": "DMAAP",
"useHttps": true
},
{
- "topic": "APPC-LCM-READ",
+ "topic": "appc-lcm-read",
"servers": ["localhost"],
"topicCommInfrastructure": "DMAAP",
"useHttps": true
},
{
- "topic": "SDNR-CL-RSP",
+ "topic": "sdnr-cl-rsp",
"servers": ["localhost"],
"topicCommInfrastructure": "DMAAP",
"useHttps": true
{
"name": "APPC Legacy simulator",
"providerClass": "org.onap.policy.simulators.AppcLegacyTopicServer",
- "sink": "APPC-CL",
- "source": "APPC-CL"
+ "sink": "appc-cl",
+ "source": "appc-cl"
},
{
"name": "APPC-LCM simulator",
"providerClass": "org.onap.policy.simulators.AppcLcmTopicServer",
- "sink": "APPC-LCM-WRITE",
- "source": "APPC-LCM-READ"
+ "sink": "appc-lcm-write",
+ "source": "appc-lcm-read"
},
{
"name": "SDNR simulator",
"providerClass": "org.onap.policy.simulators.SdnrTopicServer",
- "sink": "SDNR-CL",
- "source": "SDNR-CL-RSP"
+ "sink": "sdnr-cl",
+ "source": "sdnr-cl-rsp"
}
],
"grpcServer": {