{"id":27301541,"url":"https://github.com/eprosima/aml-ip-prototype","last_synced_at":"2025-04-12T01:46:44.003Z","repository":{"id":43485264,"uuid":"348970692","full_name":"eProsima/aml-ip-prototype","owner":"eProsima","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-28T07:56:42.000Z","size":381,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2023-08-18T06:53:31.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eProsima.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-18T06:51:38.000Z","updated_at":"2022-02-28T07:54:23.000Z","dependencies_parsed_at":"2022-08-23T07:30:41.744Z","dependency_job_id":null,"html_url":"https://github.com/eProsima/aml-ip-prototype","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eProsima%2Faml-ip-prototype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eProsima%2Faml-ip-prototype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eProsima%2Faml-ip-prototype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eProsima%2Faml-ip-prototype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eProsima","download_url":"https://codeload.github.com/eProsima/aml-ip-prototype/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505953,"owners_count":21115354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-12T01:46:43.351Z","updated_at":"2025-04-12T01:46:43.981Z","avatar_url":"https://github.com/eProsima.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aml-ip-prototype\n\nThis repository containes two subprojects with the prototype version for D6.2 in ALMA project (H2020) implementing\nthe AML-IP workload distributed scenario.\n\nThe two subprojets are:\n\n- **amlip_types**: Contains the DDS data types required for the project to communicate nodes.\n- **amlip_nodes**: Contains the implementation of the nodes.\n\n## Build and install\n\n### Requirements\n\nThe requirements of this project are the ones inherited by the libraries below.\nCheck [Fast-DDS requirements](https://fast-dds.docs.eprosima.com/en/latest/installation/sources/sources_linux.html),\nthe [Fast-DDS Python bindings requirements](https://fast-dds.docs.eprosima.com/en/latest/fastddsgen/python_bindings/python_bindings.html)\nand the [DDS Router requirements](https://eprosima-dds-router.readthedocs.io/en/latest/rst/developer_manual/installation/sources/linux.html)\n\n### Download source and install\n\n```bash\n# Change directory to the location where the colcon workspace will be created\ncd \u003cpath_to_ws\u003e\n# Create workspace directory\nmkdir -p amlip/src\ncd amlip\n# Get workspace setup file\nwget https://raw.githubusercontent.com/eProsima/aml-ip-prototype/main/amlip.repos\n# Download repositories\nvcs import src \u003c amlip.repos\n# Build the workspace\ncolcon build\n```\n\n## Execution\n\nThere are 3 kind of nodes that could be run within this project.\nThese are the nodes kind and the command to execute any of them (remember to source the workspace installation):\n\n- *AML-IP Status Node*: It shows in real time the status of the different nodes running.\n  - `./install/amlip_nodes/lib/amlip_nodes/amlip_status`\n\n- *AML-IP Main Node*: It creates with random period of times random job data and send them distributedly to\n  a server to obtain the solution:\n  - `./install/amlip_nodes/lib/amlip_nodes/amlip_main`\n\n- *AML-IP Computing Node*: It waits for a job from a client, solve it in a period of random time, and return\n  the solution to the client:\n  - `./install/amlip_nodes/lib/amlip_nodes/amlip_computing`\n\n### Execute tests\n\nThe *amlip_types* subproject does does not have any tests, as their files are `.idl` and autogenerated files.\nIn order to run the tests for the *amlip_nodes* subproject, execute the following command:\n\n```sh\ncolcon test --packages-select amlip_nodes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feprosima%2Faml-ip-prototype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feprosima%2Faml-ip-prototype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feprosima%2Faml-ip-prototype/lists"}