Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: constants for api names/types #1396

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

warber
Copy link
Contributor

@warber warber commented Feb 28, 2024

What this PR does / Why we need it:

This PR just extracts the values for classic config names into their own constants to reduce the risk of having typos and searching unnecessarily for errors for quite some time

@warber warber requested a review from a team as a code owner February 28, 2024 16:34
Copy link

github-actions bot commented Feb 28, 2024

Unit Test Results

1 759 tests  ±0   1 759 ✅ ±0   16s ⏱️ ±0s
  125 suites ±0       0 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 8d1a088. ± Comparison against base commit fbf60fe.

♻️ This comment has been updated with latest results.

@warber
Copy link
Contributor Author

warber commented Feb 28, 2024

review dog findings can be ignored

pkg/api/endpoints.go Outdated Show resolved Hide resolved
@warber warber added the run-e2e-test Manually trigger the E2E tests for reviewed PRs label Feb 29, 2024
Copy link

E2E Test Results

    4 files   -  1    500 suites   - 125   34m 30s ⏱️ - 22m 11s
1 854 tests  -  2  1 852 ✅  -   3  1 💤 ±0  1 ❌ +1 
2 070 runs   - 74  2 068 ✅  -  75  1 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 4d0ef7a. ± Comparison against base commit 2c23ed9.

This pull request removes 2 tests.
github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestPaginationClassic
github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestPaginationPlatform

Copy link

sonarcloud bot commented Feb 29, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@warber warber merged commit f2f9718 into main Feb 29, 2024
11 checks passed
@warber warber deleted the chore/api-types-constants branch February 29, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-e2e-test Manually trigger the E2E tests for reviewed PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants