Uplift code base to java21 00/142700/1 master
authoradheli.tavares <adheli.tavares@est.tech>
Mon, 8 Dec 2025 16:00:13 +0000 (16:00 +0000)
committeradheli.tavares <adheli.tavares@est.tech>
Mon, 8 Dec 2025 16:00:13 +0000 (16:00 +0000)
Issue-ID: POLICY-5466
Change-Id: I7136602235f512d342b131322031b57a2c49bea8
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restrequestor/src/test/java/org/onap/policy/apex/plugins/event/carrier/restrequestor/ApexRestRequestorConsumerTest.java
testsuites/integration/integration-uservice-test/src/test/resources/events/Context_AvroEventAlbum_EventOutCompare.json

index 47f9045..eaaf56d 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  * ============LICENSE_START=======================================================
  *  Copyright (C) 2018 Ericsson. All rights reserved.
- *  Modifications Copyright (C) 2019-2020,2024 Nordix Foundation.
+ *  Modifications Copyright (C) 2019-2020,2024-2025 OpenInfra Foundation Europe.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -123,7 +123,7 @@ class ApexRestRequestorConsumerTest {
         consumerParameters.setPeeredMode(EventHandlerPeeredMode.REQUESTOR, true);
         rrctp.setHttpMethod(RestRequestorCarrierTechnologyParameters.HttpMethod.GET);
 
-        rrctp.setUrl("http://www.{site}.{site}.{net}");
+        rrctp.setUrl("http://www.onap.onap.org");
         consumerParameters.setPeerTimeout(EventHandlerPeeredMode.REQUESTOR, 2000);
         Properties properties = new Properties();
         properties.put("site", "onap");
@@ -149,7 +149,7 @@ class ApexRestRequestorConsumerTest {
         consumerParameters.setPeeredMode(EventHandlerPeeredMode.REQUESTOR, true);
         rrctp.setHttpMethod(RestRequestorCarrierTechnologyParameters.HttpMethod.GET);
 
-        rrctp.setUrl("http://www.{site}.{net}");
+        rrctp.setUrl("http://www.onap.org");
         consumerParameters.setPeerTimeout(EventHandlerPeeredMode.REQUESTOR, 2000);
         Properties properties = new Properties();
         properties.put("site", "onap");
index 6c13b1f..dee91c4 100644 (file)
@@ -16,7 +16,7 @@
     "AvroBoolean": true,
     "AvroByte": -127.0,
     "AvroDouble": 1.2345E67,
-    "AvroFloat": 1.9999999999999998E23,
+    "AvroFloat": 2.0E23,
     "AvroInteger": 1234568.0,
     "AvroLong": 1.234567890124E12,
     "AvroMap": {