{"id":18768135,"url":"https://github.com/port-labs/ocean","last_synced_at":"2026-05-21T11:07:59.896Z","repository":{"id":183468948,"uuid":"643971174","full_name":"port-labs/ocean","owner":"port-labs","description":"🌊 Ocean 🌊 is an innovative solution developed by Port to seamlessly integrate various third-party systems with our developer portal product, empowering engineers to effortlessly prioritize key features and streamline the integration process.","archived":false,"fork":false,"pushed_at":"2024-11-25T05:46:26.000Z","size":24218,"stargazers_count":120,"open_issues_count":50,"forks_count":56,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-11-25T08:45:14.161Z","etag":null,"topics":["datasourceintegrations","developerportal","devportal","getportio","integration-framework","portintegration","portio","servicecatalog"],"latest_commit_sha":null,"homepage":"https://ocean.getport.io","language":"Python","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/port-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-22T14:32:13.000Z","updated_at":"2024-11-25T05:41:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"920c9d81-1f71-4cd1-a19a-75d0839a9a7e","html_url":"https://github.com/port-labs/ocean","commit_stats":{"total_commits":315,"total_committers":21,"mean_commits":15.0,"dds":0.6444444444444444,"last_synced_commit":"08350623f3668dcc25d004406ba92e4e0977a52d"},"previous_names":["port-labs/port-ocean","port-labs/ocean"],"tags_count":154,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/port-labs%2Focean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/port-labs%2Focean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/port-labs%2Focean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/port-labs%2Focean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/port-labs","download_url":"https://codeload.github.com/port-labs/ocean/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246988151,"owners_count":20865211,"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":["datasourceintegrations","developerportal","devportal","getportio","integration-framework","portintegration","portio","servicecatalog"],"created_at":"2024-11-07T19:11:00.978Z","updated_at":"2026-01-21T10:03:46.690Z","avatar_url":"https://github.com/port-labs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./assets/Thumbnail.png\" alt=\"Ocean\"\u003e\n\n# Ocean \u003cimg src=\"./assets/OceanSymbol.svg\" alt=\"Ocean\" width=\"100\" height=\"100\" align=\"right\"\u003e\n\n[![Lint](https://github.com/port-labs/Port-Ocean/actions/workflows/lint.yml/badge.svg)](https://github.com/port-labs/port-ocean/actions/workflows/lint.yml)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/port-labs/ocean)\n\nOcean is an innovative solution developed by Port to seamlessly integrate various third-party systems with our developer portal product,\nempowering engineers to effortlessly prioritize key features and streamline the integration process.\n\n## Prerequisites\n\n- Python 3.11\n\n## Installation\n\nIn order to install the Ocean Framework, run the following command:\n\n```bash\npip install \"port-ocean[cli]\"\n```\n\nOr\n\n```bash\npoetry add \"port-ocean[cli]\"\n```\n\n## Run Integration\n\n1. source the integration venv\n\n   ```bash\n   . .venv/bin/activate\n   ```\n\n2. Run\n\n   ```bash\n   ocean sail ./path/to/integration\n   ```\n\n# Export Architecture\n\n![image](./assets/ExportArchitecture.svg)\n\n## Real-Time updates Architecture\n\n![image](./assets/RealTimeUpdatesArchitecture.svg)\n\n## Integration Lifecycle\n\n![image](./assets/LifecycleOfIntegration.svg)\n\n## Folder Structure\n\nThe Ocean Integration Framework follows a specific folder structure within this mono repository. This structure ensures proper organization and easy identification of integration modules. The suggested folder structure is as follows:\n\n```\nport-ocean/\n├── port_ocean (framework)/\n│ ├── ocean.py\n│ ├── core/\n| └── ...\n└── integrations/\n│  └─── integration_name/\n│     ├──── main.py\n│     ├──── pyproject.toml\n│     └──── Dockerfile\n├── ...\n└── ...\n```\n\n- The `framework` folder contains the core logic for managing the integration lifecycle.\n- Each integration is represented by a separate folder inside the `integrations` directory.\n- Inside each integration folder, you'll find a `main.py` file that implements the core functionality of the integration for the specific third-party system.\n- The `pyproject.toml` file inside each integration folder lists the required dependencies for that integration.\n\n## Configuration\n\nThe Integration Framework utilizes a `config.yaml` file for its configuration. This file defines both the framework configuration and the integration configuration within it. Each integration is identified by its type and unique identifier, which are utilized during initialization to appropriately update Port.\n\nExample `config.yaml`:\n\n```yaml\n# This is an example configuration file for the integration service.\n# Please copy this file to config.yaml file in the integration folder and edit it to your needs.\n\nport:\n  clientId: PORT_CLIENT_ID # Can be loaded via environment variable: PORT_CLIENT_ID\n  clientSecret: PORT_CLIENT_SECRET # Can be loaded via environment variable: PORT_CLIENT_SECRET\n  baseUrl: https://api.getport.io/v1\n# The event listener to use for the integration service.\neventListener:\n  type: KAFKA / WEBHOOK\nintegration:\n  # The name of the integration.\n  identifier: \"my_integration\"\n  # The type of the integration.\n  type: \"PagerDuty\"\n  config:\n    my_git_token: \"random\"\n    some_other_integration_config: \"Very important information\"\n```\n\n## Contributing\n\nThe reason Ocean is open source is that we aim for the Port integration library to offer numerous useful out-of-the-box integrations. We have confidence that developers and DevOps professionals who rely on Port in their everyday work will be inclined to contribute and assist in making it a comprehensive tool.\n\nIn order to learn how you can contribute to Ocean, read our [contributing guide](./CONTRIBUTING.md)\n\n### Local Development (Framework)\n\n1. Clone the repository\n\n2. Install dependencies:\n\n   ```bash\n   make install\n   ```\n\n   Or (For installing integrations dependencies as well)\n\n   ```bash\n   make install/all\n   ```\n\n3. source the integration venv\n\n   ```bash\n   . .venv/bin/activate\n   ```\n\n### Local Development (Integration)\n\n1. Clone the repository\n\n2. For new integration run\n\n   ```bash\n   make new\n   ```\n\n   and follow the instructions\n\n3. Install dependencies\n\n4. ```bash\n   cd DESIRED_INTEGRATION_FOLDER \u0026\u0026 make install\n   ```\n\n5. source the integration venv\n\n   ```bash\n   . .venv/bin/activate\n   ```\n\n6. Run the integration\n\n   ```bash\n   make run\n   ```\n\n   Or\n\n   ```bash\n   ocean sail\n   ```\n\n## License\n\nThe Ocean Framework is open-source software licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). See the [LICENSE](./LICENSE) file for more information.\n\n## Contact\n\nFor any questions or inquiries, please reach out to our team at support@getport.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fport-labs%2Focean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fport-labs%2Focean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fport-labs%2Focean/lists"}