<commit_before>#Proxy Of Squbs Service

### Overview
Sometimes, we may have common biz logic accross different squbs-services.
For example: CAL, Authentication/Authorization, tracking, cookie management, A/B testing, etc.

Usually we don't what the service owner to take care of these common stuffs in their Actor/Router.
That's why we introduce the squbs proxy to facilitate it.

Generally speaking, a squbs proxy is an actor which acting like a bridge in between the responder and the squbs service.
That is to say:
* All messages sent from resonder to squbs service will go thru the proxy actor
* Vice versa, all messages sent from squbs service to responder will go thru the proxy actor.


Below section will describe how to enable a proxy for squbs service.

### Proxy declaration


<commit_msg>Update pipeline.md<commit_after>#Proxy Of Squbs Service

### Overview
Sometimes, we may have common biz logic accross different squbs-services.
For example: CAL, Authentication/Authorization, tracking, cookie management, A/B testing, etc.

Usually we don't what the service owner to take care of these common stuffs in their Actor/Router.
That's why we introduce the squbs proxy to facilitate it.

Generally speaking, a squbs proxy is an actor which acting like a bridge in between the responder and the squbs service.
That is to say:
* All messages sent from resonder to squbs service will go thru the proxy actor
* Vice versa, all messages sent from squbs service to responder will go thru the proxy actor.


Below section will describe how to enable a proxy for squbs service.

### Proxy declaration

In your squbs-meta.conf, you can specify proxy for your service:

```json

squbs-services = [
  {
    class-name = com.ebay.myapp.MyActor
    web-context = mypath
    proxy-name = myProxy
  }
]

```


{'fraction_non_alphanumeric': 0.05321507760532151, 'fraction_numerical': 0.0, 'mean_word_length': 4.216763005780347, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4962853', 'n_tokens_mistral': 500, 'n_tokens_neox': 468, 'n_words': 261}