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

Feature [Commerce]: Create Org, Project and User #904

Merged
merged 8 commits into from
Dec 5, 2024

Conversation

ericosta-dev
Copy link
Contributor

No description provided.

- Added CommerceOrganizationViewSet for managing commerce organizations.
- Introduced CommerceSerializer for organization and project creation.
- Implemented permissions for internal communication.
- Enhanced Project model with a new field for VTEX account.
- Created email templates for user registration and password notification.
- Added use cases for creating Keycloak users and handling organization/project creation workflows.
- Refactored serializers to include new fields and functionalities.

This commit lays the groundwork for commerce-related features in the application.
- Updated user profile view to enhance response formatting and error handling.
- Refactored user email setup logic for better readability.
- Introduced company_name field in KeycloakUserDTO for user creation.
- Adjusted CommerceSerializer to include organization_name during user creation.
- Cleaned up code formatting for improved maintainability.
- Updated CommerceOrganizationViewSet to inherit from CreateModelMixin, enabling the creation of commerce organizations.
- Improved the overall functionality of the viewset for better integration with the commerce API.
- Changed the description field in CommerceSerializer to a static value "Commerce project" for consistency across commerce-related instances.
- Removed the TimezoneField from CommerceSerializer and replaced it with a static value "America/Sao_Paulo" for the timezone attribute.
- Updated the project creation logic to consistently use the static timezone value, ensuring uniformity across commerce-related instances.
Copy link

sonarqubecloud bot commented Dec 5, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
3.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@ericosta-dev ericosta-dev merged commit 0412120 into main Dec 5, 2024
2 of 5 checks passed
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.

2 participants