n8n-nodes-ovhcloud 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -42
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://docs.n8n.io/integrations/#community-nodes)
|
|
4
4
|
[](LICENSE)
|
|
5
5
|
|
|
6
|
-
**n8n-nodes-ovhcloud** is a community node for [n8n](https://n8n.io/) that enables seamless integration with OVHcloud APIs. Manage
|
|
6
|
+
**n8n-nodes-ovhcloud** is a community node for [n8n](https://n8n.io/) that enables seamless integration with OVHcloud APIs. Manage 74 resources across V1 and V2 APIs — dedicated servers, VPS, domains, email, SMS, IP Load Balancers, Public Cloud, IAM, and more — all from within your n8n workflows.
|
|
7
7
|
|
|
8
8
|
> **Note**: n8n is a workflow automation platform released under the [FairCode license](https://docs.n8n.io/sustainable-use-license/).
|
|
9
9
|
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
|
|
28
28
|
### API Coverage
|
|
29
29
|
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
30
|
+
- **74 resources** across V1 and V2 OVHcloud APIs
|
|
31
|
+
- **61 V1 resources** — compute, networking, email, storage, billing, security, and more
|
|
32
32
|
- **13 V2 resources** — Public Cloud, IAM, Web Hosting, Backup Services, OKMS, and more
|
|
33
33
|
- **50+ sub-resources** — DNS zones, SMS jobs, IP firewalls, vRack attachments, databases, etc.
|
|
34
34
|
- **Multi-endpoint support**: OVH Europe, Canada, USA, SoYouStart, Kimsufi
|
|
@@ -37,16 +37,17 @@
|
|
|
37
37
|
|
|
38
38
|
### Resource Categories
|
|
39
39
|
|
|
40
|
-
| Category |
|
|
41
|
-
| --------------------- |
|
|
42
|
-
| **Compute** |
|
|
43
|
-
| **Networking** |
|
|
44
|
-
| **Email & Messaging** |
|
|
45
|
-
| **Storage**
|
|
46
|
-
| **Account & Billing** |
|
|
47
|
-
| **Security** | 4
|
|
48
|
-
| **
|
|
49
|
-
| **
|
|
40
|
+
| Category | Resources | Key Examples |
|
|
41
|
+
| --------------------- | --------- | ---------------------------------------------------------- |
|
|
42
|
+
| **Compute** | 8 | VPS (27 sub-resources), Dedicated Servers, Dedicated Cloud |
|
|
43
|
+
| **Networking** | 9 | Domain, IP, IP Load Balancing, vRack, xDSL |
|
|
44
|
+
| **Email & Messaging** | 7 | Email, Exchange, MXplan, SMS, Telephony, FreeFax |
|
|
45
|
+
| **Storage & Hosting** | 7 | Hosting, DBaaS, Ceph, NAS-HA, Storage |
|
|
46
|
+
| **Account & Billing** | 10 | Me, Services, Orders, Pricing, Support |
|
|
47
|
+
| **Security** | 4 | Auth, SSL, SSL Gateway, Secret |
|
|
48
|
+
| **Licenses** | 12 | cPanel, Plesk, Windows, Red Hat, and 8 more |
|
|
49
|
+
| **V2 APIs** | 13 | Public Cloud, IAM, Web Hosting, OKMS, Network Defense |
|
|
50
|
+
| **Other** | 4 | AllDom, CDN, Metrics, MS Services |
|
|
50
51
|
|
|
51
52
|
---
|
|
52
53
|
|
|
@@ -79,19 +80,19 @@ See [workflow examples](docs/guides/examples.md) for common use cases.
|
|
|
79
80
|
## Development
|
|
80
81
|
|
|
81
82
|
```bash
|
|
82
|
-
git clone https://github.com/
|
|
83
|
+
git clone https://github.com/ziouf/n8n-nodes-ovhcloud.git
|
|
83
84
|
cd n8n-nodes-ovhcloud
|
|
84
85
|
npm install
|
|
85
86
|
npm run build
|
|
86
87
|
npm run dev # Development mode with hot reload
|
|
87
|
-
npm test # Run
|
|
88
|
+
npm test # Run 177 unit tests
|
|
88
89
|
npm run lint # Check code quality
|
|
89
90
|
npm run lint:fix # Auto-fix linting issues
|
|
90
91
|
```
|
|
91
92
|
|
|
92
93
|
### Testing
|
|
93
94
|
|
|
94
|
-
The project includes **
|
|
95
|
+
The project includes **177 unit tests** across 7 test suites with 100% coverage on critical files (ApiClient, CredentialHolder, node routing):
|
|
95
96
|
|
|
96
97
|
```bash
|
|
97
98
|
npm test
|
|
@@ -99,37 +100,57 @@ npm test
|
|
|
99
100
|
|
|
100
101
|
### Project Structure
|
|
101
102
|
|
|
103
|
+
Each of the **74 OVHcloud resources** is an independent n8n node with its own directory:
|
|
104
|
+
|
|
102
105
|
```
|
|
103
106
|
n8n-nodes-ovhcloud/
|
|
104
107
|
├── credentials/
|
|
105
|
-
│ └── OvhCloudApi.credentials.ts
|
|
108
|
+
│ └── OvhCloudApi.credentials.ts # OVH API credential type
|
|
106
109
|
├── nodes/
|
|
107
|
-
│
|
|
108
|
-
│
|
|
109
|
-
│
|
|
110
|
-
│
|
|
111
|
-
│
|
|
112
|
-
│
|
|
113
|
-
│
|
|
114
|
-
│
|
|
115
|
-
│
|
|
116
|
-
│
|
|
117
|
-
│
|
|
118
|
-
│
|
|
119
|
-
│
|
|
120
|
-
│
|
|
121
|
-
│
|
|
122
|
-
│ ├──
|
|
123
|
-
│
|
|
124
|
-
│
|
|
110
|
+
│ ├── OvhCloudVps/ # Example: complex node (27 sub-resources)
|
|
111
|
+
│ │ ├── OvhCloudvps.node.ts # n8n node class
|
|
112
|
+
│ │ ├── index.ts # description() + execute() router
|
|
113
|
+
│ │ ├── *.operation.ts # top-level operations (get, list, edit…)
|
|
114
|
+
│ │ └── resources/ # sub-resource directories
|
|
115
|
+
│ │ ├── automatedBackup/ # each with its own operations
|
|
116
|
+
│ │ ├── datacenter/
|
|
117
|
+
│ │ ├── disks/
|
|
118
|
+
│ │ └── … # (27 sub-resources total)
|
|
119
|
+
│ ├── OvhCloudDomain/ # Example: mid-complexity node (24 sub-resources)
|
|
120
|
+
│ │ ├── OvhClouddomain.node.ts
|
|
121
|
+
│ │ ├── index.ts
|
|
122
|
+
│ │ ├── *.operation.ts
|
|
123
|
+
│ │ └── resources/
|
|
124
|
+
│ │ ├── dnsZone/
|
|
125
|
+
│ │ ├── glueRecord/
|
|
126
|
+
│ │ └── …
|
|
127
|
+
│ ├── OvhCloudAllDom/ # Example: simple node
|
|
128
|
+
│ │ ├── OvhCloudAllDom.node.ts
|
|
129
|
+
│ │ ├── index.ts
|
|
130
|
+
│ │ ├── *.operation.ts
|
|
131
|
+
│ │ └── resources/
|
|
132
|
+
│ └── … # 74 node directories total
|
|
133
|
+
├── shared/
|
|
134
|
+
│ ├── transport/ # API client & authentication
|
|
135
|
+
│ │ ├── ApiClient.ts # abstract interface
|
|
136
|
+
│ │ ├── ApiClientImpl.ts # HTTP implementation
|
|
137
|
+
│ │ └── CredentialHolder.ts # OVH SHA1 signature
|
|
138
|
+
│ ├── methods/ # Dynamic list search methods
|
|
139
|
+
│ │ ├── getVpsServices.method.ts
|
|
140
|
+
│ │ ├── getEmailDomains.method.ts
|
|
141
|
+
│ │ └── … # 10 search methods
|
|
142
|
+
│ └── constants.ts
|
|
143
|
+
├── scripts/
|
|
144
|
+
│ ├── generate-node.sh # Scaffold a new node
|
|
145
|
+
│ ├── gen-api-docs.sh # Generate API documentation
|
|
146
|
+
│ └── get-api-description.sh # Fetch OVH API specs
|
|
147
|
+
├── tests/ # 177 unit tests across 7 suites
|
|
125
148
|
├── docs/
|
|
126
|
-
│ ├── README.md
|
|
127
|
-
│ ├──
|
|
128
|
-
│ ├──
|
|
129
|
-
│
|
|
130
|
-
|
|
131
|
-
├── tests/ # Unit tests (223 tests)
|
|
132
|
-
├── icons/ # Node icons
|
|
149
|
+
│ ├── README.md # Documentation index
|
|
150
|
+
│ ├── guides/ # User-facing guides
|
|
151
|
+
│ ├── api-reference/ # Categorized API documentation
|
|
152
|
+
│ └── api-specs/ # Raw OVH API JSON specifications
|
|
153
|
+
├── icons/ # Node icons
|
|
133
154
|
└── package.json
|
|
134
155
|
```
|
|
135
156
|
|