{"action":"created","issue":{"url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/218","repository_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre","labels_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/218/comments","events_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/218/events","html_url":"https://github.com/WiproOpenSourcePractice/openbdre/pull/218","id":140955494,"number":218,"title":"Code quality correction in Flume HDFS Sink BDRE-209","user":{"login":"mdfarooque","id":16701238,"avatar_url":"https://avatars.githubusercontent.com/u/16701238?v=3","gravatar_id":"","url":"https://api.github.com/users/mdfarooque","html_url":"https://github.com/mdfarooque","followers_url":"https://api.github.com/users/mdfarooque/followers","following_url":"https://api.github.com/users/mdfarooque/following{/other_user}","gists_url":"https://api.github.com/users/mdfarooque/gists{/gist_id}","starred_url":"https://api.github.com/users/mdfarooque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdfarooque/subscriptions","organizations_url":"https://api.github.com/users/mdfarooque/orgs","repos_url":"https://api.github.com/users/mdfarooque/repos","events_url":"https://api.github.com/users/mdfarooque/events{/privacy}","received_events_url":"https://api.github.com/users/mdfarooque/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T12:14:00Z","updated_at":"2016-03-16T13:12:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/218","html_url":"https://github.com/WiproOpenSourcePractice/openbdre/pull/218","diff_url":"https://github.com/WiproOpenSourcePractice/openbdre/pull/218.diff","patch_url":"https://github.com/WiproOpenSourcePractice/openbdre/pull/218.patch"},"body":"Code quality correction in Flume HDFS Sink part 1 in which blockers has been solved"},"comment":{"url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/comments/197320858","html_url":"https://github.com/WiproOpenSourcePractice/openbdre/pull/218#issuecomment-197320858","issue_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/218","id":197320858,"user":{"login":"bdre-bda","id":13850135,"avatar_url":"https://avatars.githubusercontent.com/u/13850135?v=3","gravatar_id":"","url":"https://api.github.com/users/bdre-bda","html_url":"https://github.com/bdre-bda","followers_url":"https://api.github.com/users/bdre-bda/followers","following_url":"https://api.github.com/users/bdre-bda/following{/other_user}","gists_url":"https://api.github.com/users/bdre-bda/gists{/gist_id}","starred_url":"https://api.github.com/users/bdre-bda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdre-bda/subscriptions","organizations_url":"https://api.github.com/users/bdre-bda/orgs","repos_url":"https://api.github.com/users/bdre-bda/repos","events_url":"https://api.github.com/users/bdre-bda/events{/privacy}","received_events_url":"https://api.github.com/users/bdre-bda/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T13:12:53Z","updated_at":"2016-03-16T13:12:53Z","body":"SonarQube analysis reported 71 issues:\n* ![CRITICAL](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-critical.png) 7 critical\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) 29 major\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) 34 minor\n* ![INFO](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-info.png) 1 info\n\nWatch the comments in this conversation to review them.\nNote: the following issues could not be reported as comments because they are located on lines that are not displayed in this pull request:\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Refactor this method to throw at most one checked exception instead of: java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/AbstractHDFSWriter.java#L159) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AS1160)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [The type of the \"codecStrs\" object should be an interface such as \"List\" rather than the implementation \"ArrayList\".](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/BDREHDFSEventSink.java#L322) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AS1319)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Override this superclass' \"equals\" method.](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/BDREHDFSEventSink.java#L139) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AS2160)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Move the \"None\" string literal on the left side of this string comparison.](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/BDREHDFSEventSink.java#L338) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AS1132)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [The Cyclomatic Complexity of this method \"process\" is 17 which is greater than 10 authorized.](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/BDREHDFSEventSink.java#L359) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AMethodCyclomaticComplexity)\n* ![CRITICAL](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-critical.png) [Either log or rethrow this exception.](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/BDREHDFSEventSink.java#L412) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AS1166)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Add the \"@Override\" annotation above this method signature](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/BDREHDFSEventSink.java#L359) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AS1161)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Move the \"second\" string literal on the left side of this string comparison.](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/BDREHDFSEventSink.java#L268) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AS1132)\n* ![INFO](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-info.png) [Complete the task associated to this TODO comment.](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/BDREHDFSEventSink.java#L235) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AS1135)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Rename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.](https://github.com/WiproOpenSourcePractice/openbdre/blob/523e075e5b2c1f1d27c0b7ae6fd7f0945e41887f/flume-hdfs-sink/src/main/java/com/wipro/ats/bdre/flume/sink/hdfs/BDREHDFSEventSink.java#L63) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AS00115)\n* ... 54 more\n"}}