Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ jobs:
if: always()
uses: malinthaprasan/action-surefire-report@v1
with:
report_paths: 'reports/**/TEST-*.xml'
report_paths: 'reports/**/TEST-*.xml'

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you under the Apache License,
~ Version 2.0 (the "License"); you may not use this file except
~ in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->

<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >

<suite name="ApiManager-features-test-suite">
<parameter name="useDefaultListeners" value="false"/>


<test name="apim-integration-tests-api-common" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<classes>
Comment thread
NaveenSandaruwan marked this conversation as resolved.
Outdated
<class name="org.wso2.am.integration.tests.guardrail.GuardrailTestCase"/>
<!-- <class name="org.wso2.am.integration.tests.aiapi.AIAPITestCase"/> -->
<!-- <class name="org.wso2.am.integration.tests.mcp.MCPServerTestCase"/> -->
</classes>
</test>

</suite>
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"connectorType": "mistralAi_1.0.0",
"authenticationConfiguration": {
"enabled": false,
"type": "none",
"parameters": {}
},
"metadata": [
{
"attributeName": "requestModel",
"inputSource": "payload",
"attributeIdentifier": "$.model",
"required": false
},
{
"attributeName": "responseModel",
"inputSource": "payload",
"attributeIdentifier": "$.model",
"required": true
},
{
"attributeName": "promptTokenCount",
"inputSource": "payload",
"attributeIdentifier": "$.usage.prompt_tokens",
"required": true
},
{
"attributeName": "completionTokenCount",
"inputSource": "payload",
"attributeIdentifier": "$.usage.completion_tokens",
"required": true
},
{
"attributeName": "totalTokenCount",
"inputSource": "payload",
"attributeIdentifier": "$.usage.total_tokens",
"required": true
},
{
"attributeName": "remainingTokenCount",
"inputSource": "header",
"attributeIdentifier": "x-ratelimit-remaining-tokens",
"required": false
}
]
}
Loading
Loading