Skip to content

Release 7.3 preparation#444

Merged
thekevinm merged 23 commits intomainfrom
develop
Aug 18, 2025
Merged

Release 7.3 preparation#444
thekevinm merged 23 commits intomainfrom
develop

Conversation

@VladyslavTy
Copy link
Copy Markdown
Contributor

thekevinm and others added 23 commits August 2, 2025 22:10
…copy all configurations

- Fixed API request format by wrapping payloads in { resource: [data] } as expected by backend
- Updated role duplication to copy all permissions (role_service_access_by_role_id) and lookup keys (lookup_by_role_id)
- Updated service duplication to copy entire config object with all service-specific settings
- Updated app duplication to copy all app configurations including type, url, storage settings, etc.
- Added proper error handling with catchError and throwError for all API calls
- Use snake_case for API fields (is_active, role_id, api_key, etc.)
- Apps generate new API keys when duplicated
- All duplicate operations show appropriate success messages

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
- Fixed role duplication not copying permissions:
  - Changed from snake_case to camelCase field names (roleServiceAccessByRoleId, lookupByRoleId, isActive)
  - Fixed permission field mapping to use camelCase (serviceId, verbMask, requestorMask)
  - Fixed filters structure to match API format with name/operator/value
  - Added fields and related parameters to the create request

- Fixed app duplication not working:
  - Removed api_key from payload (API keys are generated server-side)
  - Removed unnecessary async/await for API key generation
  - Fixed refresh API key action to use snake_case api_key

Both issues were caused by API field naming convention mismatches. The DreamFactory API expects camelCase for roles and snake_case for apps.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
…sk-feature

Add support for duplicating APIs, Roles, and Keys
…mponent.ts

  - Changes: Fixed SOAP service creation format field issue (2 locations)
    - Line 200: Initialize format field with [0] instead of []
    - Lines 563-565: Added fallback to 0 when serviceDefinitionType is undefined
- File: src/app/adf-services/df-service-details/df-service-details.co…
  - Show the ACE editor with JSON/YAML toggle for REST/HTTP services
  - Properly handle the service definition content when saving
- Show the file upload/GitHub import options for RWS and SOAP services
Updated pathing and caching for license checks
Removed local email paywall and fixed system APIs not appearing under…
Made Quick Stats card pop with alerts if nothing is configured
Refined the congrats popup and quick stats
Open Test API Authentication by default on API Docs
@VladyslavTy VladyslavTy requested a review from thekevinm August 18, 2025 06:52
@thekevinm thekevinm merged commit dcd14d4 into main Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants