You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance Pulsar admin functions and connectors tools with package URL support (#16)
- Updated function descriptions to mark triggerValue as required for
'trigger' operations.
- Introduced IsPackageURLSupported function to validate package URLs for
functions, sinks, and sources.
- Refactored function creation and update logic to handle package URLs
appropriately in Pulsar admin tools.
returnmcp.NewToolResultError(fmt.Sprintf("Failed to create function '%s' in tenant '%s' namespace '%s': %v. Verify all parameters are correct and required resources exist.",
returnmcp.NewToolResultError(fmt.Sprintf("Failed to create function '%s' in tenant '%s' namespace '%s': %v. Verify all parameters are correct and required resources exist.",
returnmcp.NewToolResultError(fmt.Sprintf("Failed to create function '%s' in tenant '%s' namespace '%s': %v. Verify all parameters are correct and required resources exist.",
425
+
name, tenant, namespace, err)), nil
426
+
}
419
427
}
420
428
421
429
returnmcp.NewToolResultText(fmt.Sprintf("Created function '%s' successfully in tenant '%s' namespace '%s'. The function will start processing messages from input topics.",
returnmcp.NewToolResultError(fmt.Sprintf("Failed to update function '%s' in tenant '%s' namespace '%s': %v. Verify the function exists and all parameters are valid.",
0 commit comments