-
Notifications
You must be signed in to change notification settings - Fork 5
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
ZCS-4586 update AccountInfo Model and the AccountRepository with Lice… #32
base: develop
Are you sure you want to change the base?
Conversation
src/java/com/zimbra/graphql/repositories/impl/ZXMLAccountRepository.java
Outdated
Show resolved
Hide resolved
final AccountSelector selector = new AccountSelector(AccountBy.id, zsc.getAuthToken().getAccountId()); | ||
final GetAccountInfoRequest accountInfoRequest = new GetAccountInfoRequest(selector); | ||
final GetInfoRequest request = new GetInfoRequest(); | ||
final Element accountResponse = XMLDocumentUtilities.executeDocument( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works for now.
We may consider determining if the communityUrl
is requested before doing the entire getAccountInfo
request just for that. Or, perhaps adding it to getInfo
and deprecating the other since it is seemingly the only thing missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there is confusion between GetInfoRequest and GetAccountInfoRequest.
This should be part of GetInfoRequest and not GetAccountInfoRequest.
Chinmay, thanks for bringing this up. I believe the other ticket in the sprint was to build out the getInfoRequest. I brought this issue up, and it was implied that there was a request for adding the licenseInfo in the AccountInfo as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as per discussion approving
The graphQL query accountInfoGet now includes LicenseInfo details from the LicenseInfo Class.