Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
eda7c566
Unverified
Commit
eda7c566
authored
2 years ago
by
Shishir Suman
Committed by
GitHub
2 years ago
Browse files
Options
Download
Patches
Plain Diff
updating new endpoint for course evaluation
parent
4e1d0fba
revert-5-login-changes
login-changes
loginRegisterBtn
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
1 merge request
!16
Release 5.1.0 api
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/kong-api/defaults/main.yml
+20
-2
ansible/roles/kong-api/defaults/main.yml
with
20 additions
and
2 deletions
+20
-2
ansible/roles/kong-api/defaults/main.yml
+
20
−
2
View file @
eda7c566
...
...
@@ -262,7 +262,6 @@ kong_apis:
plugins
:
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
ip
...
...
@@ -272,6 +271,7 @@ kong_apis:
config.required
:
false
config.enabled
:
false
-
name
:
rate-limiting
-
name
:
assignRole
uris
:
"
{{
user_service_prefix
}}/v1/role/assign"
upstream_url
:
"
{{
learning_service_url
}}/v1/user/assign/role"
...
...
@@ -10095,6 +10095,24 @@ kong_apis:
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
courseEvalBulk
uris
:
"
{{
course_service_prefix
}}/v1/course/admin/course/eval"
upstream_url
:
"
{{
lms_service_url
}}/v1/course/admin/course/eval"
strip_uri
:
true
plugins
:
-
name
:
jwt
-
name
:
cors
-
"
{{
statsd_pulgin
}}"
-
name
:
acl
config.whitelist
:
-
'
courseAccess'
-
name
:
rate-limiting
config.policy
:
local
config.hour
:
"
{{
medium_rate_limit_per_hour
}}"
config.limit_by
:
credential
-
name
:
request-size-limiting
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
adminlistCourseEnrollments
uris
:
"
{{
course_service_prefix
}}/v2/user/courses/admin/list"
upstream_url
:
"
{{
lms_service_url
}}/v2/user/courses/admin/list"
...
...
@@ -10135,4 +10153,4 @@ kong_apis:
config.allowed_payload_size
:
"
{{
small_request_size_limit
}}"
-
name
:
opa-checks
config.required
:
false
config.enabled
:
false
\ No newline at end of file
config.enabled
:
false
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets