feat: Enable acceptance tests with OrgManager role and OAuth2 password grant #1149
Quality Gate passed
Annotations
Check failure on line 280 in eventgenerator/metric/cf_oauth2_client_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "/oauth/token" 5 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2MXp5UDQWxOyURRGHs&open=AZ2MXp5UDQWxOyURRGHs&pullRequest=1149
Check failure on line 163 in cf/config_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "test-password" 3 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2H2XoA4gbmiIyOaQOo&open=AZ2H2XoA4gbmiIyOaQOo&pullRequest=1149
Check failure on line 47 in eventgenerator/metric/cf_oauth2_client_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "test-user" 11 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2H2XnL4gbmiIyOaQOf&open=AZ2H2XnL4gbmiIyOaQOf&pullRequest=1149
Check failure on line 163 in cf/config_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "test-user" 3 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2H2XoA4gbmiIyOaQOn&open=AZ2H2XoA4gbmiIyOaQOn&pullRequest=1149
Check failure on line 324 in eventgenerator/metric/cf_oauth2_client_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "/api/metrics" 3 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2MXp5VDQWxOyURRGHt&open=AZ2MXp5VDQWxOyURRGHt&pullRequest=1149
Check failure on line 74 in eventgenerator/metric/cf_oauth2_client_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "cf-secret" 10 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2H2XnL4gbmiIyOaQOj&open=AZ2H2XnL4gbmiIyOaQOj&pullRequest=1149
Check failure on line 51 in eventgenerator/metric/cf_oauth2_client_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "application/json" 10 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2H2XnL4gbmiIyOaQOi&open=AZ2H2XnL4gbmiIyOaQOi&pullRequest=1149
Check failure on line 42 in eventgenerator/metric/cf_oauth2_client_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Content-Type" 11 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2H2XnL4gbmiIyOaQOh&open=AZ2H2XnL4gbmiIyOaQOh&pullRequest=1149
Check failure on line 63 in eventgenerator/metric/cf_oauth2_client_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Bearer " 3 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2H2XnL4gbmiIyOaQOk&open=AZ2H2XnL4gbmiIyOaQOk&pullRequest=1149
Check failure on line 48 in eventgenerator/metric/cf_oauth2_client_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "test-password" 11 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2H2XnL4gbmiIyOaQOm&open=AZ2H2XnL4gbmiIyOaQOm&pullRequest=1149
Check failure on line 38 in eventgenerator/metric/cf_oauth2_client_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Basic " 4 times.
See more on https://sonarcloud.io/project/issues?id=cloudfoundry_app-autoscaler&issues=AZ2H2XnL4gbmiIyOaQOl&open=AZ2H2XnL4gbmiIyOaQOl&pullRequest=1149