Skip to content

feat: add parse record rule config #562

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

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

Conversation

wangquanchn
Copy link
Contributor

feat: 'request param record rule'

The response content of the http://{arex. storage. hostname}/ai/config/agent/load interface,
Add recording rule parameters and parse them into the ConfigManager.INSTANCE

{
    "responseStatusType": {
    },
    "body": {
        "recordUrlConfigurationList": [
            {
                "appId": "unit-test-service",
                "id": "mock-record-rule-id",
                "httpPath": "/dbTest/mybatis",
                "paramRuleList": [
                    {
                        "appId": "unit-test-service",
                        "urlRuleId": "mock-record-rule-id",
                        "id": "mock-param-rule-id",
                        "paramType": "QUERY_STRING", 
                        "valueRuleList": [
                            {
                                "key": "key",
                                "value": "value"
                            }
                        ]
                    }
                ]
            }
        ]
    }
}

@mr3 mr3 added the good first issue 👍 Good for newcomers label Sep 9, 2024
@mr3 mr3 requested review from YongwuHe, lucas-myx and mr3 and removed request for YongwuHe September 9, 2024 05:47
@mr3
Copy link
Collaborator

mr3 commented Sep 9, 2024

@wangquanchn pelase fix unit tests.

@wangquanchn
Copy link
Contributor Author

Received, there is an impact between my unit test cases, I will fix it.

@wangquanchn pelase fix unit tests.

@wangquanchn
Copy link
Contributor Author

fixed

@mr3
Copy link
Collaborator

mr3 commented Nov 4, 2024

@wangquanchn please resolve conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue 👍 Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants