<commit_before># son-mano-framework
SONATA's Service Platform MANO Framework


## Folder structure

* `plugins` contains MANO plugin implementations
* `son-mano-base` abstract plugin classes, helpers used by all plugins, ...
* `son-mano-broker` the message broker (start with a Dockerimage containing a default RabbitMQ installation)
* `son-mano-pluginmanager` the plugin manager component
* ... (there will be more)


## Run the PoC code locally (see below for simpler Docker Compose based execution)

### Requirements
* Running RabbitMQ broker instance on local machine (localhost)
* Python pika: `sudo pip install pika pytest`

### Run simple example:
* Terminal 1: Run the plugin manager component
 * `cd son-mano-pluginmanager/sonmanopluginmanager/`
 * `python __main__.py`


* Terminal 2: Run the example plugin
 * `cd plugins/son-mano-example-plugin-1/sonmanoexampleplugin1/`<commit_msg>Added lead dev. credentials to README<commit_after># son-mano-framework
SONATA's Service Platform MANO Framework

## Lead Developers
The following lead developers are responsible for this repository and have admin rights. They can, for example, merge pull requests.

* <NAME> (mpeuster)
* <NAME> (felipevicens)

## Folder structure

* `plugins` contains MANO plugin implementations
* `son-mano-base` abstract plugin classes, helpers used by all plugins, ...
* `son-mano-broker` the message broker (start with a Dockerimage containing a default RabbitMQ installation)
* `son-mano-pluginmanager` the plugin manager component
* ... (there will be more)


## Run the PoC code locally (see below for simpler Docker Compose based execution)

### Requirements
* Running RabbitMQ broker instance on local machine (localhost)
* Python pika: `sudo pip install pika pytest`

### Run simple example:
* Terminal 1: Run the plugin manager component
 * `cd son-mano-pluginmanager/sonmanopluginmanager/`
 * `python __main__.py`


* Terminal 2: Run the example plugin
 * `cd plugins/son-mano-example-plugin-1/sonmanoexampleplugin1/`
{'fraction_non_alphanumeric': 0.09109009457441514, 'fraction_numerical': 0.003982080637132902, 'mean_word_length': 4.894428152492669, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1131299', 'n_tokens_mistral': 595, 'n_tokens_neox': 556, 'n_words': 222}