Closed anton-sidelnikov closed 4 months ago
Build succeeded. https://zuul.otc-service.com/t/eco/buildset/7bd26188b421439c82f51096fd0450a1
:heavy_check_mark: otc-golangci-lint SUCCESS in 2m 30s :heavy_check_mark: golang-make-vet SUCCESS in 2m 03s :heavy_check_mark: golang-make-test SUCCESS in 3m 33s :heavy_check_mark: golang-make-functional SUCCESS in 7m 44s
What this PR does / why we need it
Added Access Control Policy Management doc Added Binding/Unbinding Access Control Policies doc
Which issue this PR fixes
Special notes for your reviewer
=== RUN TestAclPolicyBinding acl_policy_test.go:187: Attempting to CREATE APIGW Acl Policy acl_policy_test.go:90: Attempting to CREATE APIGW Group acl_policy_test.go:99: Attempting to CREATE APIGW API acl_policy_test.go:107: Attempting to CREATE APIGW ENVIRONMENT acl_policy_test.go:133: Attempting to PUBLISH APIGW API acl_policy_test.go:137: Attempting to RETRIEVE APIGW unbounded APIs tools.go:72: [ { "api_id": "", "api_name": "", "api_type": 0, "api_remark": "", "env_id": "", "env_name": "", "bind_id": "", "group_name": "apigw_group-Pe8", "bind_time": "", "publish_id": "9dde5ba633c84cf2a5283ca6e19d4d61", "req_method": "" } ] acl_policy_test.go:152: Attempting to BIND APIGW Acl Policy to API tools.go:72: [ { "id": "d4070d2c47e44d7ba51f85dec99f25fc", "api_id": "0329b023f9b44665a4ef10ae2f0b9e28", "env_id": "441c954608834e5286efb26b9bf082ab", "acl_id": "8692ce647d1044349e9962f529962498", "create_time": "2024-04-26T13:20:31.194451985Z" } ] acl_policy_test.go:161: Attempting to RETRIEVE APIGW bounded to policy APIs tools.go:72: [ { "api_id": "0329b023f9b44665a4ef10ae2f0b9e28", "api_name": "test_api_RcXrS", "api_type": 2, "api_remark": "test env", "env_id": "441c954608834e5286efb26b9bf082ab", "env_name": "test_env_JBLJi", "bind_id": "d4070d2c47e44d7ba51f85dec99f25fc", "group_name": "apigw_group-Pe8", "bind_time": "2024-04-26T13:20:31Z", "publish_id": "9dde5ba633c84cf2a5283ca6e19d4d61", "req_method": "" } ] acl_policy_test.go:169: Attempting to RETRIEVE APIGW bounded APIs policies tools.go:72: [ { "acl_id": "8692ce647d1044349e9962f529962498", "acl_name": "test_acl_policy_Crril", "entity_type": "IP", "acl_type": "PERMIT", "acl_value": "192.168.1.5,192.168.10.1", "env_id": "441c954608834e5286efb26b9bf082ab", "env_name": "test_env_JBLJi", "bind_id": "d4070d2c47e44d7ba51f85dec99f25fc", "bind_time": "2024-04-26T13:20:31Z" } ] acl_policy_test.go:155: Attempting to UNBIND APIGW Acl Policy from API acl_policy_test.go:121: Attempting to DELETE APIGW ENVIRONMENT: 441c954608834e5286efb26b9bf082ab acl_policy_test.go:103: Attempting to DELETE APIGW API: 0329b023f9b44665a4ef10ae2f0b9e28 acl_policy_test.go:93: Attempting to DELETE APIGW Group: ca47f2e677ab420d89e61a5d6d81285d acl_policy_test.go:86: Attempting to DELETE APIGW Acl Policy: 8692ce647d1044349e9962f529962498 --- PASS: TestAclPolicyBinding (5.46s) PASS
Process finished with the exit code 0