forked from TykTechnologies/tyk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw error on POST /tyk/apis/ if UseDBAppConfigs is enabled
Refer to TykTechnologies#177 Calling POST to /tyk/apis/ when `UseDBAppConfigs` is enabled may cause an unexpected behavior. It added a new API definition to `config.AppPath` directory and didn't add to MongoDB, so it's not available on the dashboard. This commit changes the behavior of POST command by rejecting request if `UseDBAppConfigs` setting is enabled and suggest user to use an Advanced Management API instead.
- Loading branch information
Showing
2 changed files
with
67 additions
and
1 deletion.
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