{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/comments/42798134","id":42798134,"diff_hunk":"@@ -1220,49 +1223,275 @@ static bool addTriggeredSubscriptions\n   //\n   // Now, take the 'patterned subscriptions' from the Subscription Cache and add more TriggeredSubscription to subs\n   //\n-  std::vector<Subscription*> subVec;\n \n-  subCache->lookup(tenant, servicePath, entityId, entityType, attr, &subVec);\n+  std::vector<CachedSubscription*> subVec;\n+\n+  mongoSubCacheMatch(tenant.c_str(), servicePath.c_str(), entityId.c_str(), entityType.c_str(), attr.c_str(), &subVec);\n \n   int now = getCurrentTime();\n   for (unsigned int ix = 0; ix < subVec.size(); ++ix)\n   {\n-    Subscription* sP = subVec[ix];\n-\n-    sP->pendingNotifications += 1;\n+    CachedSubscription* cSubP = subVec[ix];\n \n     // Outdated subscriptions are skipped\n-    if (sP->expirationTime < now)\n+    if (cSubP->expirationTime < now)\n     {\n       continue;\n     }\n \n     AttributeList aList;\n \n-    aList.fill(sP->attributes);\n+    aList.fill(cSubP->attributes);\n \n     // Throttling\n-    if ((sP->throttling != -1) && (sP->lastNotificationTime != -1))\n+    if ((cSubP->throttling != -1) && (cSubP->lastNotificationTime != 0))\n     {\n-      if ((now - sP->lastNotificationTime) < sP->throttling)\n+      if ((now - cSubP->lastNotificationTime) < cSubP->throttling)\n       {\n+        LM_T(LmtMongoSubCache, (\"subscription '%s' ignored due to throttling\", cSubP->subscriptionId));\n         continue;\n       }\n+      else\n+      {\n+        cSubP->pendingNotifications += 1;\n+\n+        LM_T(LmtMongoSubCache, (\"subscription '%s' NOT ignored due to throttling (T: %lu, LNT: %lu, NOW: %lu, NOW-LNT: %lu, T: %lu)\",\n+                                cSubP->subscriptionId,\n+                                cSubP->throttling,\n+                                cSubP->lastNotificationTime,\n+                                now,\n+                                now - cSubP->lastNotificationTime,\n+                                cSubP->throttling));\n+      }\n+    }\n+    else\n+    {\n+      cSubP->pendingNotifications += 1;\n+\n+      LM_T(LmtMongoSubCache, (\"subscription '%s' NOT ignored due to throttling II (T: %lu, LNT: %lu, NOW: %lu, NOW-LNT: %lu, T: %lu)\",\n+                              cSubP->subscriptionId,\n+                              cSubP->throttling,\n+                              cSubP->lastNotificationTime,\n+                              now,\n+                              now - cSubP->lastNotificationTime,\n+                              cSubP->throttling));\n     }\n \n-    TriggeredSubscription* sub = new TriggeredSubscription((long long) sP->throttling,\n-                                                           (long long) sP->lastNotificationTime,\n-                                                           sP->format,\n-                                                           sP->reference.get(),\n+    TriggeredSubscription* sub = new TriggeredSubscription((long long) cSubP->throttling,\n+                                                           (long long) cSubP->lastNotificationTime,\n+                                                           cSubP->notifyFormat,\n+                                                           cSubP->reference,\n                                                            aList,\n-                                                           sP);\n-    subs.insert(std::pair<string, TriggeredSubscription*>(sP->subscriptionId, sub));\n+                                                           cSubP->subscriptionId,\n+                                                           cSubP->tenant);\n+    subs.insert(std::pair<string, TriggeredSubscription*>(cSubP->subscriptionId, sub));\n   }\n \n   return true;\n }\n \n \n+\n+/* ****************************************************************************\n+*\n+* addTriggeredSubscriptions_noCache\n+*\n+* Recovered almost verbatim from release 0.23.0\n+*/\n+static bool addTriggeredSubscriptions_noCache\n+(\n+  std::string                               entityId,\n+  std::string                               entityType,\n+  std::string                               attr,\n+  std::map<string, TriggeredSubscription*>& subs,\n+  std::string&                              err,\n+  std::string                               tenant,\n+  const std::vector<std::string>&           servicePathV\n+)\n+{\n+  DBClientBase*             connection      = NULL;\n+  std::string               servicePath     = (servicePathV.size() > 0)? servicePathV[0] : \"\";\n+  std::string               spathRegex      = \"\";\n+  std::vector<std::string>  spathV;\n+\n+\n+  //\n+  // Create the REGEX for the Service Path\n+  //\n+  spathRegex = servicePathSubscriptionRegex(servicePath, spathV);\n+  spathRegex = std::string(\"/\") + spathRegex + \"/\";\n+\n+\n+  /* Build query */\n+  std::string entIdQ       = CSUB_ENTITIES   \".\" CSUB_ENTITY_ID;\n+  std::string entTypeQ     = CSUB_ENTITIES   \".\" CSUB_ENTITY_TYPE;\n+  std::string entPatternQ  = CSUB_ENTITIES   \".\" CSUB_ENTITY_ISPATTERN;\n+  std::string condTypeQ    = CSUB_CONDITIONS \".\" CSUB_CONDITIONS_TYPE;\n+  std::string condValueQ   = CSUB_CONDITIONS \".\" CSUB_CONDITIONS_VALUE;\n+  std::string inRegex      = \"{ $in: [ \" + spathRegex + \", null ] }\";\n+  BSONObj     spBson       = fromjson(inRegex);\n+\n+  /* Note the $or on entityType, to take into account matching in subscriptions with no entity type */\n+  BSONObj queryNoPattern = BSON(\n+                entIdQ << entityId <<\n+                \"$or\" << BSON_ARRAY(\n+                    BSON(entTypeQ << entityType) <<\n+                    BSON(entTypeQ << BSON(\"$exists\" << false))) <<\n+                entPatternQ << \"false\" <<\n+                condTypeQ << ON_CHANGE_CONDITION <<\n+                condValueQ << attr <<\n+                CSUB_EXPIRATION   << BSON(\"$gt\" << (long long) getCurrentTime()) <<\n+                CSUB_SERVICE_PATH << spBson);\n+\n+  /* This is JavaScript code that runs in MongoDB engine. As far as I know, this is the only\n+   * way to do a \"reverse regex\" query in MongoDB (see\n+   * http://stackoverflow.com/questions/15966991/mongodb-reverse-regex/15989520).\n+   * Note that although we are using a isPattern=true in the MongoDB query besides $where, we\n+   * also need to check that in the if statement in the JavaScript function given that a given\n+   * sub document could include both isPattern=true and isPattern=false documents */\n+  std::string function = std::string(\"function()\") +\n+         \"{\" +\n+            \"for (var i=0; i < this.\"+CSUB_ENTITIES+\".length; i++) {\" +\n+                \"if (this.\"+CSUB_ENTITIES+\"[i].\"+CSUB_ENTITY_ISPATTERN+\" == \\\"true\\\" && \" +\n+                    \"(this.\"+CSUB_ENTITIES+\"[i].\"+CSUB_ENTITY_TYPE+\" == \\\"\"+entityType+\"\\\" || \" +\n+                        \"this.\"+CSUB_ENTITIES+\"[i].\"+CSUB_ENTITY_TYPE+\" == \\\"\\\" || \" +\n+                        \"!(\\\"\"+CSUB_ENTITY_TYPE+\"\\\" in this.\"+CSUB_ENTITIES+\"[i])) && \" +\n+                    \"\\\"\"+entityId+\"\\\".match(this.\"+CSUB_ENTITIES+\"[i].\"+CSUB_ENTITY_ID+\")) {\" +\n+                    \"return true; \" +\n+                \"}\" +\n+            \"}\" +\n+            \"return false; \" +\n+         \"}\";\n+  LM_T(LmtMongo, (\"JS function: %s\", function.c_str()));\n+\n+  BSONObjBuilder  queryPattern;\n+\n+  queryPattern.append(entPatternQ, \"true\");\n+  queryPattern.append(condTypeQ, ON_CHANGE_CONDITION);\n+  queryPattern.append(condValueQ, attr);\n+  queryPattern.append(CSUB_EXPIRATION, BSON(\"$gt\" << (long long) getCurrentTime()));\n+  queryPattern.append(CSUB_SERVICE_PATH, spBson);\n+  queryPattern.appendCode(\"$where\", function);\n+\n+  // FIXME: condTypeQ, condValueQ and servicePath part could be \"factorized\" out of the $or clause\n+  BSONObj query = BSON(\"$or\" << BSON_ARRAY(queryNoPattern << queryPattern.obj()));\n+\n+  LM_T(LmtMongo, (\"query() in '%s' collection: '%s'\",\n+                  getSubscribeContextCollectionName(tenant).c_str(),\n+                  query.toString().c_str()));\n+\n+  /* Do the query */\n+  auto_ptr<DBClientCursor> cursor;\n+  try\n+  {\n+    connection      = getMongoConnection();\n+    cursor = connection->query(getSubscribeContextCollectionName(tenant).c_str(), query);","path":"src/lib/mongoBackend/MongoCommonUpdate.cpp","position":232,"original_position":232,"commit_id":"07e7a8821ce0951e3c383ed4b8bbb8e0c092a434","original_commit_id":"07e7a8821ce0951e3c383ed4b8bbb8e0c092a434","user":{"login":"fgalan","id":1534240,"avatar_url":"https://avatars.githubusercontent.com/u/1534240?v=3","gravatar_id":"","url":"https://api.github.com/users/fgalan","html_url":"https://github.com/fgalan","followers_url":"https://api.github.com/users/fgalan/followers","following_url":"https://api.github.com/users/fgalan/following{/other_user}","gists_url":"https://api.github.com/users/fgalan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgalan/subscriptions","organizations_url":"https://api.github.com/users/fgalan/orgs","repos_url":"https://api.github.com/users/fgalan/repos","events_url":"https://api.github.com/users/fgalan/events{/privacy}","received_events_url":"https://api.github.com/users/fgalan/received_events","type":"User","site_admin":false},"body":"\r\n\r\nThis is no longer the way of accesing DB... Please have a look to the methods in the connectionOperations.cpp/h\r\n","created_at":"2015-10-22T20:00:11Z","updated_at":"2015-10-22T20:00:11Z","html_url":"https://github.com/telefonicaid/fiware-orion/pull/1402#discussion_r42798134","pull_request_url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1402","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/comments/42798134"},"html":{"href":"https://github.com/telefonicaid/fiware-orion/pull/1402#discussion_r42798134"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1402"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1402","id":48496479,"html_url":"https://github.com/telefonicaid/fiware-orion/pull/1402","diff_url":"https://github.com/telefonicaid/fiware-orion/pull/1402.diff","patch_url":"https://github.com/telefonicaid/fiware-orion/pull/1402.patch","issue_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1402","number":1402,"state":"open","locked":false,"title":"Hardening/sub cache in 24 to develop","user":{"login":"kzangeli","id":5338380,"avatar_url":"https://avatars.githubusercontent.com/u/5338380?v=3","gravatar_id":"","url":"https://api.github.com/users/kzangeli","html_url":"https://github.com/kzangeli","followers_url":"https://api.github.com/users/kzangeli/followers","following_url":"https://api.github.com/users/kzangeli/following{/other_user}","gists_url":"https://api.github.com/users/kzangeli/gists{/gist_id}","starred_url":"https://api.github.com/users/kzangeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzangeli/subscriptions","organizations_url":"https://api.github.com/users/kzangeli/orgs","repos_url":"https://api.github.com/users/kzangeli/repos","events_url":"https://api.github.com/users/kzangeli/events{/privacy}","received_events_url":"https://api.github.com/users/kzangeli/received_events","type":"User","site_admin":false},"body":"Merge of the sub cache fix in 0.24.0.\r\nThat and a few fixes and tweaks ...","created_at":"2015-10-22T18:46:20Z","updated_at":"2015-10-22T20:00:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02937539b93ad31d123d4a172d753fd5972b85f9","assignee":{"login":"fgalan","id":1534240,"avatar_url":"https://avatars.githubusercontent.com/u/1534240?v=3","gravatar_id":"","url":"https://api.github.com/users/fgalan","html_url":"https://github.com/fgalan","followers_url":"https://api.github.com/users/fgalan/followers","following_url":"https://api.github.com/users/fgalan/following{/other_user}","gists_url":"https://api.github.com/users/fgalan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgalan/subscriptions","organizations_url":"https://api.github.com/users/fgalan/orgs","repos_url":"https://api.github.com/users/fgalan/repos","events_url":"https://api.github.com/users/fgalan/events{/privacy}","received_events_url":"https://api.github.com/users/fgalan/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/milestones/18","html_url":"https://github.com/telefonicaid/fiware-orion/milestones/0.25.0","labels_url":"https://api.github.com/repos/telefonicaid/fiware-orion/milestones/18/labels","id":1248196,"number":18,"title":"0.25.0","description":"","creator":{"login":"fgalan","id":1534240,"avatar_url":"https://avatars.githubusercontent.com/u/1534240?v=3","gravatar_id":"","url":"https://api.github.com/users/fgalan","html_url":"https://github.com/fgalan","followers_url":"https://api.github.com/users/fgalan/followers","following_url":"https://api.github.com/users/fgalan/following{/other_user}","gists_url":"https://api.github.com/users/fgalan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgalan/subscriptions","organizations_url":"https://api.github.com/users/fgalan/orgs","repos_url":"https://api.github.com/users/fgalan/repos","events_url":"https://api.github.com/users/fgalan/events{/privacy}","received_events_url":"https://api.github.com/users/fgalan/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":50,"state":"open","created_at":"2015-08-10T13:53:31Z","updated_at":"2015-10-22T18:46:20Z","due_on":"2015-10-30T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1402/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1402/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1402/comments","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-orion/statuses/07e7a8821ce0951e3c383ed4b8bbb8e0c092a434","head":{"label":"telefonicaid:hardening/subCache_in_24_to_develop","ref":"hardening/subCache_in_24_to_develop","sha":"07e7a8821ce0951e3c383ed4b8bbb8e0c092a434","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":12808420,"name":"fiware-orion","full_name":"telefonicaid/fiware-orion","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-orion","description":"FIWARE Orion Context Broker","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-orion","forks_url":"https://api.github.com/repos/telefonicaid/fiware-orion/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-orion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-orion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-orion/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-orion/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-orion/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-orion/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-orion/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-orion/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-orion/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-orion/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-orion/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-orion/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-orion/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-orion/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-orion/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-orion/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-orion/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-orion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-orion/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-orion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-orion/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-orion/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-orion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-orion/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-orion/releases{/id}","created_at":"2013-09-13T11:55:25Z","updated_at":"2015-10-14T15:22:16Z","pushed_at":"2015-10-22T18:46:21Z","git_url":"git://github.com/telefonicaid/fiware-orion.git","ssh_url":"git@github.com:telefonicaid/fiware-orion.git","clone_url":"https://github.com/telefonicaid/fiware-orion.git","svn_url":"https://github.com/telefonicaid/fiware-orion","homepage":"http://catalogue.fiware.org/enablers/publishsubscribe-context-broker-orion-context-broker","size":29256,"stargazers_count":32,"watchers_count":32,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":43,"mirror_url":null,"open_issues_count":220,"forks":43,"open_issues":220,"watchers":32,"default_branch":"develop"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"f2ce84179ba382314c2f06b0007aa60809b0da5c","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":12808420,"name":"fiware-orion","full_name":"telefonicaid/fiware-orion","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-orion","description":"FIWARE Orion Context Broker","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-orion","forks_url":"https://api.github.com/repos/telefonicaid/fiware-orion/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-orion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-orion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-orion/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-orion/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-orion/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-orion/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-orion/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-orion/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-orion/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-orion/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-orion/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-orion/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-orion/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-orion/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-orion/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-orion/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-orion/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-orion/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-orion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-orion/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-orion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-orion/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-orion/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-orion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-orion/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-orion/releases{/id}","created_at":"2013-09-13T11:55:25Z","updated_at":"2015-10-14T15:22:16Z","pushed_at":"2015-10-22T18:46:21Z","git_url":"git://github.com/telefonicaid/fiware-orion.git","ssh_url":"git@github.com:telefonicaid/fiware-orion.git","clone_url":"https://github.com/telefonicaid/fiware-orion.git","svn_url":"https://github.com/telefonicaid/fiware-orion","homepage":"http://catalogue.fiware.org/enablers/publishsubscribe-context-broker-orion-context-broker","size":29256,"stargazers_count":32,"watchers_count":32,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":43,"mirror_url":null,"open_issues_count":220,"forks":43,"open_issues":220,"watchers":32,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1402"},"html":{"href":"https://github.com/telefonicaid/fiware-orion/pull/1402"},"issue":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1402"},"comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1402/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1402/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1402/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/statuses/07e7a8821ce0951e3c383ed4b8bbb8e0c092a434"}}}}