{"action":"created","issue":{"url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/6","repository_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension","labels_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/6/comments","events_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/6/events","html_url":"https://github.com/F5Networks/f5-appsvcs-extension/issues/6","id":319595896,"number":6,"title":"Declaration History Limited to 4 (ages 0-3)","user":{"login":"kreynoldsf5","id":31418536,"avatar_url":"https://avatars1.githubusercontent.com/u/31418536?v=4","gravatar_id":"","url":"https://api.github.com/users/kreynoldsf5","html_url":"https://github.com/kreynoldsf5","followers_url":"https://api.github.com/users/kreynoldsf5/followers","following_url":"https://api.github.com/users/kreynoldsf5/following{/other_user}","gists_url":"https://api.github.com/users/kreynoldsf5/gists{/gist_id}","starred_url":"https://api.github.com/users/kreynoldsf5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreynoldsf5/subscriptions","organizations_url":"https://api.github.com/users/kreynoldsf5/orgs","repos_url":"https://api.github.com/users/kreynoldsf5/repos","events_url":"https://api.github.com/users/kreynoldsf5/events{/privacy}","received_events_url":"https://api.github.com/users/kreynoldsf5/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-02T15:14:14Z","updated_at":"2018-05-03T16:29:48Z","closed_at":"2018-05-03T16:29:48Z","author_association":"NONE","body":"<!--- Verify first that your issue/request is not already reported in GitHub -->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report or Documentation Update\r\n\r\n\r\n##### AS3 BUILD/ VERSION\r\n<!--- Type your AS3 build number. This is the number on the RPM file just before .noarch, i.e. f5-appsvcs-3.0.0-34.noarch.rpm is build 34.  From the BIG-IP UI, click iApp > Package Management LX and then look at the Build column\r\n-->\r\n```\r\nf5-appsvcs-3.0.0-34.noarch.rpm\r\n```\r\n\r\n##### BIGIP VERSION\r\n<!---\r\nPaste verbatim output from “tmsh show sys version” between quotes below. From the BIG-IP UI, click System > Configuration, and then look at the Version row \r\n-->\r\n```\r\nSys::Version\r\nMain Package\r\n  Product     BIG-IP\r\n  Version     13.1.0.6\r\n  Build       0.0.3\r\n  Edition     Point Release 6\r\n  Date        Fri Apr 20 18:04:26 PDT 2018\r\n```\r\nNOTE: this is a VE with 1 core and 2GB RAM (perhaps declaration history is keyed to resources?)\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\n\r\n[Documentation](http://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/3/refguide/as3-api.html#api-methods-summary) states a declaration history of 16 declarations (0-15) is kept. AS3 only keeps a history of 4 declarations.\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem.\r\nFor new features, show how the feature would be used.\r\n-->\r\n\r\n<!--- Paste example declarations between quotes below -->\r\nPOST 4 declarations and note the output of a GET to https://{{bigip}}/mgmt/shared/appsvcs/declare?age=list\r\n```\r\n[\r\n    {\r\n        \"name\": \"____appsvcs_declaration-1525273534246\",\r\n        \"timestamp\": 1525273534246,\r\n        \"date\": \"2018-05-02T15:05:34.246Z\",\r\n        \"age\": 0\r\n    },\r\n    {\r\n        \"name\": \"____appsvcs_declaration-1525273530784\",\r\n        \"timestamp\": 1525273530784,\r\n        \"date\": \"2018-05-02T15:05:30.784Z\",\r\n        \"age\": 1\r\n    },\r\n    {\r\n        \"name\": \"____appsvcs_declaration-1525273527654\",\r\n        \"timestamp\": 1525273527654,\r\n        \"date\": \"2018-05-02T15:05:27.654Z\",\r\n        \"age\": 2\r\n    },\r\n    {\r\n        \"name\": \"____appsvcs_declaration-1525273520317\",\r\n        \"timestamp\": 1525273520317,\r\n        \"date\": \"2018-05-02T15:05:20.317Z\",\r\n        \"age\": 3\r\n    }\r\n]\r\n```\r\nNow POST a 5th declaration and note the output of https://{{bigip}}/mgmt/shared/appsvcs/declare?age=list.\r\n```\r\n[\r\n    {\r\n        \"name\": \"____appsvcs_declaration-1525273591802\",\r\n        \"timestamp\": 1525273591802,\r\n        \"date\": \"2018-05-02T15:06:31.802Z\",\r\n        \"age\": 0\r\n    },\r\n    {\r\n        \"name\": \"____appsvcs_declaration-1525273534246\",\r\n        \"timestamp\": 1525273534246,\r\n        \"date\": \"2018-05-02T15:05:34.246Z\",\r\n        \"age\": 1\r\n    },\r\n    {\r\n        \"name\": \"____appsvcs_declaration-1525273530784\",\r\n        \"timestamp\": 1525273530784,\r\n        \"date\": \"2018-05-02T15:05:30.784Z\",\r\n        \"age\": 2\r\n    },\r\n    {\r\n        \"name\": \"____appsvcs_declaration-1525273527654\",\r\n        \"timestamp\": 1525273527654,\r\n        \"date\": \"2018-05-02T15:05:27.654Z\",\r\n        \"age\": 3\r\n    }\r\n]\r\n```\r\nChecking the output of https://{{bigip}}/mgmt/shared/appsvcs/declare shows the 5th declaration is present -- its just not displayed in the history. \r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\nDeclaration history of 16 entries with ages from 0-15 to be present.\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened?  -->\r\nDeclaration history was limited to 4 entries (0-3).\r\n"},"comment":{"url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/comments/386355514","html_url":"https://github.com/F5Networks/f5-appsvcs-extension/issues/6#issuecomment-386355514","issue_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/6","id":386355514,"user":{"login":"JosephPJordan","id":22331467,"avatar_url":"https://avatars0.githubusercontent.com/u/22331467?v=4","gravatar_id":"","url":"https://api.github.com/users/JosephPJordan","html_url":"https://github.com/JosephPJordan","followers_url":"https://api.github.com/users/JosephPJordan/followers","following_url":"https://api.github.com/users/JosephPJordan/following{/other_user}","gists_url":"https://api.github.com/users/JosephPJordan/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephPJordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephPJordan/subscriptions","organizations_url":"https://api.github.com/users/JosephPJordan/orgs","repos_url":"https://api.github.com/users/JosephPJordan/repos","events_url":"https://api.github.com/users/JosephPJordan/events{/privacy}","received_events_url":"https://api.github.com/users/JosephPJordan/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T16:29:48Z","updated_at":"2018-05-03T16:29:48Z","author_association":"COLLABORATOR","body":"Thanks Kevin, we've published Document Revision 1.1 with this change (http://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/3/refguide/revision-history.html).  Closing this issue."}}
{"actor":{"display_login":"JosephPJordan"}}