Skip to content

Repackage JSON POJOs to domain packages#487

Merged
jimmyjames merged 1 commit intov2-devfrom
repackage-json-objs
Dec 20, 2022
Merged

Repackage JSON POJOs to domain packages#487
jimmyjames merged 1 commit intov2-devfrom
repackage-json-objs

Conversation

@jimmyjames
Copy link
Copy Markdown
Contributor

Prior to this change, several JSON objects were packaged directly in the com.auth0.json.mgmt package, whereas most are in domain-specific packages (e.g., com.auth0.json.mgmt.jobs. This change moves all domain-related JSON objects into a domain package for cleaner code organization.

Note for reviewers:

While the total files changed count is large, this is mostly due to updated entities and tests importing the new packaged type. The moved types are:

  • com.auth0.json.mgmt.Token moved to com.auth0.json.mgmt.blacklists.Token
  • com.auth0.json.mgmt.ClientGrant moved to com.auth0.json.mgmt.clientgrants.ClientGrant
  • com.auth0.json.mgmt.ClientGrantsPage moved to com.auth0.json.mgmt.clientgrants.ClientGrantsPage
  • com.auth0.json.mgmt.Connection moved to com.auth0.json.mgmt.connections.Connection
  • com.auth0.json.mgmt.ConnectionsPage moved to com.auth0.json.mgmt.connections.ConnectionsPage
  • com.auth0.json.mgmt.DeviceCredentials moved to com.auth0.json.mgmt.devicecredentials.DeviceCredentials
  • com.auth0.json.mgmt.EmailTemplate moved to com.auth0.json.mgmt.emailtemplates.EmailTemplate
  • com.auth0.json.mgmt.Grant moved to com.auth0.json.mgmt.grants.Grant
  • com.auth0.json.mgmt.GrantsPage moved to com.auth0.json.mgmt.grants.GrantsPage
  • com.auth0.json.mgmt.EmailVerificationIdentity moved to com.auth0.json.mgmt.tickets.EmailVerificationIdentity
  • com.auth0.json.mgmt.Key; moved to com.auth0.json.mgmt.keys.Key
  • com.auth0.json.mgmt.RolesPage moved to com.auth0.json.mgmt.roles.RolesPage
  • com.auth0.json.mgmt.ResourceServer moved to com.auth0.json.mgmt.resourceserver.ResourceServer
  • com.auth0.json.mgmt.ResourceServersPage moved to com.auth0.json.mgmt.resourceserver.ResourceServersPage
  • com.auth0.json.mgmt.Permission moved to com.auth0.json.mgmt.permissions.Permission
  • com.auth0.json.mgmt.PermissionsPage moved to com.auth0.json.mgmt.permissions.PermissionsPage
  • com.auth0.json.mgmt.Role moved to com.auth0.json.mgmt.roles.Role
  • com.auth0.json.mgmt.RolesPage moved to com.auth0.json.mgmt.roles.RolesPage
  • com.auth0.json.mgmt.RulesConfig moved to com.auth0.json.mgmt.rules.RulesConfig
  • com.auth0.json.mgmt.Rule moved to com.auth0.json.mgmt.rules.Rule
  • com.auth0.json.mgmt.RulesPage moved to com.auth0.json.mgmt.rules.RulesPage
  • com.auth0.json.mgmt.DailyStats moved to com.auth0.json.mgmt.stats.DailyStats
  • com.auth0.json.mgmt.Permission moved to com.auth0.json.mgmt.permissions.Permission
  • com.auth0.json.mgmt.PermissionsPage moved to com.auth0.json.mgmt.permissions.PermissionsPage
  • com.auth0.json.mgmt.RolesPage moved to com.auth0.json.mgmt.roles.RolesPage

@jimmyjames jimmyjames merged commit 3002827 into v2-dev Dec 20, 2022
@jimmyjames jimmyjames deleted the repackage-json-objs branch December 20, 2022 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants