wso2 / apk

Official Repository for APK distribution
Apache License 2.0
153 stars 91 forks source link

Add secret for analytics URL and token #2303

Closed sgayangi closed 5 months ago

sgayangi commented 5 months ago

Purpose

Fixes #2265

Sample values.yaml configuration for Choreo analytics:

      gatewayRuntime:
        analytics:
          enabled: true
          publishers:
            - enabled: true
              type: "default"
              secretName: "default-analytics-secret"
            - enabled: true
              type: "moesif"
              secretName: "moesif-secret"
codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 27.76%. Comparing base (4413d98) to head (dd80a33). Report is 36 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2303 +/- ## ========================================== + Coverage 25.75% 27.76% +2.01% ========================================== Files 115 124 +9 Lines 14366 14917 +551 Branches 2450 2696 +246 ========================================== + Hits 3700 4142 +442 - Misses 10529 10638 +109 Partials 137 137 ``` | [Flag](https://app.codecov.io/gh/wso2/apk/pull/2303/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | Coverage Δ | | |---|---|---| | [adapter](https://app.codecov.io/gh/wso2/apk/pull/2303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `27.34% <ø> (ø)` | | | [common-controller](https://app.codecov.io/gh/wso2/apk/pull/2303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `4.07% <ø> (ø)` | | | [config-deployer-service](https://app.codecov.io/gh/wso2/apk/pull/2303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `26.03% <ø> (ø)` | | | [idp-domain-service](https://app.codecov.io/gh/wso2/apk/pull/2303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `80.21% <ø> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.