{"id":23265618,"url":"https://github.com/taysir17/soa-esb-project-management","last_synced_at":"2026-05-02T03:31:42.414Z","repository":{"id":267531046,"uuid":"901543849","full_name":"taysir17/SOA-ESB-Project-Management","owner":"taysir17","description":"This project demonstrates a Service-Oriented Architecture (SOA) for managing library operations. It integrates multiple web services through a MuleSoft ESB to streamline book borrowing and availability checks.","archived":false,"fork":false,"pushed_at":"2024-12-11T15:12:05.000Z","size":73297,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T07:35:00.074Z","etag":null,"topics":["anypoint","esb","mule","restful-webservices","service-oriented-architecture","soap-web-services"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taysir17.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-10T21:19:56.000Z","updated_at":"2024-12-11T18:38:48.000Z","dependencies_parsed_at":"2025-02-12T12:57:03.095Z","dependency_job_id":null,"html_url":"https://github.com/taysir17/SOA-ESB-Project-Management","commit_stats":null,"previous_names":["taysir17/soa-esb-project-management"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taysir17/SOA-ESB-Project-Management","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taysir17%2FSOA-ESB-Project-Management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taysir17%2FSOA-ESB-Project-Management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taysir17%2FSOA-ESB-Project-Management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taysir17%2FSOA-ESB-Project-Management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taysir17","download_url":"https://codeload.github.com/taysir17/SOA-ESB-Project-Management/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taysir17%2FSOA-ESB-Project-Management/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["anypoint","esb","mule","restful-webservices","service-oriented-architecture","soap-web-services"],"created_at":"2024-12-19T15:30:50.879Z","updated_at":"2026-05-02T03:31:42.384Z","avatar_url":"https://github.com/taysir17.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library ESB Project\n\n## Overview\n\nThis project demonstrates the use of an Enterprise Service Bus (ESB) to integrate multiple web services in a library system. The project includes four web services and an ESB flow using MuleSoft.\n\n## Project Structure\n\n- **addbook-service/**: A SOAP web service built with Node.js to add a book for a student.\n- **check-availability-service/**: A REST web service built with Spring Boot to check the availability of a book.\n- **library-service/**: A REST web service built with Python (Flask) to find other libraries that have a specific book.\n- **student-list-service/**: A REST web service built with Node.js to show the list of books borrowed by a student.\n- **esb-mule-project/**: The MuleSoft project that integrates the above services.\n- **database/**: SQL scripts to set up the required databases.\n\n## Web Services\n\n### Add Book Service\n\n- **Path**: `addbook-service/`\n- **Technology**: Node.js, SOAP\n- **Description**: Adds a book for a student.\n- **Endpoint**: `http://localhost:3001/UserContentService`\n\n### Check Availability Service\n\n- **Path**: `check-availability-service/`\n- **Technology**: Spring Boot, REST\n- **Description**: Checks if a book is available.\n- **Endpoint**: `http://localhost:8080/service/livres/{libelle}`\n\n### Library Service\n\n- **Path**: `library-service/`\n- **Technology**: Python (Flask), REST\n- **Description**: Finds other libraries that have a specific book.\n- **Endpoint**: `http://localhost:3000/check_book/{title}`\n\n### Student List Service\n\n- **Path**: `student-list-service/`\n- **Technology**: Node.js, REST\n- **Description**: Shows the list of books borrowed by a student.\n- **Endpoint**: `http://localhost:5000/books/{cin}`\n\n## ESB Mule Project\n\n- **Path**: `esb-mule-project/`\n- **Technology**: MuleSoft\n- **Description**: Integrates the above web services to create a workflow for the library system.\n\n## Database\n\n- **Path**: `database/`\n- **Description**: Contains SQL scripts to set up the required databases.\n\n## Setup Instructions\n\n### Prerequisites\n\n- Node.js\n- Java (for Spring Boot)\n- Python\n- MuleSoft Anypoint Studio\n- MySQL\n\n### Steps\n\n1. **Clone the repository**:\n    ```sh\n    git clone https://github.com/your-username/library-esb-project.git\n    cd library-esb-project\n    ```\n\n2. **Set up the databases**:\n    - Create the databases using the SQL scripts in the `database/` directory.\n\n3. **Run the Add Book Service**:\n    ```sh\n    cd addbook-service\n    npm install\n    node addbook.js\n    ```\n\n4. **Run the Check Availability Service**:\n    ```sh\n    cd check-availability-service\n    mvn spring-boot:run\n    ```\n\n5. **Run the Library Service**:\n    ```sh\n    cd library-service\n    python library.py\n    ```\n\n6. **Run the Student List Service**:\n    ```sh\n    cd student-list-service\n    npm install\n    node student.js\n    ```\n\n7. **Run the MuleSoft ESB Project**:\n    - Open `esb-mule-project` in MuleSoft Anypoint Studio.\n    - Deploy the project.\n\n## Workflow\n\n1. **Requesting a Book**:\n    - A student requests a specific book from the library.\n\n2. **Checking Book Availability**:\n    - The library checks the book's status:\n        - If the book is available, the library processes the loan and provides the student with the list of books they have already borrowed.\n        - If the book is not available, the library informs the student of the library or location where the book is currently available.\n\n## Screenshots\n\n### MuleSoft Flow\n\n![MuleSoft Flow](screenshots/Flow1.jpg)\n![MuleSoft Flow](screenshots/Flow2.jpg)\n\n## Objective\n\nThe objective of this project is to understand the ESB bus and the communication between web services in a service-oriented architecture, focusing on SOAP and REST web services.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaysir17%2Fsoa-esb-project-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaysir17%2Fsoa-esb-project-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaysir17%2Fsoa-esb-project-management/lists"}