{"action":"created","issue":{"url":"https://api.github.com/repos/dotps1/HPWarranty/issues/27","repository_url":"https://api.github.com/repos/dotps1/HPWarranty","labels_url":"https://api.github.com/repos/dotps1/HPWarranty/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/dotps1/HPWarranty/issues/27/comments","events_url":"https://api.github.com/repos/dotps1/HPWarranty/issues/27/events","html_url":"https://github.com/dotps1/HPWarranty/issues/27","id":160687232,"number":27,"title":"Cache registration tokens for HP Enterprise requests","user":{"login":"beanska","id":2395580,"avatar_url":"https://avatars.githubusercontent.com/u/2395580?v=3","gravatar_id":"","url":"https://api.github.com/users/beanska","html_url":"https://github.com/beanska","followers_url":"https://api.github.com/users/beanska/followers","following_url":"https://api.github.com/users/beanska/following{/other_user}","gists_url":"https://api.github.com/users/beanska/gists{/gist_id}","starred_url":"https://api.github.com/users/beanska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beanska/subscriptions","organizations_url":"https://api.github.com/users/beanska/orgs","repos_url":"https://api.github.com/users/beanska/repos","events_url":"https://api.github.com/users/beanska/events{/privacy}","received_events_url":"https://api.github.com/users/beanska/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-16T15:14:59Z","updated_at":"2016-06-16T16:30:37Z","closed_at":null,"body":"Currently every call to `Get-HPEntWarrantyEntitlement` performs a new registration to get the registration token. It should be possible to write the registration to a text file and use it until expiration. Reasoning would be to lessen the calls to ISEE and not lead to HP preventing us from querying the service.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotps1/HPWarranty/issues/comments/226539748","html_url":"https://github.com/dotps1/HPWarranty/issues/27#issuecomment-226539748","issue_url":"https://api.github.com/repos/dotps1/HPWarranty/issues/27","id":226539748,"user":{"login":"beanska","id":2395580,"avatar_url":"https://avatars.githubusercontent.com/u/2395580?v=3","gravatar_id":"","url":"https://api.github.com/users/beanska","html_url":"https://github.com/beanska","followers_url":"https://api.github.com/users/beanska/followers","following_url":"https://api.github.com/users/beanska/following{/other_user}","gists_url":"https://api.github.com/users/beanska/gists{/gist_id}","starred_url":"https://api.github.com/users/beanska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beanska/subscriptions","organizations_url":"https://api.github.com/users/beanska/orgs","repos_url":"https://api.github.com/users/beanska/repos","events_url":"https://api.github.com/users/beanska/events{/privacy}","received_events_url":"https://api.github.com/users/beanska/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T16:30:36Z","updated_at":"2016-06-16T16:30:36Z","body":"Personally I never use the -ComputerName because I am feeding values from\nSQL server.\n\nI looked at implementing this but it is tricky without changing a huge\namount of code. I started ripping out the \"Begin, Process, End\" bits and it\nquickly became a total refactor and I abandoned it.\n\nI notice in Process{} you are not using the $_ object and you treat\n$ComputerObject as a String array. If you are piping objects in you should\nnot need the ComputerName parameter as Process{} is going to loop over each\n$_ object for you.\n\n\nOn Thu, Jun 16, 2016 at 11:06 AM, Thomas Malkewitz <notifications@github.com\n> wrote:\n\n> if you pipe your values into the cmdlet, it should only do it once. But, i\n> do like the idea, we could create an $env variable as well to hold the\n> data. and destroy null it when the module is re loaded. Let me think about\n> it for a little bit.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/dotps1/HPWarranty/issues/27#issuecomment-226532801>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe/ACSNvPBUOgHEym9c5RDtJig3VDBixdQeks5qMXRpgaJpZM4I3fnh>\n> .\n>\n"}}
{"actor":{"display_login":"beanska"}}