@gravitee/ui-policy-studio-angular 16.2.5 → 16.3.0-renovate-digests-pin-a67a2bd
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 +26 -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
|
@@ -2495,6 +2495,7 @@ class GioPolicyStudioComponent {
|
|
|
2495
2495
|
this.saving = false;
|
|
2496
2496
|
this.apiTypeDisplayable = computed(() => {
|
|
2497
2497
|
const apiTypeMap = {
|
|
2498
|
+
A2A_PROXY: 'A2A Proxy',
|
|
2498
2499
|
LLM_PROXY: 'LLM Proxy',
|
|
2499
2500
|
PROXY: 'HTTP Proxy',
|
|
2500
2501
|
MESSAGE: 'HTTP Message',
|
|
@@ -2729,6 +2730,18 @@ const getPlansChangeOutput = (flowsGroups, initialFlowsGroups) => {
|
|
|
2729
2730
|
* See the License for the specific language governing permissions and
|
|
2730
2731
|
* limitations under the License.
|
|
2731
2732
|
*/
|
|
2733
|
+
const PROXY_REQUEST_PHASE = {
|
|
2734
|
+
name: 'Request phase',
|
|
2735
|
+
description: 'Policies will be applied during the connection establishment',
|
|
2736
|
+
startConnectorName: 'Incoming request',
|
|
2737
|
+
endConnectorName: 'Outgoing request',
|
|
2738
|
+
};
|
|
2739
|
+
const PROXY_RESPONSE_PHASE = {
|
|
2740
|
+
name: 'Response phase',
|
|
2741
|
+
description: 'Policies will be applied to the response from the initial connection.',
|
|
2742
|
+
startConnectorName: 'Incoming response',
|
|
2743
|
+
endConnectorName: 'Outgoing response',
|
|
2744
|
+
};
|
|
2732
2745
|
class GioPolicyGroupStudioComponent {
|
|
2733
2746
|
/**
|
|
2734
2747
|
* List of policies usable in the studio
|
|
@@ -2791,52 +2804,29 @@ class GioPolicyGroupStudioComponent {
|
|
|
2791
2804
|
this.endConnector = [];
|
|
2792
2805
|
this.phases = {
|
|
2793
2806
|
// 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
|
-
},
|
|
2807
|
+
PROXY__REQUEST: PROXY_REQUEST_PHASE,
|
|
2808
|
+
PROXY__RESPONSE: PROXY_RESPONSE_PHASE,
|
|
2806
2809
|
PROXY__PUBLISH: null, // n/a
|
|
2807
2810
|
PROXY__SUBSCRIBE: null, // n/a
|
|
2808
2811
|
PROXY__CONNECT: null, // n/a
|
|
2809
2812
|
PROXY__INTERACT: null, // n/a
|
|
2813
|
+
// A2A Proxy
|
|
2814
|
+
A2A_PROXY__REQUEST: PROXY_REQUEST_PHASE,
|
|
2815
|
+
A2A_PROXY__RESPONSE: PROXY_RESPONSE_PHASE,
|
|
2816
|
+
A2A_PROXY__PUBLISH: null, // n/a
|
|
2817
|
+
A2A_PROXY__SUBSCRIBE: null, // n/a
|
|
2818
|
+
A2A_PROXY__CONNECT: null, // n/a
|
|
2819
|
+
A2A_PROXY__INTERACT: null, // n/a
|
|
2810
2820
|
// 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
|
-
},
|
|
2821
|
+
LLM_PROXY__REQUEST: PROXY_REQUEST_PHASE,
|
|
2822
|
+
LLM_PROXY__RESPONSE: PROXY_RESPONSE_PHASE,
|
|
2823
2823
|
LLM_PROXY__PUBLISH: null, // n/a
|
|
2824
2824
|
LLM_PROXY__SUBSCRIBE: null, // n/a
|
|
2825
2825
|
LLM_PROXY__CONNECT: null, // n/a
|
|
2826
2826
|
LLM_PROXY__INTERACT: null, // n/a
|
|
2827
2827
|
// 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
|
-
},
|
|
2828
|
+
MCP_PROXY__REQUEST: PROXY_REQUEST_PHASE,
|
|
2829
|
+
MCP_PROXY__RESPONSE: PROXY_RESPONSE_PHASE,
|
|
2840
2830
|
MCP_PROXY__PUBLISH: null, // n/a
|
|
2841
2831
|
MCP_PROXY__SUBSCRIBE: null, // n/a
|
|
2842
2832
|
MCP_PROXY__CONNECT: null, // n/a
|