{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/comments/36170890","id":36170890,"diff_hunk":"@@ -0,0 +1,1000 @@\n+/*\n+*\n+* Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U\n+*\n+* This file is part of Orion Context Broker.\n+*\n+* Orion Context Broker is free software: you can redistribute it and/or\n+* modify it under the terms of the GNU Affero General Public License as\n+* published by the Free Software Foundation, either version 3 of the\n+* License, or (at your option) any later version.\n+*\n+* Orion Context Broker is distributed in the hope that it will be useful,\n+* but WITHOUT ANY WARRANTY; without even the implied warranty of\n+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n+* General Public License for more details.\n+*\n+* You should have received a copy of the GNU Affero General Public License\n+* along with Orion Context Broker. If not, see http://www.gnu.org/licenses/.\n+*\n+* For those usages not covered by this license please contact with\n+* iot_support at tid dot es\n+*\n+* Author: Ken Zangelin\n+*/\n+#include <semaphore.h>\n+#include <regex.h>\n+#include <stdint.h>\n+#include <string>\n+#include <vector>\n+#include <time.h>\n+\n+#include \"logMsg/logMsg.h\"\n+\n+#include \"common/statistics.h\"\n+#include \"common/clockFunctions.h\"\n+\n+#include \"ngsi/Restriction.h\"\n+#include \"ngsi/Reference.h\"\n+#include \"ngsi/NotifyConditionVector.h\"\n+#include \"ngsi/EntityId.h\"\n+#include \"ngsi10/SubscribeContextRequest.h\"\n+#include \"ngsi10/UpdateContextSubscriptionRequest.h\"\n+#include \"mongoBackend/MongoGlobal.h\"\n+#include \"cache/SubscriptionCache.h\"\n+\n+\n+\n+namespace orion\n+{\n+\n+\n+/* ****************************************************************************\n+*\n+* subCache - global singleton for the subscription cache\n+*/\n+SubscriptionCache* subCache = NULL;\n+\n+\n+\n+/* ****************************************************************************\n+*\n+* subCacheMutexTime - \n+*/\n+static struct timespec subCacheMutexTime = { 0, 0 };\n+\n+\n+\n+/* ****************************************************************************\n+*\n+* subscriptionCacheInit - \n+*/\n+void subscriptionCacheInit(std::string dbName)\n+{\n+  subCache = new SubscriptionCache(dbName);\n+  subCache->init();\n+}\n+\n+\n+\n+/* ****************************************************************************\n+*\n+* subCacheMutexWaitingTimeGet - \n+*/\n+void subCacheMutexWaitingTimeGet(char* buf, int bufLen)\n+{\n+  if (semTimeStatistics)\n+  {\n+    snprintf(buf, bufLen, \"%lu.%09d\", subCacheMutexTime.tv_sec, (int) subCacheMutexTime.tv_nsec);\n+  }\n+  else\n+  {\n+    snprintf(buf, bufLen, \"Disabled\");\n+  }\n+}\n+\n+\n+\n+/* ****************************************************************************\n+*\n+* EntityInfo::EntityInfo - \n+*/\n+EntityInfo::EntityInfo(const std::string& idPattern, const std::string& _entityType)\n+{\n+  regcomp(&entityIdPattern, idPattern.c_str(), 0);\n+  entityType = _entityType;\n+}\n+\n+\n+\n+/* ****************************************************************************\n+*\n+* match - \n+*/\n+bool EntityInfo::match\n+(\n+  const std::string&  id,\n+  const std::string&  type\n+)\n+{\n+  //\n+  // If type non-empty - perfect match is mandatory\n+  // If type is empty - always matches\n+  //\n+  if ((type != \"\") && (entityType != type))\n+  {\n+    return false;\n+  }\n+\n+  // REGEX-comparison this->entityIdPattern VS id\n+  return regexec(&entityIdPattern, id.c_str(), 0, NULL, 0) == 0;\n+}\n+\n+\n+\n+/* ****************************************************************************\n+*\n+* Subscription::Subscription - \n+*/\n+Subscription::Subscription()\n+{\n+  tenant                = \"\";\n+  servicePath           = \"\";\n+  subscriptionId        = \"\";\n+  throttling            = 0;\n+  expirationTime        = 0;\n+  lastNotificationTime  = -1;\n+  pendingNotifications  = 0;\n+  format                = XML;\n+}\n+\n+\n+\n+/* ****************************************************************************\n+*\n+* Subscription::Subscription - \n+*/\n+Subscription::Subscription\n+(\n+  const std::string& _tenant,\n+  const std::string& _servicePath,\n+  const std::string& _subscriptionId,\n+  Format             _format\n+)\n+{\n+  tenant                = _tenant;\n+  servicePath           = _servicePath;\n+  subscriptionId        = _subscriptionId;\n+  throttling            = 0;\n+  expirationTime        = 0;\n+  lastNotificationTime  = -1;\n+  pendingNotifications  = 0;\n+  format                = _format;\n+}\n+\n+\n+\n+/* ****************************************************************************\n+*\n+* Subscription::Subscription - \n+*/\n+Subscription::Subscription\n+(\n+  const std::string&        _tenant,\n+  const std::string&        _servicePath,\n+  SubscribeContextRequest*  scrP,\n+  std::string               _subscriptionId,\n+  int64_t                   _expiration,\n+  Format                    _format\n+)\n+{\n+  unsigned int ix;\n+\n+  LM_M((\"KZ: Creating Subscription from SubscribeContextRequest\"));","path":"src/lib/cache/SubscriptionCache.cpp","position":null,"original_position":193,"commit_id":"cf53d363dd50bcfe89b0bda00ed525f14c91c601","original_commit_id":"fa3d1edf4e0a1e7961dde7eeeb2c2c17ad23f5df","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":"All traces removed in cf53d36","created_at":"2015-08-04T09:26:14Z","updated_at":"2015-08-04T09:26:14Z","html_url":"https://github.com/telefonicaid/fiware-orion/pull/1105#discussion_r36170890","pull_request_url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1105","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/comments/36170890"},"html":{"href":"https://github.com/telefonicaid/fiware-orion/pull/1105#discussion_r36170890"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1105"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1105","id":40908296,"html_url":"https://github.com/telefonicaid/fiware-orion/pull/1105","diff_url":"https://github.com/telefonicaid/fiware-orion/pull/1105.diff","patch_url":"https://github.com/telefonicaid/fiware-orion/pull/1105.patch","issue_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1105","number":1105,"state":"open","locked":false,"title":"Feature/1048 subscription cache","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":"RAM cache for subscriptions containing entities with isPattern=TRUE.","created_at":"2015-07-27T14:22:54Z","updated_at":"2015-08-04T09:26:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95c219787075155fa77e6b54b63a8f5c5600019f","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/17","html_url":"https://github.com/telefonicaid/fiware-orion/milestones/0.24.0","labels_url":"https://api.github.com/repos/telefonicaid/fiware-orion/milestones/17/labels","id":1186920,"number":17,"title":"0.24.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":35,"closed_issues":15,"state":"open","created_at":"2015-06-30T11:19:04Z","updated_at":"2015-08-03T12:10:00Z","due_on":"2015-08-30T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1105/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1105/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/1105/comments","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-orion/statuses/cf53d363dd50bcfe89b0bda00ed525f14c91c601","head":{"label":"telefonicaid:feature/1048_subscription_cache","ref":"feature/1048_subscription_cache","sha":"cf53d363dd50bcfe89b0bda00ed525f14c91c601","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-07-28T07:28:30Z","pushed_at":"2015-08-04T09:23:44Z","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":26100,"stargazers_count":26,"watchers_count":26,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":31,"mirror_url":null,"open_issues_count":211,"forks":31,"open_issues":211,"watchers":26,"default_branch":"develop"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"b0e589ed92b98b600164e61666d7b56458a16c2c","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-07-28T07:28:30Z","pushed_at":"2015-08-04T09:23:44Z","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":26100,"stargazers_count":26,"watchers_count":26,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":31,"mirror_url":null,"open_issues_count":211,"forks":31,"open_issues":211,"watchers":26,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1105"},"html":{"href":"https://github.com/telefonicaid/fiware-orion/pull/1105"},"issue":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1105"},"comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1105/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/pulls/1105/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/1105/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/fiware-orion/statuses/cf53d363dd50bcfe89b0bda00ed525f14c91c601"}}}}