)]}'
{
  "commit": "2c4a6c57d68d3bb80db9a80c05a7c22e7f3a4e1c",
  "tree": "27f2578024086bfc4ce438bbb5706331da32078e",
  "parents": [
    "036d22d6a3dc881fdb756338e93eeb071ff5119e"
  ],
  "author": {
    "name": "Rahul Kapoor",
    "email": "rahulkpr@google.com",
    "time": "Mon May 19 16:27:37 2025 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon May 19 16:28:16 2025 -0700"
  },
  "message": "Adding implementation for subscription manager\n\nThis CL introduces the implementation of subscription manager and related classes.\nIt includes the following features:\n- ResourceMonitor to monitor the sampling intervals for each resource.\n- ActiveSubscription to manage a single subscription.\n- SubscriptionManagerImpl which provide APIs to add/remove subscriptions.\n- Resample function which downsample data collected by the data source.\n- Unit tests to validate the implementation.\n\nIn addition to above changes, added `SubscriptionPolicy` to SubscriptionParams to allow the subscriber to specify Resource to subscribe and whether subscription should apply to all resources or specific based on the given identifiers\n\nTested:\n Unit Test\n\n#tlbmc\n#tlbmc-hft\n\nPiperOrigin-RevId: 760813662\nChange-Id: I78f76b4ea6dcd6cfb07ff3489cbee4be38c7d53d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c1aace35473825dd7327e6261dbb468fb2475313",
      "old_mode": 33188,
      "old_path": "tlbmc/sensor_payload.proto",
      "new_id": "00a84f14f6d57456808c16ea02700ecc47b19ad5",
      "new_mode": 33188,
      "new_path": "tlbmc/sensor_payload.proto"
    },
    {
      "type": "modify",
      "old_id": "3d30b863eb66f0595fad4fe411d33775f098d49d",
      "old_mode": 33188,
      "old_path": "tlbmc/subscription/manager.h",
      "new_id": "092d4c21c4b3c60aca79f5b1fbefe76e52b106ab",
      "new_mode": 33188,
      "new_path": "tlbmc/subscription/manager.h"
    },
    {
      "type": "modify",
      "old_id": "5fdaa1cc3e8895bab6cbc5fe5c6ec119164134c1",
      "old_mode": 33188,
      "old_path": "tlbmc/subscription_params.proto",
      "new_id": "84b3a987d75e3422729c895f2f0b27d99fb31772",
      "new_mode": 33188,
      "new_path": "tlbmc/subscription_params.proto"
    }
  ]
}
