-
Notifications
You must be signed in to change notification settings - Fork 60
Feature/rename docs to ocean custom #2972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Created new Generic HTTP integration docs section (position 1 in custom integrations) - Added Overview page explaining when to use, how it works, and advanced configurations - Built interactive 'Build Your Integration' guide with 3 steps: - Step 1: Configure API (base URL, auth, pagination, advanced settings) - Step 2: Choose data to sync (endpoint, response, field mapping, blueprint config) - Step 3: Install and create in Port (dynamic Helm/Docker commands, blueprint JSON, mapping YAML) - Implemented React components with shared context for seamless state management - Labeled as 'Generic HTTP (New ⭐)' in sidebar to highlight new feature - Updated API integration position to 2
- Add JQ reference link in prerequisites - Add two-step setup link in overview - Add descriptive text before each interactive step - Fix field deselection (toggle ID/Title buttons) - Auto-select first array in JSON response - Auto-generate blueprint ID and title with singularization - Update form hints with explicit defaults - Simplify configuration explanations - Remove redundant copy buttons - Fix mapping generation (query and blueprint quoting) - Fix authentication config (use apiToken/apiKey/username+password) - Fix image versioning (use integration.version instead of image.tag) - Update to version 0.1.5-dev - Add pluralize dependency for accurate singularization
- Rename directory: ocean-http/ → ocean-custom-integration/ - Rename React components: GenericHttp/ → OceanCustom/ - Update category label to 'Ocean Custom Integration' - Update all text references from 'Generic HTTP' to 'Ocean Custom' - Update integration type: generic-http → custom - Update integration identifier: generic-http → ocean-custom - Update Docker image: port-ocean-generic-http → port-ocean-custom - Update GitHub repo links: /integrations/generic-http → /integrations/custom - Use :latest tag for Docker, remove version from Helm (auto-handled by chart)
PR Compliance Guide 🔍(Compliance updated until commit 526fab8)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit 6b3ec25
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||||||||||||||
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
User description
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Added docs pages
Please also include the path for the added docs
/)/platform-overview/port-components/blueprint)Updated docs pages
Please also include the path for the updated docs
/)/platform-overview/port-components/blueprint)PR Type
Enhancement, Documentation
Description
Introduces comprehensive Ocean Custom integration feature with 13+ new React components for building custom API integrations
Implements interactive 3-step integration builder workflow: API configuration, data mapping, and installation
Adds
IntegrationBuildercomponent that generates Docker and Helm deployment commands with environment variablesProvides
MultiEndpointConfiguratorfor managing multiple API endpoints with CRUD operations and YAML generationIncludes
BlueprintGeneratorfor auto-generating Port blueprints from sample API response JSONAdds
EndpointTestercomponent for testing API endpoints and automatic data path detectionImplements
IntegrationBuilderContextfor centralized state management across all builder stepsAdds 940 lines of comprehensive CSS styling for Ocean Custom UI components with responsive design
Provides complete documentation with interactive guide for building Ocean Custom integrations
Reorganizes documentation hierarchy by adjusting section positions
Adds
pluralizelibrary dependency for auto-generating blueprint IDs from endpoint pathsDiagram Walkthrough
File Walkthrough
15 files
index.js
New Ocean Custom integration component exportssrc/components/OceanCustom/index.js
setup
and related utilities
styles.module.css
Complete styling for Ocean Custom integration UI componentssrc/components/OceanCustom/styles.module.css
components
configuration UI
multi-endpoint configurator
IntegrationBuilder.jsx
Interactive integration builder with deployment generationsrc/components/OceanCustom/IntegrationBuilder.jsx
installation
variables
MultiEndpointConfigurator.jsx
Multi-endpoint configuration manager with CRUD operationssrc/components/OceanCustom/MultiEndpointConfigurator.jsx
configurations
Step3Installation.jsx
Installation step with deployment command generationsrc/components/OceanCustom/Step3Installation.jsx
integration
configuration options
settings
Step2DataMapping.jsx
Data mapping step with auto-generation and field selectionsrc/components/OceanCustom/Step2DataMapping.jsx
pluralize library
buttons
EndpointConfigurator.jsx
Standalone endpoint configurator with output generationsrc/components/OceanCustom/EndpointConfigurator.jsx
ApiConfigBuilder.jsx
API configuration builder with environment variable generationsrc/components/OceanCustom/ApiConfigBuilder.jsx
settings
Step1ApiConfig.jsx
API Configuration Step Component for Integration Buildersrc/components/OceanCustom/Step1ApiConfig.jsx
authentication types, pagination options)
advanced settings like timeouts and SSL verification
useIntegrationBuilderhook to manage and persist configurationstate across the integration builder workflow
selected auth type
ConfigGenerator.jsx
Configuration Generator Component for YAML Outputsrc/components/OceanCustom/ConfigGenerator.jsx
integration based on endpoint and mapping inputs
property mappings between Port and API fields
formatted YAML output with copy-to-clipboard functionality
JQ expressions for field mapping
IntegrationInstaller.jsx
Integration Installer Configuration Review Componentsrc/components/OceanCustom/IntegrationInstaller.jsx
before installation
type, and pagination settings
current configuration state
generated
BlueprintGenerator.jsx
Blueprint Auto-Generator from Sample API Datasrc/components/OceanCustom/BlueprintGenerator.jsx
API response JSON
boolean) and special formats (email, date-time, URL)
generates JSON blueprint definition
blueprint creation
EndpointTester.jsx
Endpoint Testing and Data Path Detection Componentsrc/components/OceanCustom/EndpointTester.jsx
structure
data_pathdetectionfrom API responses
suggests appropriate path configuration
data extraction
IntegrationBuilderContext.jsx
Shared State Management Context for Integration Buildersrc/components/OceanCustom/IntegrationBuilderContext.jsx
builder steps
timeouts) and endpoint mapping (blueprint, fields, identifiers)
useIntegrationBuilderhook for accessing and updating sharedstate throughout the builder workflow
sample endpoint and response data
IntegrationBuilderSteps.jsx
Integration Builder Steps Wrapper Componentsrc/components/OceanCustom/IntegrationBuilderSteps.jsx
builder steps with shared context provider
workflow
Step1ApiConfig,Step2DataMapping, andStep3Installationcomponents within
IntegrationBuilderProvider2 files
overview.md
Complete Ocean Custom integration documentation and guidedocs/build-your-software-catalog/custom-integration/ocean-custom-integration/overview.md
and setup workflow
pagination, and rate limiting
build-your-integration.md
Interactive Build Guide Documentation for Ocean Customdocs/build-your-software-catalog/custom-integration/ocean-custom-integration/build-your-integration.md
Custom integrations
installation
Step1ApiConfig,Step2DataMapping,Step3Installation) for hands-on configurationcredentials settings
1 files
package.json
Add Pluralize Utility Library Dependencypackage.json
pluralizedependency version^8.0.0to project dependencies2 files
_category_.json
Documentation Category Configuration for Ocean Customdocs/build-your-software-catalog/custom-integration/ocean-custom-integration/category.json
documentation section
index page
feature
_category_.json
Adjust API Documentation Section Positiondocs/build-your-software-catalog/custom-integration/api/category.json
order
in documentation hierarchy