@gravitee/ui-policy-studio-angular 16.2.5 → 16.3.0-a2a-proxy-04872aa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/gravitee-ui-policy-studio-angular-testing.mjs +3 -2
- package/fesm2022/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2022/gravitee-ui-policy-studio-angular.mjs +27 -36
- package/fesm2022/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +1 -1
- package/testing/index.d.ts +1 -1
|
@@ -1092,6 +1092,7 @@ class GioPolicyStudioFlowsMenuComponent {
|
|
|
1092
1092
|
})
|
|
1093
1093
|
.afterClosed();
|
|
1094
1094
|
break;
|
|
1095
|
+
case 'A2A_PROXY':
|
|
1095
1096
|
case 'PROXY':
|
|
1096
1097
|
dialogResult = this.matDialog
|
|
1097
1098
|
.open(GioPolicyStudioFlowProxyFormDialogComponent, {
|
|
@@ -2495,6 +2496,7 @@ class GioPolicyStudioComponent {
|
|
|
2495
2496
|
this.saving = false;
|
|
2496
2497
|
this.apiTypeDisplayable = computed(() => {
|
|
2497
2498
|
const apiTypeMap = {
|
|
2499
|
+
A2A_PROXY: 'A2A Proxy',
|
|
2498
2500
|
LLM_PROXY: 'LLM Proxy',
|
|
2499
2501
|
PROXY: 'HTTP Proxy',
|
|
2500
2502
|
MESSAGE: 'HTTP Message',
|
|
@@ -2729,6 +2731,18 @@ const getPlansChangeOutput = (flowsGroups, initialFlowsGroups) => {
|
|
|
2729
2731
|
* See the License for the specific language governing permissions and
|
|
2730
2732
|
* limitations under the License.
|
|
2731
2733
|
*/
|
|
2734
|
+
const PROXY_REQUEST_PHASE = {
|
|
2735
|
+
name: 'Request phase',
|
|
2736
|
+
description: 'Policies will be applied during the connection establishment',
|
|
2737
|
+
startConnectorName: 'Incoming request',
|
|
2738
|
+
endConnectorName: 'Outgoing request',
|
|
2739
|
+
};
|
|
2740
|
+
const PROXY_RESPONSE_PHASE = {
|
|
2741
|
+
name: 'Response phase',
|
|
2742
|
+
description: 'Policies will be applied to the response from the initial connection.',
|
|
2743
|
+
startConnectorName: 'Incoming response',
|
|
2744
|
+
endConnectorName: 'Outgoing response',
|
|
2745
|
+
};
|
|
2732
2746
|
class GioPolicyGroupStudioComponent {
|
|
2733
2747
|
/**
|
|
2734
2748
|
* List of policies usable in the studio
|
|
@@ -2791,52 +2805,29 @@ class GioPolicyGroupStudioComponent {
|
|
|
2791
2805
|
this.endConnector = [];
|
|
2792
2806
|
this.phases = {
|
|
2793
2807
|
// HTTP Proxy
|
|
2794
|
-
PROXY__REQUEST:
|
|
2795
|
-
|
|
2796
|
-
description: 'Policies will be applied during the connection establishment',
|
|
2797
|
-
startConnectorName: 'Incoming request',
|
|
2798
|
-
endConnectorName: 'Outgoing request',
|
|
2799
|
-
},
|
|
2800
|
-
PROXY__RESPONSE: {
|
|
2801
|
-
name: 'Response phase',
|
|
2802
|
-
description: 'Policies will be applied to the response from the initial connection.',
|
|
2803
|
-
startConnectorName: 'Incoming response',
|
|
2804
|
-
endConnectorName: 'Outgoing response',
|
|
2805
|
-
},
|
|
2808
|
+
PROXY__REQUEST: PROXY_REQUEST_PHASE,
|
|
2809
|
+
PROXY__RESPONSE: PROXY_RESPONSE_PHASE,
|
|
2806
2810
|
PROXY__PUBLISH: null, // n/a
|
|
2807
2811
|
PROXY__SUBSCRIBE: null, // n/a
|
|
2808
2812
|
PROXY__CONNECT: null, // n/a
|
|
2809
2813
|
PROXY__INTERACT: null, // n/a
|
|
2814
|
+
// A2A Proxy
|
|
2815
|
+
A2A_PROXY__REQUEST: PROXY_REQUEST_PHASE,
|
|
2816
|
+
A2A_PROXY__RESPONSE: PROXY_RESPONSE_PHASE,
|
|
2817
|
+
A2A_PROXY__PUBLISH: null, // n/a
|
|
2818
|
+
A2A_PROXY__SUBSCRIBE: null, // n/a
|
|
2819
|
+
A2A_PROXY__CONNECT: null, // n/a
|
|
2820
|
+
A2A_PROXY__INTERACT: null, // n/a
|
|
2810
2821
|
// LLM Proxy
|
|
2811
|
-
LLM_PROXY__REQUEST:
|
|
2812
|
-
|
|
2813
|
-
description: 'Policies will be applied during the connection establishment',
|
|
2814
|
-
startConnectorName: 'Incoming request',
|
|
2815
|
-
endConnectorName: 'Outgoing request',
|
|
2816
|
-
},
|
|
2817
|
-
LLM_PROXY__RESPONSE: {
|
|
2818
|
-
name: 'Response phase',
|
|
2819
|
-
description: 'Policies will be applied to the response from the initial connection.',
|
|
2820
|
-
startConnectorName: 'Incoming response',
|
|
2821
|
-
endConnectorName: 'Outgoing response',
|
|
2822
|
-
},
|
|
2822
|
+
LLM_PROXY__REQUEST: PROXY_REQUEST_PHASE,
|
|
2823
|
+
LLM_PROXY__RESPONSE: PROXY_RESPONSE_PHASE,
|
|
2823
2824
|
LLM_PROXY__PUBLISH: null, // n/a
|
|
2824
2825
|
LLM_PROXY__SUBSCRIBE: null, // n/a
|
|
2825
2826
|
LLM_PROXY__CONNECT: null, // n/a
|
|
2826
2827
|
LLM_PROXY__INTERACT: null, // n/a
|
|
2827
2828
|
// MCP Proxy
|
|
2828
|
-
MCP_PROXY__REQUEST:
|
|
2829
|
-
|
|
2830
|
-
description: 'Policies will be applied during the connection establishment',
|
|
2831
|
-
startConnectorName: 'Incoming request',
|
|
2832
|
-
endConnectorName: 'Outgoing request',
|
|
2833
|
-
},
|
|
2834
|
-
MCP_PROXY__RESPONSE: {
|
|
2835
|
-
name: 'Response phase',
|
|
2836
|
-
description: 'Policies will be applied to the response from the initial connection.',
|
|
2837
|
-
startConnectorName: 'Incoming response',
|
|
2838
|
-
endConnectorName: 'Outgoing response',
|
|
2839
|
-
},
|
|
2829
|
+
MCP_PROXY__REQUEST: PROXY_REQUEST_PHASE,
|
|
2830
|
+
MCP_PROXY__RESPONSE: PROXY_RESPONSE_PHASE,
|
|
2840
2831
|
MCP_PROXY__PUBLISH: null, // n/a
|
|
2841
2832
|
MCP_PROXY__SUBSCRIBE: null, // n/a
|
|
2842
2833
|
MCP_PROXY__CONNECT: null, // n/a
|