Loading pom.xml +6 −2 Original line number Diff line number Diff line Loading @@ -435,14 +435,15 @@ <runOrder>alphabetical</runOrder> <forkCount>1</forkCount> <reuseForks>true</reuseForks> <!-- Memory settings --> <argLine>@{argLine} -Xmx2048m -Xms512m -XX:MaxMetaspaceSize=512m</argLine> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <configuration> <skip>true</skip> </configuration> <executions> <execution> <goals> Loading @@ -463,6 +464,9 @@ <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <configuration> <skip>true</skip> </configuration> <executions> <execution> <goals> Loading src/main/java/org/etsi/osl/tmf/pcm620/reposervices/CatalogCallbackService.java +17 −5 Original line number Diff line number Diff line Loading @@ -91,8 +91,13 @@ public class CatalogCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent catalog create event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("category delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send catalog create event to callback URL: {}", url, e); Loading @@ -115,8 +120,15 @@ public class CatalogCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent catalog delete event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("catalog delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send catalog delete event to callback URL: {}", url, e); Loading src/main/java/org/etsi/osl/tmf/pcm620/reposervices/CategoryCallbackService.java +15 −6 Original line number Diff line number Diff line Loading @@ -90,8 +90,13 @@ public class CategoryCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent category create event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("category delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send category create event to callback URL: {}", callbackUrl, e); Loading @@ -113,9 +118,13 @@ public class CategoryCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent category delete event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("category delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send category delete event to callback URL: {}", callbackUrl, e); Loading src/main/java/org/etsi/osl/tmf/pcm620/reposervices/ProductOfferingCallbackService.java +11 −6 Original line number Diff line number Diff line Loading @@ -120,6 +120,7 @@ public class ProductOfferingCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if ( response!= null) logger.info("Successfully sent product offering create event to callback URL: {} - Response: {}", url, response.getStatusCode()); Loading @@ -144,6 +145,7 @@ public class ProductOfferingCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if ( response!= null) logger.info("Successfully sent product offering delete event to callback URL: {} - Response: {}", url, response.getStatusCode()); Loading @@ -168,6 +170,8 @@ public class ProductOfferingCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if ( response!= null) logger.info("Successfully sent product offering attribute value change event to callback URL: {} - Response: {}", url, response.getStatusCode()); Loading @@ -192,6 +196,7 @@ public class ProductOfferingCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if ( response!= null) logger.info("Successfully sent product offering state change event to callback URL: {} - Response: {}", url, response.getStatusCode()); Loading src/main/java/org/etsi/osl/tmf/pcm620/reposervices/ProductSpecificationCallbackService.java +12 −2 Original line number Diff line number Diff line Loading @@ -90,8 +90,13 @@ public class ProductSpecificationCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent product specification create event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("product create event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send product specification create event to callback URL: {}", callbackUrl, e); Loading @@ -114,8 +119,13 @@ public class ProductSpecificationCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent product specification delete event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("product delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send product specification delete event to callback URL: {}", callbackUrl, e); Loading Loading
pom.xml +6 −2 Original line number Diff line number Diff line Loading @@ -435,14 +435,15 @@ <runOrder>alphabetical</runOrder> <forkCount>1</forkCount> <reuseForks>true</reuseForks> <!-- Memory settings --> <argLine>@{argLine} -Xmx2048m -Xms512m -XX:MaxMetaspaceSize=512m</argLine> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <configuration> <skip>true</skip> </configuration> <executions> <execution> <goals> Loading @@ -463,6 +464,9 @@ <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <configuration> <skip>true</skip> </configuration> <executions> <execution> <goals> Loading
src/main/java/org/etsi/osl/tmf/pcm620/reposervices/CatalogCallbackService.java +17 −5 Original line number Diff line number Diff line Loading @@ -91,8 +91,13 @@ public class CatalogCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent catalog create event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("category delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send catalog create event to callback URL: {}", url, e); Loading @@ -115,8 +120,15 @@ public class CatalogCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent catalog delete event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("catalog delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send catalog delete event to callback URL: {}", url, e); Loading
src/main/java/org/etsi/osl/tmf/pcm620/reposervices/CategoryCallbackService.java +15 −6 Original line number Diff line number Diff line Loading @@ -90,8 +90,13 @@ public class CategoryCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent category create event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("category delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send category create event to callback URL: {}", callbackUrl, e); Loading @@ -113,9 +118,13 @@ public class CategoryCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent category delete event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("category delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send category delete event to callback URL: {}", callbackUrl, e); Loading
src/main/java/org/etsi/osl/tmf/pcm620/reposervices/ProductOfferingCallbackService.java +11 −6 Original line number Diff line number Diff line Loading @@ -120,6 +120,7 @@ public class ProductOfferingCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if ( response!= null) logger.info("Successfully sent product offering create event to callback URL: {} - Response: {}", url, response.getStatusCode()); Loading @@ -144,6 +145,7 @@ public class ProductOfferingCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if ( response!= null) logger.info("Successfully sent product offering delete event to callback URL: {} - Response: {}", url, response.getStatusCode()); Loading @@ -168,6 +170,8 @@ public class ProductOfferingCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if ( response!= null) logger.info("Successfully sent product offering attribute value change event to callback URL: {} - Response: {}", url, response.getStatusCode()); Loading @@ -192,6 +196,7 @@ public class ProductOfferingCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if ( response!= null) logger.info("Successfully sent product offering state change event to callback URL: {} - Response: {}", url, response.getStatusCode()); Loading
src/main/java/org/etsi/osl/tmf/pcm620/reposervices/ProductSpecificationCallbackService.java +12 −2 Original line number Diff line number Diff line Loading @@ -90,8 +90,13 @@ public class ProductSpecificationCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent product specification create event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("product create event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send product specification create event to callback URL: {}", callbackUrl, e); Loading @@ -114,8 +119,13 @@ public class ProductSpecificationCallbackService { ResponseEntity<String> response = restTemplate.exchange( url, HttpMethod.POST, entity, String.class); if (response!=null) { logger.info("Successfully sent product specification delete event to callback URL: {} - Response: {}", url, response.getStatusCode()); } else { logger.error("product delete event to callback URL: {} - Response: IS NULL", url); } } catch (Exception e) { logger.error("Failed to send product specification delete event to callback URL: {}", callbackUrl, e); Loading