Installing the VCF Automation Backend Plugin#
This guide will help you install and set up the VCF Automation backend plugin in your Backstage instance.
Prerequisites#
Before installing the plugin, ensure you have:
- A running Backstage backend instance
- Access to a VCF Automation service
- VCF Ingestor Plugin - Required for entity synchronization
Installation Steps#
1. Add the Package#
Install the plugin package using yarn:
2. Add to Backend#
Modify your backend in packages/backend/src/index.ts
:
import { createBackend } from '@backstage/backend-defaults';
const backend = createBackend();
// Add the VCF Automation backend plugin
backend.add(import('@terasky/plugin-vcf-automation-backend'));
backend.start();
3. Configure Authentication#
Add authentication configuration to your app-config.yaml
:
Single Instance:
vcfAutomation:
baseUrl: 'https://your-vcf-automation-instance'
name: demo
majorVersion: 8
authentication:
username: 'your-username'
password: 'your-password'
domain: 'your-domain'
Multi Instance:
vcfAutomation:
instances:
- name: my-vcf-01
baseUrl: 'https://your-vcf-automation-instance'
majorVersion: 9
orgName: my-org # This is needed only in VCFA 9 and above
authentication:
username: 'your-username'
password: 'your-password'
- name: my-vcf-02
baseUrl: 'https://your-vcf-02-automation-instance'
majorVersion: 8
authentication:
username: 'your-username'
password: 'your-password'
domain: 'your-domain'
What's Next?#
Verification#
After installation, verify that:
- The plugin appears in your package.json dependencies
- The backend starts without errors
- API endpoints are accessible
- Authentication is working
- Permissions are enforced
Troubleshooting#
Common issues and solutions:
-
Authentication Issues
- Verify credentials
- Check environment variables
- Test VCF service access
- Review error logs
-
API Connection Problems
- Check service URL
- Verify network access
- Review proxy settings
- Test API endpoints
-
Permission Errors
- Check role configuration
- Verify user permissions
- Review access policies
- Test with admin account
-
Event Streaming Issues
- Check WebSocket connection
- Verify event subscription
- Review stream configuration
- Test event flow
For configuration options and customization, proceed to the Configuration Guide.