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 Rocketmq #31

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Stranger3333
Copy link

@Stranger3333 Stranger3333 commented Dec 11, 2022

Summary

Extend the openctest to support the Apache RocketMq acl module

Modification

Files added

  1. Adding rocketmq-acl-default.tsv to core/default_configs.
  2. Adding opensource-rocketmq-acl.json to data/ctest_mapping.
  3. Adding interception.patch and `logging.patch' to core/patch/rocketmq.
  4. Creating rokcetmq-acl folder under core/identify_param/results. Adding conf_params.txt and test_method_list.json to rocketmq-acl folder.
  5. Creating sample-rocketmq folder under core/run_ctest, and adding a yaml file test.yml as an example.

Files changed

  1. Changed the jdk version to 11 for core/setup_ubuntu.sh. This modification is due to the VM environment I worked on this project.
  2. Added support for rocketmq to different add_project.sh under the /core directory. Cloned git repo will be named as ctest-rocketmq under core/app. Branch I used is named as ctest-intercept.
  3. For core/generate_value, added code to value_generation.py to support Rocketmq. Generated file rocketmq-acl-generated-values.tsv by this step is moved to core/generate_ctest for ctest generation step.
  4. For core/generate_ctest, code for injecting value to config yaml file for rocketmq is added to inject.py. Content for program_input.py are changed correspondingly to support rocketmq. Generated result json file ctests-rocketmq-acl.json for this step is added to core/generate_ctest/ctest_mapping. Multiple .tsv and .list file are added to core/generate_ctest/ctest_mapping/test_result/rocketmq-acl.
  5. For core/run_ctest, inject.py and program_input.py are modified the same way as the same name files under core/generate_ctest. The only difference is that the conf_file_dir attribute is set as sample-rocketmq in program_input.py. Added parse_conf_file_xml function to parse_input.py to support yaml type input.

Notice

This is for configuration testing project for CS527 FALL 2022.

@Stranger3333 Stranger3333 marked this pull request as ready for review December 11, 2022 20:38
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