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

Adding support for Apache Skywalking #12

Open
wants to merge 1 commit into
base: skywalking
Choose a base branch
from

Conversation

akshathsk
Copy link

@akshathsk akshathsk commented Nov 29, 2022

Description

This PR enables CTest support to Apache Skywalking

Details

Skywalking stores configs as a yml (application.yml). The configs are maintained in a 4-level hierarchical structure in the yaml.
The hierarchy followed for each config is as follows -

Module
  Provider
    Property (this is of type java.util.Property)
      Sub-Property (this is of type java.util.Property)

To parse configs and enable CTests on this project 3 jars are added in this PR -

  1. Java code core/identify_param/skywalking - To find configs used by each test case
  2. Existing python module core/generate_value/value_generation.py updated to support skywalking
  3. Java code core/generate_ctest/skywalking - To generate the ctest json data/ctest_mapping/skywalking.json
  4. Java code identify_param/skywalking - To run a CTest with a config injection file

Results

  1. Module core/identify_param/skywalking generates 2 files
    a.core/identify_param/results/skywalking/skywalking-test-to-config-flat.json
    b. core/identify_param/results/skywalking/skywalking-test-to-config.json

  2. Module core/generate_value/value_generation.py generates
    a. core/generate_value/skywalking-generated-values.tsv

  3. Module core/generate_ctest/skywalking generates
    a. data/ctest_mapping/skywalking.json

Skywalking modules supported

  1. oap-server/server-starter
  2. oap-server/server-configuration/configuration-apollo
  3. oap-server/server-configuration/configuration-consul
  4. oap-server/server-configuration/configuration-zookeeper
  5. oap-server/analyzer/agent-analyzer
  6. oap-server/server-configuration/configuration-nacos

@akshathsk akshathsk marked this pull request as draft November 29, 2022 20:37
@akshathsk akshathsk force-pushed the skywalking branch 2 times, most recently from 46c67d8 to cafa0f0 Compare November 29, 2022 20:43
@akshathsk akshathsk marked this pull request as ready for review November 29, 2022 22:19
@akshathsk akshathsk force-pushed the skywalking branch 8 times, most recently from ac4dc21 to 0ff1907 Compare December 6, 2022 06:07
@akshathsk akshathsk force-pushed the skywalking branch 5 times, most recently from 569cd76 to 8b0ffcc Compare December 12, 2022 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant