Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Function and Trigger domain objects (#1060)
Vast commit, includes: * Introduces the Trigger domain entity. * Introduces the Fns domain entity. * V2 of the API for interacting with the new entities in swaggerv2.yml * Adds v2 end points for Apps to support PUT updates. * Rewrites the datastore level tests into a new pattern. * V2 routes use entity ID over name as the path parameter.
- Loading branch information
Showing
76 changed files
with
5,797 additions
and
869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
package api | ||
|
||
// Request context key names | ||
const ( | ||
App string = "app_name" | ||
AppID string = "app_id" | ||
Path string = "path" | ||
Call string = "call" | ||
// Short forms for API URLs | ||
CApp string = "app" | ||
CRoute string = "route" | ||
// Gin Request context key names | ||
AppName string = "app_name" | ||
AppID string = "app_id" | ||
Path string = "path" | ||
|
||
// Gin URL template parameters | ||
ParamAppID string = "appId" | ||
ParamAppName string = "appName" | ||
ParamRouteName string = "route" | ||
ParamTriggerID string = "triggerId" | ||
ParamCallID string = "call" | ||
ParamFnID string = "fnId" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.