Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cmdlet Update-IShSession to refresh client cache regarding TypeFieldDefinition and User properties #158

Open
7 tasks
ddemeyer opened this issue Jul 13, 2023 · 0 comments

Comments

@ddemeyer
Copy link
Contributor

New-IshSession creates an explicit or implicit $ISHRemoteSessionStateIshSession variable which will be used in all other ISHRemote cmdlets. This session object is a cached version of some server-side configuration. Some of these might require a refresh because of some event(s) outside of the ISHRemote code base. This request is to implement an Update-IshSession cmdlet which would refresh as much as possible, but will not challenge for authentication as that would be a New-IshSession.

So only expected parameter is -IshSession explictly or implicitly.

What to refresh...

  • All SOAP proxies (and future OpenAPI proxies)
  • Property IshTypeFieldSetup, so the CardType vs Field vs LoV relationships... Note that this can be done already today using Get-IshTypeFieldDefinition
  • Property UserName, so retrieve field USERNAME again
  • Property UserLanguage, so retrieve field FISHUSERLANGUAGE again
  • Property ServerVersion
  • Property AuthenticationContext
  • Property AccessToken (on future Modern Authentication)

Note: based on an automation challenge, took the effort to think about this, consider this the meeting minutes :) ... actually the most important scenario is covered through already released Get-IshTypeFieldDefinition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant