File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
src/main/java/it/eng/dome/billing/proxy/service Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 1212
1313 <groupId >it.eng.dome.billing</groupId >
1414 <artifactId >proxy</artifactId >
15- <version >0.0.5 </version >
15+ <version >0.1.0 </version >
1616 <name >Billing Proxy</name >
1717 <description >Billing Proxy for DOME project</description >
1818
5050 <dependency >
5151 <groupId >it.eng.dome.brokerage</groupId >
5252 <artifactId >brokerage-utils</artifactId >
53- <version >[1 .0.0, 2 .0.0)</version >
53+ <version >[2 .0.0, 3 .0.0)</version >
5454 </dependency >
5555
5656 <!-- TMF620 Catalog -->
Original file line number Diff line number Diff line change 99import org .springframework .stereotype .Component ;
1010
1111import it .eng .dome .billing .proxy .tmf .TmfApiFactory ;
12- import it .eng .dome .tmforum . tmf620 . v4 . api .ProductOfferingPriceApi ;
12+ import it .eng .dome .brokerage . api .ProductOfferingPriceApis ;
1313import it .eng .dome .tmforum .tmf620 .v4 .model .ProductOfferingPrice ;
1414
1515
@@ -22,19 +22,15 @@ public class BillingService implements InitializingBean {
2222 @ Autowired
2323 private TmfApiFactory tmfApiFactory ;
2424
25- private ProductOfferingPriceApi productOfferingPrice ;
25+ private ProductOfferingPriceApis productOfferingPrice ;
2626
2727 @ Override
2828 public void afterPropertiesSet () throws Exception {
29- productOfferingPrice = new ProductOfferingPriceApi (tmfApiFactory .getTMF620CatalogApiClient ());
29+ productOfferingPrice = new ProductOfferingPriceApis (tmfApiFactory .getTMF620CatalogApiClient ());
3030 }
3131
3232 public ProductOfferingPrice getProductOfferingPrice (String id ) {
33- try {
34- return productOfferingPrice .retrieveProductOfferingPrice (id , null );
35- } catch (it .eng .dome .tmforum .tmf620 .v4 .ApiException e ) {
36- logger .error (e .getMessage ());
37- return null ;
38- }
33+ logger .info ("Get ProductOfferingPrice by Id: {}" , id );
34+ return productOfferingPrice .getProductOfferingPrice (id , null );
3935 }
4036}
You can’t perform that action at this time.
0 commit comments