{"id":26400791,"url":"https://github.com/unvercan/sca-dependencies-finder","last_synced_at":"2025-03-17T14:37:44.423Z","repository":{"id":55046732,"uuid":"132710314","full_name":"unvercan/sca-dependencies-finder","owner":"unvercan","description":"XML file-based dependencies finder for Oracle SOA Composite Applications","archived":false,"fork":false,"pushed_at":"2025-02-08T22:16:49.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T23:21:53.221Z","etag":null,"topics":["composite","csv","dependency","middleware","oracle","oracle-soa-suite","python","service-oriented-architecture","soa","wsdl","xml","xsd"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unvercan.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,"governance":null}},"created_at":"2018-05-09T06:14:53.000Z","updated_at":"2025-02-08T22:16:53.000Z","dependencies_parsed_at":"2023-02-08T14:16:39.058Z","dependency_job_id":null,"html_url":"https://github.com/unvercan/sca-dependencies-finder","commit_stats":null,"previous_names":["unvercan/sca-dependencies-finder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unvercan%2Fsca-dependencies-finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unvercan%2Fsca-dependencies-finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unvercan%2Fsca-dependencies-finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unvercan%2Fsca-dependencies-finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unvercan","download_url":"https://codeload.github.com/unvercan/sca-dependencies-finder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244051100,"owners_count":20389821,"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":["composite","csv","dependency","middleware","oracle","oracle-soa-suite","python","service-oriented-architecture","soa","wsdl","xml","xsd"],"created_at":"2025-03-17T14:37:38.407Z","updated_at":"2025-03-17T14:37:44.417Z","avatar_url":"https://github.com/unvercan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCA Dependencies Finder\n\n## Overview\nThe **SCA Dependencies Finder** is a Python-based tool designed to parse XML files, extract dependencies based on predefined filters, and categorize them. The extracted dependencies are saved in CSV format for further analysis.\n\n## Features\n- Extracts dependencies from XML-based files (e.g., `.wsdl`, `.xsd`, `.xml`, etc.)\n- Filters dependencies based on specific XML elements and attributes\n- Categorizes dependencies into different types (MDS, HTTP, FILE, LOCAL, and CUSTOM)\n- Supports custom filtering options\n- Outputs extracted data as CSV files\n\n## Installation\n### Prerequisites\n- Python 3.9+\n- Install required dependencies using:\n  ```sh\n  pip install -r requirements.txt\n  ```\n\n## Usage\nTo process a directory of XML files and extract dependencies, run:\n```sh\npython app.py\n```\nBy default, the script will use the configured input and output directories specified in `config.py`.\n\n### Custom Arguments\nYou can specify custom input and output directories:\n```sh\npython app.py --input /path/to/xml/files --output /path/to/save/results\n```\n\n## Configuration\nThe `config.py` file contains settings for:\n- **File Extensions:** XML-based file types to process\n- **Elements \u0026 Attributes:** XML tags and attributes used for dependency extraction\n- **Filters:** Predefined filters for categorization (MDS, HTTP, FILE, etc.)\n- **Defaults:** Input/output paths, file format, and logging settings\n\n## Output\nThe extracted dependencies are saved in CSV format with filenames structured as:\n```\ndependencies_\u003cCATEGORY\u003e_\u003cTIMESTAMP\u003e.csv\n```\nEach CSV file contains the following columns:\n- `file` - The relative path of the source XML file\n- `element` - The XML element containing the dependency\n- `attribute` - The attribute in which the dependency is found\n- `path` - The extracted dependency value\n\n## Logging\nThe script logs its progress and errors in the console. Log levels can be adjusted in `config.py` using:\n```python\nlogging.basicConfig(level=logging.INFO, format=DEFAULT.get(\"logging_format\"))\n```\n\n## License\nThis project is open-source and available under the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funvercan%2Fsca-dependencies-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funvercan%2Fsca-dependencies-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funvercan%2Fsca-dependencies-finder/lists"}