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

ZCS-4586 update AccountInfo Model and the AccountRepository with Lice… #32

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

naijenn
Copy link
Contributor

@naijenn naijenn commented Sep 28, 2018

The graphQL query accountInfoGet now includes LicenseInfo details from the LicenseInfo Class.

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(
Copy link
Collaborator

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?

@chinmay15 chinmay15 changed the title ZCS-4856 update AccountInfo Model and the AccountRepository with Lice… ZCS-4586 update AccountInfo Model and the AccountRepository with Lice… Oct 3, 2018
Copy link
Contributor

@chinmay15 chinmay15 left a 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.

@naijenn
Copy link
Contributor Author

naijenn commented Oct 3, 2018

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.

Copy link
Contributor

@chinmay15 chinmay15 left a 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

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

Successfully merging this pull request may close these issues.

3 participants