{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":483656710,"defaultBranch":"main","name":"terraform-provider-restful","ownerLogin":"magodo","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-04-20T13:01:44.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/7970698?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1716605106.0","currentOid":""},"activityList":{"items":[{"before":"773524fc1aef772b0a973b9db20f88ed0fbb8771","after":"d7d99b3ba9480ab8671fcbbdc7ed735f7a130238","ref":"refs/heads/main","pushedAt":"2024-05-25T02:45:47.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Merge pull request #100 from magodo/op_output_empty\n\n`restful_operation` - Supports `output` to be null","shortMessageHtmlLink":"Merge pull request #100 from magodo/op_output_empty"}},{"before":null,"after":"29851f84294292c14e644386ab1a71d61e1242de","ref":"refs/heads/op_output_empty","pushedAt":"2024-05-25T02:45:06.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"`restful_operation` - Supports `output` to be null","shortMessageHtmlLink":"restful_operation - Supports output to be null"}},{"before":"bb3546ce57ab888813e1ef489b270a658970297d","after":null,"ref":"refs/tags/v0.14.0","pushedAt":"2024-05-22T02:49:27.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"}},{"before":"0c98b2195ba6903b8d8fb3f266c1c64e6b2abea8","after":"773524fc1aef772b0a973b9db20f88ed0fbb8771","ref":"refs/heads/main","pushedAt":"2024-05-22T02:28:14.000Z","pushType":"pr_merge","commitsCount":26,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Merge pull request #87 from magodo/dynamic\n\nresources - Change `body`, `delete_body`, `output` from string tpye to dynamic type","shortMessageHtmlLink":"Merge pull request #87 from magodo/dynamic"}},{"before":"eb875adeb0967a0a3cd7393d8eb2016a2642ac0f","after":"bb3546ce57ab888813e1ef489b270a658970297d","ref":"refs/heads/dynamic","pushedAt":"2024-05-22T02:27:36.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Merge branch 'main' into dynamic","shortMessageHtmlLink":"Merge branch 'main' into dynamic"}},{"before":"a3e209834b6975014fc5f2d49701a9f1892fd60a","after":"eb875adeb0967a0a3cd7393d8eb2016a2642ac0f","ref":"refs/heads/dynamic","pushedAt":"2024-05-19T07:18:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Add migration","shortMessageHtmlLink":"Add migration"}},{"before":"9bee0bbf4cf772dcbf708d8c295eac00a8a4fabf","after":"a3e209834b6975014fc5f2d49701a9f1892fd60a","ref":"refs/heads/dynamic","pushedAt":"2024-05-19T01:53:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Path builder pattern `$(body)` expects to be a JSON string","shortMessageHtmlLink":"Path builder pattern $(body) expects to be a JSON string"}},{"before":"85f31b619810559d72429950e783f96014eab49e","after":"0c98b2195ba6903b8d8fb3f266c1c64e6b2abea8","ref":"refs/heads/main","pushedAt":"2024-05-19T01:53:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Path builder pattern `$(body)` expects to be a JSON string","shortMessageHtmlLink":"Path builder pattern $(body) expects to be a JSON string"}},{"before":"40dd22d6689874f501dacda38f5d9d70e98d4083","after":"9bee0bbf4cf772dcbf708d8c295eac00a8a4fabf","ref":"refs/heads/dynamic","pushedAt":"2024-05-18T02:48:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Update test","shortMessageHtmlLink":"Update test"}},{"before":"f6774670744975a096a45be862b9cf71b22d0f3f","after":"40dd22d6689874f501dacda38f5d9d70e98d4083","ref":"refs/heads/dynamic","pushedAt":"2024-05-18T02:46:19.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"log: Enable API client log","shortMessageHtmlLink":"log: Enable API client log"}},{"before":"f2a30906e4705aa7db1c4be47a1ea56dd08e6826","after":"85f31b619810559d72429950e783f96014eab49e","ref":"refs/heads/main","pushedAt":"2024-05-18T02:36:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"log: Enable API client log","shortMessageHtmlLink":"log: Enable API client log"}},{"before":"b2d73fd9ad462b560716d47b804f87423d3af4fd","after":"f2a30906e4705aa7db1c4be47a1ea56dd08e6826","ref":"refs/heads/main","pushedAt":"2024-05-17T11:58:45.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"`restful_resource` - `[read|update_delete]_path` builder pattern supports `$(body)` (#96)","shortMessageHtmlLink":"restful_resource - [read|update_delete]_path builder pattern supp…"}},{"before":null,"after":"57d687e3f0329a7d009211a64a850d5ca31011a2","ref":"refs/heads/resource_read_path_builder_support_body_as_a_string","pushedAt":"2024-05-17T11:58:08.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"`restful_resource` - `[read|update_delete]_path` builder pattern supports `$(body)`","shortMessageHtmlLink":"restful_resource - [read|update_delete]_path builder pattern supp…"}},{"before":"9a91d492de1f059010f9afd399b039c30d9b3d6e","after":"f6774670744975a096a45be862b9cf71b22d0f3f","ref":"refs/heads/dynamic","pushedAt":"2024-05-16T03:17:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Back port from #94","shortMessageHtmlLink":"Back port from #94"}},{"before":"27efaf73bf15b83e73ac67f19b619425eb0b8062","after":"b2d73fd9ad462b560716d47b804f87423d3af4fd","ref":"refs/heads/main","pushedAt":"2024-05-16T03:12:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Fix HeaderLocator always return `true`","shortMessageHtmlLink":"Fix HeaderLocator always return true"}},{"before":"9c1c14ee92bb7dc6b86b560e8fb19b5af6359dff","after":"27efaf73bf15b83e73ac67f19b619425eb0b8062","ref":"refs/heads/main","pushedAt":"2024-05-16T02:47:26.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"`(read_)selector` handle selected part is removed out-of-band (#94)\n\nFor some *composite* API responses, where only the subset of the response represents the resource that the user currently tracks. In this case, users use `(read_)selector` to select the tracked resource from this response. Currently, the provider will always try to apply the selector (query) on the response and return the query result, even if queried out nothing, in which case the follow up modify body process in read function will fail with errors like below:\r\n\r\n```\r\n│ Error: Modifying `body` during Read\r\n...\r\n│ unmarshal the body \"\": unexpected end of JSON input\r\n```\r\n\r\nThis can be triggered by several cases, e.g.:\r\n\r\n1. The selector is not correctly composed\r\n2. The resource is removed out-of-band\r\n\r\nThis PR changes the behavior when the query returns nothing, that we will regard this resource as non exist. This has no problem for the 2nd case, but might introduce in-convenience for the 1st case, as user now will need to either import the resource or remove it out-of-band...\r\n\r\nThis change covers:\r\n\r\n- Resource `restful_resource` - `read_selector`\r\n- Data Source `restful_resource` - `selector`","shortMessageHtmlLink":"(read_)selector handle selected part is removed out-of-band (#94)"}},{"before":null,"after":"001f97c5c733e553d2e1f9b16585a18b89bf349c","ref":"refs/heads/read_selector_handle_removed","pushedAt":"2024-05-16T02:42:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"`(read_)selector` handle selected part is removed out-of-band\n\nFor some *composite* API responses, where only the subset of the response represents the resource that the user currently tracks. In this case, users use `(read_)selector` to select the tracked resource from this response. Currently, the provider will always try to apply the selector (query) on the response and return the query result, even if queried out nothing, in which case the follow up modify body process in read function will fail with errors like below:\n\n```\n│ Error: Modifying `body` during Read\n...\n│ unmarshal the body \"\": unexpected end of JSON input\n```\n\nThis can be triggered by several cases, e.g.:\n\n1. The selector is not correctly composed\n2. The resource is removed out-of-band\n\nThis PR changes the behavior when the query returns nothing, that we will regard this resource as non exist. This has no problem for the 2nd case, but might introduce in-convenience for the 1st case, as user now will need to either import the resource or remove it out-of-band...\n\nThis change covers:\n\n- Resource `restful_resource` - `read_selector`\n- Data Source `restful_resource` - `selector`","shortMessageHtmlLink":"(read_)selector handle selected part is removed out-of-band"}},{"before":"9c1c14ee92bb7dc6b86b560e8fb19b5af6359dff","after":null,"ref":"refs/tags/v0.12.1","pushedAt":"2024-05-13T01:54:50.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"}},{"before":"605af1f33b97e43a0f40159874c89b419a1918bd","after":"9a91d492de1f059010f9afd399b039c30d9b3d6e","ref":"refs/heads/dynamic","pushedAt":"2024-05-11T08:36:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Adding test to cover `body` is a JSON array","shortMessageHtmlLink":"Adding test to cover body is a JSON array"}},{"before":"d4c2d409395c0837550f559c2082de8d3be73e68","after":"9c1c14ee92bb7dc6b86b560e8fb19b5af6359dff","ref":"refs/heads/main","pushedAt":"2024-05-11T07:59:07.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"`restful_resource` - `body` supports being an array (#90)","shortMessageHtmlLink":"restful_resource - body supports being an array (#90)"}},{"before":null,"after":"8558de76f80368d81bd703056114c45c660b7fc6","ref":"refs/heads/support_read_array","pushedAt":"2024-05-11T07:55:59.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"`restful_resource` - `body` supports being an array","shortMessageHtmlLink":"restful_resource - body supports being an array"}},{"before":"cff895825b74865300aa35a5531495627e8eb9fa","after":"605af1f33b97e43a0f40159874c89b419a1918bd","ref":"refs/heads/dynamic","pushedAt":"2024-04-28T04:06:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"dynamic: List/Set/Tuple/Map/Object diff empty vs null","shortMessageHtmlLink":"dynamic: List/Set/Tuple/Map/Object diff empty vs null"}},{"before":"243dd2cc19396c71e0fba6dc9a7a96d1d593f461","after":"cff895825b74865300aa35a5531495627e8eb9fa","ref":"refs/heads/dynamic","pushedAt":"2024-04-16T09:10:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"clean","shortMessageHtmlLink":"clean"}},{"before":"8b168a3e0df43571f622a2a5db2b2b3783cc224a","after":"243dd2cc19396c71e0fba6dc9a7a96d1d593f461","ref":"refs/heads/dynamic","pushedAt":"2024-04-16T06:47:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"ModifyPlan check known-ness of `body` recursively","shortMessageHtmlLink":"ModifyPlan check known-ness of body recursively"}},{"before":"3a3175db3cb051db84556b31af294a85d716075a","after":"d4c2d409395c0837550f559c2082de8d3be73e68","ref":"refs/heads/main","pushedAt":"2024-04-16T02:38:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"`restful_resource` - `create_method` supports `PATCH` (#86)","shortMessageHtmlLink":"restful_resource - create_method supports PATCH (#86)"}},{"before":null,"after":"b82489f59d4a5b05ea65ad824712da370b6ce3c9","ref":"refs/heads/resource_create_patch","pushedAt":"2024-04-16T02:38:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"`restful_resource` - `create_method` supports `PATCH`","shortMessageHtmlLink":"restful_resource - create_method supports PATCH"}},{"before":"0b6645c5e5ddbedc2bb850bddbf2bdef62bac44c","after":"8b168a3e0df43571f622a2a5db2b2b3783cc224a","ref":"refs/heads/dynamic","pushedAt":"2024-04-11T10:43:25.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"generate doc","shortMessageHtmlLink":"generate doc"}},{"before":"97074b2f58f5e4f255d51e85554511bf4a2d57c5","after":"0b6645c5e5ddbedc2bb850bddbf2bdef62bac44c","ref":"refs/heads/dynamic","pushedAt":"2024-04-10T09:47:36.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Support ds and operation res, update test. TODO: res set state in create/update separately","shortMessageHtmlLink":"Support ds and operation res, update test. TODO: res set state in cre…"}},{"before":"3ea29169a181aa9b5810cb5ac05a2f5f067198ca","after":"97074b2f58f5e4f255d51e85554511bf4a2d57c5","ref":"refs/heads/dynamic","pushedAt":"2024-03-29T09:22:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Update will check body change regardless of TF type","shortMessageHtmlLink":"Update will check body change regardless of TF type"}},{"before":"63cdfa7244e198fec6920588f8c39d011e5eaf4b","after":"3ea29169a181aa9b5810cb5ac05a2f5f067198ca","ref":"refs/heads/dynamic","pushedAt":"2024-03-27T01:56:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"magodo","name":"magodo","path":"/magodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7970698?s=80&v=4"},"commit":{"message":"Update fw and remove the computed dynamic workaround","shortMessageHtmlLink":"Update fw and remove the computed dynamic workaround"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEU4bTmAA","startCursor":null,"endCursor":null}},"title":"Activity · magodo/terraform-provider-restful"}