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

Implement reconciliation of category for create/update/delete categor… #5

Merged
merged 2 commits into from
May 17, 2024

Conversation

ca7alindev
Copy link
Contributor

No description provided.

@ca7alindev ca7alindev requested a review from evghen1 May 8, 2024 15:32
@ca7alindev ca7alindev linked an issue May 8, 2024 that may be closed by this pull request
@ca7alindev ca7alindev force-pushed the 4-base-controller-and-category-reconciliation branch from 49c5fe0 to 9034d4e Compare May 8, 2024 15:36
Copy link
Contributor

@evghen1 evghen1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ca7alindev Rework it using pure REST client.

internal/controller/category/category.go Outdated Show resolved Hide resolved
apis/category/v1alpha1/category_types.go Outdated Show resolved Hide resolved
@evghen1
Copy link
Contributor

evghen1 commented May 14, 2024

@ca7alindev any news?

@ca7alindev ca7alindev force-pushed the 4-base-controller-and-category-reconciliation branch from 9034d4e to fa09028 Compare May 14, 2024 14:21
…ies using pure API calls, create controller that makes client connection using ProviderConfig credentials.
@ca7alindev ca7alindev force-pushed the 4-base-controller-and-category-reconciliation branch from fa09028 to 513b678 Compare May 14, 2024 14:25
@ca7alindev ca7alindev requested a review from evghen1 May 14, 2024 14:27
internal/client/categories/categories.go Show resolved Hide resolved
internal/client/categories/categories.go Outdated Show resolved Hide resolved
internal/controller/category/category.go Outdated Show resolved Hide resolved
package/crds/category.magento.web7.md_categories.yaml Outdated Show resolved Hide resolved
internal/controller/category/category.go Outdated Show resolved Hide resolved
examples/sample/category.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@evghen1 evghen1 May 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ca7alindev Rename file to simple apis/v1alpha1/category_types.go
Why we need category word twice here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@evghen1 in apis directory already exists v1alpha1 where are all magento provider level apis

internal/client/client.go Outdated Show resolved Hide resolved
internal/client/categories/categories.go Outdated Show resolved Hide resolved
internal/client/categories/categories.go Outdated Show resolved Hide resolved
…ries by id, added functions descriptions and error checks
@ca7alindev ca7alindev requested a review from evghen1 May 16, 2024 15:08
@ca7alindev ca7alindev marked this pull request as ready for review May 16, 2024 15:45
@evghen1 evghen1 merged commit 20721e2 into main May 17, 2024
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.

Base controller and category reconciliation
2 participants