* Fix for Issue##549
Catch ClientProtocolException and Update Error Logs
* Fix indentation, checkstyle errors
* Fix for Issue #549
Add fallbacks in Aggregator service when other microservices fail
* Make ProductInventoryClientImpl return null instead of zero in case of failure
* Using static object to reduce memory foot prints
* Updating README along with name of static fields
* Updating code as per review comments
* Updating code as per review comments
* Updating doc as per new code
* local variable type inference changes
local variable type inference changes for thread pool design pattern
* local variable type inference changes
local variable type inference changes for ThreadPool design pattern
* local variable type inference changes
replacing type with var
* the type changed back to String
since it is initializing to null and later having different value, it is throwing error in Travis-CI. Made changes.
* Add custom license header style in order to comply with Google's Checkstyle format
* Update license headers to comply with Google's Checkstyle format
* "visitor" pattern: Use local variable type inference
Update "visitor" pattern with local variable type inference.
* "value-object" pattern: Use local variable type inference
Update "value-object" pattern with local variable type inference.
* "unit-of-work" pattern: Use local variable type inference
Update "value-object" pattern with local variable type inference.
* "typeobjectpattern" pattern: Use local variable type inference
Update "value-object" pattern with local variable type inference.
* Basic implementation
* implement double buffer
* add unit test
* add unit test
* Add Readme
* Change local value declaration to var
* Remove unused fields
The two remaining files were still creating a Random everytime the method
was called. These were missed in the previous commit because the previous
commit had fixed only one of the methods; in other words, there were
multiple methods that were creating the Random object on each call.
* 1011: Added SuppressWarnings for SonarCloud errors
All of these files are causing SonarCloud to report the following error:
Loops should not be infinite
Since these instances all require an infinite loop that will never end,
these warnings should be disabled so that SonarCloud no longer reports
them as error.
The rule is: squid:S2189
* 1011: Made all of the randoms static and final
According to SonarCloud rule: "Random" objects should be reused, randoms
should not be recreated. This commit has taken all of the Randoms and made
them constant variables in the files that are using them.