Subversion Repositories SmartDukaan

Rev

Rev 5591 | Rev 5945 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5591 Rev 5616
Line 93... Line 93...
93
            Client purchaseClient = new PurchaseClient().getClient();
93
            Client purchaseClient = new PurchaseClient().getClient();
94
            supplier = purchaseClient.addSupplier(supplier);
94
            supplier = purchaseClient.addSupplier(supplier);
95
            
95
            
96
            in.shop2020.model.v1.catalog.InventoryService.Client catalogStagingClient = new CatalogClient(ConfigClientKeys.catalog_service_server_host_prod.toString(),
96
            in.shop2020.model.v1.catalog.InventoryService.Client catalogStagingClient = new CatalogClient(ConfigClientKeys.catalog_service_server_host_prod.toString(),
97
                    ConfigClientKeys.catalog_service_server_port.toString()).getClient();
97
                    ConfigClientKeys.catalog_service_server_port.toString()).getClient();
98
            catalogStagingClient = new CatalogClient().getClient();
-
 
99
            Vendor vendor = new Vendor();
98
            Vendor vendor = new Vendor();
100
            vendor.setId(supplier.getId());
99
            vendor.setId(supplier.getId());
101
            vendor.setName(name);
100
            vendor.setName(name);
102
            catalogStagingClient.addVendor(vendor);
101
            catalogStagingClient.addVendor(vendor);
103
            Warehouse billingWarehouse = catalogStagingClient.getWarehouse(PurchaseOrderController.WAREHOUSE_ID);
102
            Warehouse billingWarehouse = catalogStagingClient.getWarehouse(PurchaseOrderController.WAREHOUSE_ID);