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

1.0.2-beta1 release prep #147

Merged
merged 142 commits into from
Mar 17, 2022
Merged

1.0.2-beta1 release prep #147

merged 142 commits into from
Mar 17, 2022

Conversation

akeemphilbert
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, ...)
    Features

  • 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)?

Feature: Configure path to service static files
Feature: Added the ability to add date to the context via extension in the openapi spec
Feature: Added the ability to register a custom projection to a path
Feature: Added the ability to specify that a single field identifier should be auto generated by specifying the format
Featue: Added the ability to set the debug level per request

  • 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 30 commits February 21, 2022 12:23
-Updated spec file to have the correct db config
…rom x-context and add to the context

-Added test for getting the params from x-context and adding it to the context
-Added functionality for getting the params from x-context and putting it into the context
-Added openapi extension x-context
-Updated the spec file
-Debug the BDD test
-Updated the spec file
-Debug the BDD test
-Added a warning if the parameters in the x-context is not one of the default parameters
feature: WEOS-1308 Generate and ensure BDD Test is passing
# Conflicts:
#	controllers/rest/middleware_context_test.go
#	end2end_test.go
…rom x-context and add to the context

-Updated parse params to put the parameters into a map
-Added a function to put the map of parameter values in the context
# Conflicts:
#	controllers/rest/middleware_context.go
added operationId to the context
added update time function to the model
…rom x-context and add to the context

-Updated parse params to put the parameters into a map
-Added a function to put the map of parameter values in the context and convert properties to the correct data types
…rom x-context and add to the context

-Fixing any test that fails
…rom x-context and add to the context

-Fixing any test that fails
feature: WEOS-1308 Update the context middleware to take parameters from x-context and add to the context
- completed update time func and added unit test
Weos 1359 - As a developer I should be able have a datetime field automatically update on update
… context via the api specification

-Update parse params to only parse the parameters
-update addtocontext to convert the values and add to the context
-Ensure tests are passing
# Conflicts:
#	controllers/rest/openapi_extensions.go
- Added middleware for zap and log level
- Updated main init func
- registered middleware
* Created spec for serving static content folder at an endpoint
* Created spec for having an endpoint return a specific file
- fixed tests
- Added errorf to a log line
# Conflicts:
#	controllers/rest/middleware_context.go
#	controllers/rest/openapi_extensions.go
#	end2end_test.go
# Conflicts:
#	controllers/rest/api.go
#	controllers/rest/controller_standard.go
shaniah868 and others added 25 commits March 11, 2022 14:15
feature: WEOS-1295 As a developer I should be able to associate a html page to a html response
-Updated controller standard test to use default response middleware
* Added Init method to be used when adding a new entity to the system
* Added a Create method on the entity factory for adding a new entity to the system
* Added a constant for the create event
* Updated create receiver so that the generate id happens in the entity and the event is added in the entity
* Added code to receiver to add a WEOS ID to context IF one is specified on the create command (this was an attempt to maintain compability with existing code)
- Added underscore to response to avoid collisions
- Flattened bool map into a single var
…error

-Added a test for initialization with security specified and the global security isn't
-Changed the logic operator to AND
feature: WEOS-1382 Auto generate id
… id that I want auto generated

-Fix functionality for create batch to work
-Added extra check to see if the id generated was valid format
-Debugging bdd test
-Added weosid to map payload in gorm
-Added some extra checks for integer in the generate
-Added entityid to the context for the createbatch domain service function
-Ensure all test is passing
… id that I want auto generated

-Added a default to the switch if the format specified is not supported
-Checks if the error returned from the create entity values is a domain error if not makes one
Feature/weos 1295, Feature/weos 1383, Feature/weos 1365
# Conflicts:
#	end2end_test.go
# Conflicts:
#	controllers/rest/api_test.go
# Conflicts:
#	controllers/rest/api_test.go
- Fixed e2e step(theFieldShouldHaveTodaysDate) to be more dynamic
- Removed local copy in UpdateTime func
…be returned if there is no controller set

-Switch the order in which the initializers were running
-Added an api test to test it
feature: WEOS-1365 As a developer I should be able set an example to be returned if there is no controller set
# Conflicts:
#	controllers/rest/api_test.go
# Conflicts:
#	controllers/rest/api_test.go
feature: WEOS-1382 As a developer I should be able to set the type of id that I want auto generated
fix: WEOS-1397 Defining a security scheme but not using it throws an error
# Conflicts:
#	controllers/rest/api_test.go
#	end2end_test.go
#	model/content_entity.go
#	model/content_entity_test.go
#	model/receiver.go
…eld automatically update on update

-Updated functionality
…WEOS-1342

# Conflicts:
#	controllers/rest/api_test.go
feature: WEOS-1342 As a developer I should be able have a datetime field automatically update on update
@akeemphilbert akeemphilbert merged commit fbc676b into main Mar 17, 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.

4 participants