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: WEOS-1133 As a user I should be able to get a list of items for a content type #60

Merged
merged 37 commits into from
Jan 29, 2022

Conversation

shaniah868
Copy link
Contributor

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    This introduces the feature of being able to get a list of items. The limit and page can be specified and the sort is defaulted to id

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

shaniah868 and others added 27 commits January 21, 2022 09:40
- Added x-weos-config to the feature file
…tions

-Added a test for list method in projection
-Added the getcontententities to projection
-Added paginate function to help with querying
- Added to the projection query to remove weosid and sequence no from all content entities
…functions

-Added sort function that only sorts by the default key id
-Added sort into test confirm
…tion

-Added another test to make sure the foreign key is being returned
-Added a test for list controller
-Added a list api response
feature: WEOS-1133 Create a list method on projection and helper function
-Added page and limmit to the blog ymaml file
-Added a check for x-alias to be added to the context
-Added a test to make sure x-alias parameters are being added
-Regenerate mocks
-Added get content entities to projection interface
-Added the test for list controller
-AAdded functionality for the list controller
feature: WEOS-1133 Update the List Controller to call the projections
-Fix BDD Test
-Added checks for if the items are named differently to check for its alias
-Added the service is running step
-Removed the seqno and entityid from feature file
-Removed the table_alias from the content entity returned
-Change the feature file entityId and sequenceNo to have the same numbering as db
-Fixed failing tests after the merge
-Fixed failing tests after the merge
…WEOS-1133

# Conflicts:
#	controllers/rest/middleware_context.go
#	controllers/rest/weos_mocks_test.go
#	model/event_repository_mocks_test.go
-Fixed failing tests after the merge
# Conflicts:
#	controllers/rest/controller_standard.go
#	controllers/rest/middleware_context.go
#	controllers/rest/weos_mocks_test.go
-Fixed failing tests after the merge
feature: WEOS-1133 Generate and Ensure BDD Test
Aidan-E
Aidan-E previously approved these changes Jan 26, 2022
projections/gorm.go Show resolved Hide resolved
# Conflicts:
#	end2end_test.go
@akeemphilbert akeemphilbert merged commit 88e4311 into dev Jan 29, 2022
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.

5 participants