{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/comments/53279850","id":53279850,"diff_hunk":"@@ -315,47 +360,92 @@ public void configure(Context context) {\n             hiveHost = \"localhost\";\n             LOGGER.debug(\"[\" + this.getName() + \"] Defaulting to hive.host=localhost\");\n         } // if else\n-        \n+\n         String hivePortOld = context.getString(\"hive_port\");\n         String hivePortNew = context.getString(\"hive.port\");\n-        \n+        int intHivePort;\n+\n         if (hivePortNew != null && hivePortNew.length() > 0) {\n             hivePort = hivePortNew;\n-            LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive.port=\" + hivePort + \")\");\n+            intHivePort = Integer.parseInt(hivePort);\n+            if ((intHivePort <= 0) && (intHivePort > 65535)) {\n+                invalidConfiguration = true;\n+                LOGGER.debug(\"[\" + this.getName() + \"] Invalid configuration (hive.port=\" + hivePort\n+                        + \") -- Must be between 0 and 65535\");\n+            } else {\n+                LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive.port=\" + hivePort + \")\");\n+            }  // if else\n         } else if (hivePortOld != null && hivePortOld.length() > 0) {\n             hivePort = hivePortOld;\n-            LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive_port=\" + hivePort + \")\"\n-                    + \" -- DEPRECATED, use hive.port instead\");\n+            intHivePort = Integer.parseInt(hivePort);\n+            if ((intHivePort <= 0) && (intHivePort > 65535)) {\n+                invalidConfiguration = true;\n+                LOGGER.debug(\"[\" + this.getName() + \"] Invalid configuration (hive_port=\" + hivePort + \")\"\n+                    + \" -- Must be between 0 and 65535 -- DEPRECATED, use hive.port instead\");\n+            } else {\n+                LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive_port=\" + hivePort + \")\"\n+                        + \" -- DEPRECATED, use hive.port instead\");\n+            }  // else if\n         } else {\n             hivePort = \"10000\";\n             LOGGER.debug(\"[\" + this.getName() + \"] Defaulting to hive.port=10000\");\n         } // if else\n-        \n+\n         String hiveServerVersionOld = context.getString(\"hive_server_version\");\n         String hiveServerVersionNew = context.getString(\"hive.server_version\");\n-        \n+\n         if (hiveServerVersionNew != null && hiveServerVersionNew.length() > 0) {\n             hiveServerVersion = hiveServerVersionNew;\n-            LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive.server_version=\" + hiveServerVersion\n+            if ((hiveServerVersion.equals(\"1\")) || (hiveServerVersion.equals(\"2\"))) {\n+                LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive.server_version=\" + hiveServerVersion\n                     + \")\");\n+            } else {\n+                invalidConfiguration = true;\n+                LOGGER.debug(\"[\" + this.getName() + \"] Invalid configuration (hive.server_version=\" + hiveServerVersion\n+                    + \") -- Must be '1' for HiveServer1 or '2' for HiveServer2\");\n+            }  // if else\n         } else if (hiveServerVersionOld != null && hiveServerVersionOld.length() > 0) {\n             hiveServerVersion = hiveServerVersionOld;\n-            LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive_server_version=\" + hiveServerVersion\n+            if (hiveServerVersion.equals(\"1\") || hiveServerVersion.equals(\"2\")) {\n+                LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive_server_version=\" + hiveServerVersion\n                     + \")\"\n                     + \" -- DEPRECATED, use hive.server_version instead\");\n+            } else {\n+                invalidConfiguration = true;\n+                LOGGER.debug(\"[\" + this.getName() + \"] Invalid configuration (hive_server_version=\" + hiveServerVersion\n+                    + \") -- Must be '1' for HiveServer1 or '2' for HiveServer2\"\n+                    + \" -- DEPRECATED, use hive.server_version instead\");\n+            }  // if else\n         } else {\n             hiveServerVersion = \"2\";\n             LOGGER.debug(\"[\" + this.getName() + \"] Defaulting to hive.server_version=2\");\n         } // if else\n+\n+        String hiveDBTypeStr = context.getString(\"hive.db_type\");\n         \n-        String hiveDBTypeStr = context.getString(\"hive.db_type\", \"default-db\");\n-        hiveDBType = HiveDBType.valueOf(hiveDBTypeStr.replaceAll(\"-\", \"\").toUpperCase());\n-        LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive.db_type=\" + hiveDBTypeStr);\n-        \n+        try {\n+            hiveDBType = HiveDBType.valueOf(hiveDBTypeStr.replaceAll(\"-\", \"\").toUpperCase());\n+            LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (hive.db_type=\" \n+                    + hiveDBType);\n+        } catch (Exception e) {\n+            invalidConfiguration = true;\n+            LOGGER.debug(\"[\" + this.getName() + \"] Invalid configuration (hive.db_type=\"\n+                + hiveDBTypeStr + \") -- Must be 'default-db' or 'namespace-db'\");\n+        }  // try catch\n+\n         // Kerberos configuration\n-        enableKrb5 = context.getBoolean(\"krb5_auth\", false);\n-        LOGGER.debug(\"[\" + this.getName() + \"] Reading configuration (krb5_auth=\" + (enableKrb5 ? \"true\" : \"false\")\n-                + \")\");\n+        String enableKrb5Str = context.getString(\"krb5_auth\");\n+        \n+        if (enableKrb5Str.equals(\"true\") || enableKrb5Str.equals(\"false\")) {\n+            enableKrb5 = Boolean.valueOf(enableKrb5Str);","path":"src/main/java/com/telefonica/iot/cygnus/sinks/OrionHDFSSink.java","position":408,"original_position":397,"commit_id":"8e34b74245b65f3382879885baf89a95231d74c4","original_commit_id":"47d4d26939a3efdaa0a89864a16c858a81799aec","user":{"login":"pcoello25","id":15360342,"avatar_url":"https://avatars.githubusercontent.com/u/15360342?v=3","gravatar_id":"","url":"https://api.github.com/users/pcoello25","html_url":"https://github.com/pcoello25","followers_url":"https://api.github.com/users/pcoello25/followers","following_url":"https://api.github.com/users/pcoello25/following{/other_user}","gists_url":"https://api.github.com/users/pcoello25/gists{/gist_id}","starred_url":"https://api.github.com/users/pcoello25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcoello25/subscriptions","organizations_url":"https://api.github.com/users/pcoello25/orgs","repos_url":"https://api.github.com/users/pcoello25/repos","events_url":"https://api.github.com/users/pcoello25/events{/privacy}","received_events_url":"https://api.github.com/users/pcoello25/received_events","type":"User","site_admin":false},"body":"Fixed in 8e34b74","created_at":"2016-02-18T07:37:33Z","updated_at":"2016-02-18T07:37:33Z","html_url":"https://github.com/telefonicaid/fiware-cygnus/pull/786#discussion_r53279850","pull_request_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/786","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/comments/53279850"},"html":{"href":"https://github.com/telefonicaid/fiware-cygnus/pull/786#discussion_r53279850"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/786"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/786","id":59342009,"html_url":"https://github.com/telefonicaid/fiware-cygnus/pull/786","diff_url":"https://github.com/telefonicaid/fiware-cygnus/pull/786.diff","patch_url":"https://github.com/telefonicaid/fiware-cygnus/pull/786.patch","issue_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/786","number":786,"state":"open","locked":false,"title":"hardening/752_check_for_input_parameters_validity","user":{"login":"pcoello25","id":15360342,"avatar_url":"https://avatars.githubusercontent.com/u/15360342?v=3","gravatar_id":"","url":"https://api.github.com/users/pcoello25","html_url":"https://github.com/pcoello25","followers_url":"https://api.github.com/users/pcoello25/followers","following_url":"https://api.github.com/users/pcoello25/following{/other_user}","gists_url":"https://api.github.com/users/pcoello25/gists{/gist_id}","starred_url":"https://api.github.com/users/pcoello25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcoello25/subscriptions","organizations_url":"https://api.github.com/users/pcoello25/orgs","repos_url":"https://api.github.com/users/pcoello25/repos","events_url":"https://api.github.com/users/pcoello25/events{/privacy}","received_events_url":"https://api.github.com/users/pcoello25/received_events","type":"User","site_admin":false},"body":"* Fix issue https://github.com/telefonicaid/fiware-cygnus/issues/752\r\n* 100% unit test:\r\n```\r\nResults : Tests run: 88, Failures: 0, Errors: 0, Skipped: 0\r\n```\r\n* (unofficial) e2e tests passed :\r\nAll unofficial tests use a bad-configured agent with wrong parameters.\r\n\r\n`OrionMySqlSink` (Checking `mysql_port`, `attr_persistence`, `data_model`, `batch_size`, `batch_timeout`):\r\n```\r\ntime=2016-02-15T11:17:01.143CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionMySQLSink[120] : [mysql-sink] Invalid configuration (mysql_port=65537) must be between 0 and 65535\r\ntime=2016-02-15T11:17:01.144CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionMySQLSink[137] : [mysql-sink] Invalid configuration (attr_persistence=rowlum) must be 'row' or 'column'\r\ntime=2016-02-15T11:17:01.145CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[163] : [mysql-sink] Invalid configuration (data_model=dm-by-entitry)\r\ntime=2016-02-15T11:17:01.151CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[174] : [mysql-sink] Invalid configuration (batch_size=0) must be upper than 0\r\ntime=2016-02-15T11:17:01.151CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[183] : [mysql-sink] Invalid configuration (batch_timeout=0) must be upper than 0\r\ntime=2016-02-15T11:17:01.223CET | lvl=INFO | trans= | srv= | subsrv= | function=start | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[196] : [mysql-sink] Startup completed. Nevertheless, there are errors in the configuration, thus this sink will not run the expected logic\r\n```\r\n`OrionCKANSink` (Checking `ckan_port`, `attr_persistence`, `data_model`, `batch_size`, `batch_timeout`): \r\n```\r\ntime=2016-02-15T11:19:40.813CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionCKANSink[124] : [ckan-sink] Invalid configuration (ckan_port=100000) must be between 0 and 65535\r\ntime=2016-02-15T11:19:40.813CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionCKANSink[138] : [ckan-sink] Invalid configuration (attr_persistence=frow) must be 'row' or 'column'\r\ntime=2016-02-15T11:19:40.828CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[163] : [ckan-sink] Invalid configuration (data_model=dm-by-sentity)\r\ntime=2016-02-15T11:19:40.829CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[174] : [ckan-sink] Invalid configuration (batch_size=-8) must be upper than 0\r\ntime=2016-02-15T11:19:40.829CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[183] : [ckan-sink] Invalid configuration (batch_timeout=-1) must be upper than 0\r\ntime=2016-02-15T11:19:41.245CET | lvl=INFO | trans= | srv= | subsrv= | function=start | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[196] : [ckan-sink] Startup completed. Nevertheless, there are errors in the configuration, thus this sink will not run the expected logic\r\n```\r\n`OrionDynamoDBSink` (Checking `attr_persistence`, `data_model`, `batch_size`, `batch_timeout`):\r\n```\r\ntime=2016-02-15T11:24:18.078CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionDynamoDBSink[87] : [dynamodb-sink] Invalid configuration (attr_persistence=strow) must be 'row' or 'column'\r\ntime=2016-02-15T11:24:18.079CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[163] : [dynamodb-sink] Invalid configuration (data_model=dm-by-frentity)\r\ntime=2016-02-15T11:24:18.084CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[174] : [dynamodb-sink] Invalid configuration (batch_size=-12) must be upper than 0\r\ntime=2016-02-15T11:24:18.085CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[183] : [dynamodb-sink] Invalid configuration (batch_timeout=0) must be upper than 0\r\ntime=2016-02-15T11:24:18.934CET | lvl=INFO | trans= | srv= | subsrv= | function=start | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[196] : [dynamodb-sink] Startup completed. Nevertheless, there are errors in the configuration, thus this sink will not run the expected logic\r\n```\r\n`OrionKafkaSink` (Checking `partitions`, `replication_factor`, `attr_persistence`, `data_model`, `batch_size`, `batch_timeout`): \r\n```\r\ntime=2016-02-15T11:28:23.539CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionKafkaSink[101] : [kafka-sink] Invalid configuration (partitions=0) must be upper than 0\r\ntime=2016-02-15T11:28:23.540CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionKafkaSink[104] : [kafka-sink] Invalid configuration (replication_factor=0) must be upper than 0\r\ntime=2016-02-15T11:28:23.541CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[163] : [kafka-sink] Invalid configuration (data_model=dm-by-frentity)\r\ntime=2016-02-15T11:28:23.541CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[174] : [kafka-sink] Invalid configuration (batch_size=0) must be upper than 0\r\ntime=2016-02-15T11:28:23.546CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[183] : [kafka-sink] Invalid configuration (batch_timeout=0) must be upper than 0\r\ntime=2016-02-15T11:28:23.891CET | lvl=INFO | trans= | srv= | subsrv= | function=start | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[196] : [kafka-sink] Startup completed. Nevertheless, there are errors in the configuration, thus this sink will not run the expected logic\r\n```\r\n`OrionMongoSink` (Checking `attr_persistence`, `data_model`, `batch_size`, `batch_timeout`):\r\n```\r\ntime=2016-02-15T11:40:19.404CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionMongoBaseSink[132] : [mongo-sink] Invalid configuration (attr_persistence=crow) must be 'row' or 'column'\r\ntime=2016-02-15T11:40:19.405CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[163] : [mongo-sink] Invalid configuration (data_model=dm-by-sentity)\r\ntime=2016-02-15T11:40:19.406CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[174] : [mongo-sink] Invalid configuration (batch_size=0) must be upper than 0\r\ntime=2016-02-15T11:40:19.406CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[183] : [mongo-sink] Invalid configuration (batch_timeout=0) must be upper than 0\r\ntime=2016-02-15T11:40:19.478CET | lvl=INFO | trans= | srv= | subsrv= | function=start | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[196] : [mongo-sink] Startup completed. Nevertheless, there are errors in the configuration, thus this sink will not run the expected logic\r\n```\r\n`OrionSTHSink` (Checking `attr_persistence`, `data_model`, `batch_size`, `batch_timeout`):\r\n```\r\ntime=2016-02-15T11:50:01.346CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionMongoBaseSink[134] : [sth-sink] Invalid configuration (attr_persistence=null) must be 'row' or 'column'\r\ntime=2016-02-15T11:50:01.347CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[163] : [sth-sink] Invalid configuration (data_model=dm-by-afrentity)\r\ntime=2016-02-15T11:50:01.347CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[174] : [sth-sink] Invalid configuration (batch_size=0) must be upper than 0\r\ntime=2016-02-15T11:50:01.348CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[183] : [sth-sink] Invalid configuration (batch_timeout=0) must be upper than 0\r\ntime=2016-02-15T11:50:01.428CET | lvl=INFO | trans= | srv= | subsrv= | function=start | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[196] : [sth-sink] Startup completed. Nevertheless, there are errors in the configuration, thus this sink will not run the expected logic\r\n```\r\n`OrionHDFSSink` (Checking `hdfs_port`, `hive.server_version`, `data_model`, `batch_size`, `batch_timeout`):\r\n```\r\ntime=2016-02-15T11:58:13.031CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionHDFSSink[244] : [hdfs-sink] Invalid configuration (hdfs_port=100000) must be between 0 and 65535\r\ntime=2016-02-15T11:58:13.033CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionHDFSSink[374] : [hdfs-sink] Invalid configuration (hive.server_version=3) must be '1' for HiveServer1 or '2' for HiveServer2\r\ntime=2016-02-15T11:58:13.042CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[163] : [hdfs-sink] Invalid configuration (data_model=dm-by-frentity)\r\ntime=2016-02-15T11:58:13.043CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[174] : [hdfs-sink] Invalid configuration (batch_size=0) must be upper than 0\r\ntime=2016-02-15T11:58:13.044CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[183] : [hdfs-sink] Invalid configuration (batch_timeout=0) must be upper than 0\r\ntime=2016-02-15T11:58:13.395CET | lvl=INFO | trans= | srv= | subsrv= | function=start | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[196] : [hdfs-sink] Startup completed. Nevertheless, there are errors in the configuration, thus this sink will not run the expected logic\r\n```\r\n`OrionPostgreSQLSink` (Checking `postgresql_port`, `attr_persistence`, `data_model`, `batch_size`, `batch_timeout`):\r\n```\r\ntime=2016-02-15T12:31:37.408CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionPostgreSQLSink[129] : [postgresql-sink] Invalid configuration (postgresql_port=123306) must be between 0 and 65535\r\ntime=2016-02-15T12:31:37.422CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionPostgreSQLSink[148] : [postgresql-sink] Invalid configuration (attr_persistence=columnas) must be 'row' or 'column'\r\ntime=2016-02-15T12:31:37.423CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[163] : [postgresql-sink] Invalid configuration (data_model=dm-by-frentity)\r\ntime=2016-02-15T12:31:37.423CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[174] : [postgresql-sink] Invalid configuration (batch_size=0) must be upper than 0\r\ntime=2016-02-15T12:31:37.424CET | lvl=DEBUG | trans= | srv= | subsrv= | function=configure | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[183] : [postgresql-sink] Invalid configuration (batch_timeout=0) must be upper than 0\r\ntime=2016-02-15T12:31:37.579CET | lvl=INFO | trans= | srv= | subsrv= | function=start | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[196] : [postgresql-sink] Startup completed. Nevertheless, there are errors in the configuration, thus this sink will not run the expected logic\r\n```\r\n\r\n* Assignee @frbattid ","created_at":"2016-02-15T10:01:28Z","updated_at":"2016-02-18T07:37:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84fa2b9372e00aee60384aac6992ea4adb5ec751","assignee":{"login":"frbattid","id":3865056,"avatar_url":"https://avatars.githubusercontent.com/u/3865056?v=3","gravatar_id":"","url":"https://api.github.com/users/frbattid","html_url":"https://github.com/frbattid","followers_url":"https://api.github.com/users/frbattid/followers","following_url":"https://api.github.com/users/frbattid/following{/other_user}","gists_url":"https://api.github.com/users/frbattid/gists{/gist_id}","starred_url":"https://api.github.com/users/frbattid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frbattid/subscriptions","organizations_url":"https://api.github.com/users/frbattid/orgs","repos_url":"https://api.github.com/users/frbattid/repos","events_url":"https://api.github.com/users/frbattid/events{/privacy}","received_events_url":"https://api.github.com/users/frbattid/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/786/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/786/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/786/comments","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/statuses/8e34b74245b65f3382879885baf89a95231d74c4","head":{"label":"telefonicaid:hardening/752_check_for_input_parameters_validity","ref":"hardening/752_check_for_input_parameters_validity","sha":"8e34b74245b65f3382879885baf89a95231d74c4","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":16607947,"name":"fiware-cygnus","full_name":"telefonicaid/fiware-cygnus","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-cygnus","description":"FI-WARE connectors","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus","forks_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/releases{/id}","deployments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/deployments","created_at":"2014-02-07T07:57:41Z","updated_at":"2016-01-25T19:36:12Z","pushed_at":"2016-02-18T07:36:34Z","git_url":"git://github.com/telefonicaid/fiware-cygnus.git","ssh_url":"git@github.com:telefonicaid/fiware-cygnus.git","clone_url":"https://github.com/telefonicaid/fiware-cygnus.git","svn_url":"https://github.com/telefonicaid/fiware-cygnus","homepage":"","size":93644,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":71,"forks":17,"open_issues":71,"watchers":20,"default_branch":"master"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"ac7c4896fd921fe53108af716e562d0488573512","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":16607947,"name":"fiware-cygnus","full_name":"telefonicaid/fiware-cygnus","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-cygnus","description":"FI-WARE connectors","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus","forks_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/releases{/id}","deployments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/deployments","created_at":"2014-02-07T07:57:41Z","updated_at":"2016-01-25T19:36:12Z","pushed_at":"2016-02-18T07:36:34Z","git_url":"git://github.com/telefonicaid/fiware-cygnus.git","ssh_url":"git@github.com:telefonicaid/fiware-cygnus.git","clone_url":"https://github.com/telefonicaid/fiware-cygnus.git","svn_url":"https://github.com/telefonicaid/fiware-cygnus","homepage":"","size":93644,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":71,"forks":17,"open_issues":71,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/786"},"html":{"href":"https://github.com/telefonicaid/fiware-cygnus/pull/786"},"issue":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/786"},"comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/786/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/786/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/786/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/statuses/8e34b74245b65f3382879885baf89a95231d74c4"}}}}