Uploaded image for project: 'Analytics'
  1. Analytics
  2. ANALYTICS-490

Generate the common structure validators for analytics

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • 2.0.0
    • None
    • None

    Description

      To have visibility and a health check for the connector pack, we need to integrate a Health check for analytics.

      The process need to generate an structure for the validator of analytics, use that structure in some endpoints and have these endpoints to be executed regularly by jenkins. Check details on related linked tasks.

      Acceptance criteria

      A new module from scratch is included in addons-pack that includes validators for each of the connector on analytics as shown in the image below

      Development notes

      We need to generate that new module. This new module will have some rest endpoint that will be checked regularly by jenkins. As an outcome we will have notifications when we can't deploy or secrets are not valid.

      We can extend the use of https://git.magnolia-cms.com/projects/ADDON/repos/analytics/browse/magnolia-analytics-u[…]alytics/ui/app/fields/validator/DataSupplierValidator.java as the image bellow
       

       

      The new module is located at https://git.magnolia-cms.com/projects/ADDON/repos/addon-healthcheck/browse/magnolia-addon-healthcheck/src/main/resources/META-INF/magnolia?at=refs%2Fheads%2Ffeature%2FANALYTICS-490-generate-the-common-structure-validators-for-analytics 

      Please, remember that, in order to have the injections of the different modules, the injected parts need to be defined in the module descriptor pointed above. The current project is a valid magnolia module that can be includded in addons pack with the following dependency to be included, after dependency management in parent pom, into magnolia-addon-webapp/pom.xml

       

      <!--      addons healthcheck      -->
      <dependency>
        <groupId>info.magnolia.addon.healthcheck</groupId>
        <artifactId>magnolia-addon-healthcheck</artifactId>
        <version>${addonsHealthCheckVersion}</version>
      </dependency> 

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                thuy.to Thuy To
                asoto Alberto Soto
                AuthorX
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1d 1.5h
                      1d 1.5h