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 CHANGED
@@ -3,7 +3,7 @@
3
3
  [![n8n Nodes Base](https://img.shields.io/badge/n8n-nodes_base-orange.svg)](https://docs.n8n.io/integrations/#community-nodes)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
5
5
 
6
- **n8n-nodes-ovhcloud** is a community node for [n8n](https://n8n.io/) that enables seamless integration with OVHcloud APIs. Manage 81 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.
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
- - **81 resources** across V1 and V2 OVHcloud APIs
31
- - **68 V1 resources** — compute, networking, email, storage, billing, security, and more
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 | V1 Resources | Key Examples |
41
- | --------------------- | ------------ | ----------------------------------------------------------- |
42
- | **Compute** | 4 | VPS (26+ sub-resources), Dedicated Servers, Dedicated Cloud |
43
- | **Networking** | 4 | Domain, IP, IP Load Balancing, vRack |
44
- | **Email & Messaging** | 4 | Email, SMS, Telephony, FreeFax |
45
- | **Storage** | 5 | Hosting, DBaaS, Veeam, Storage |
46
- | **Account & Billing** | 5 | Me, Services, Orders, Pricing |
47
- | **Security** | 4 | Auth, SSL, SSL Gateway, Secret |
48
- | **V2 APIs** | 13 | Public Cloud, IAM, Web Hosting, OKMS, Network Defense |
49
- | **Other** | 42 | Licenses (12 types), CDN, Metrics, Nutanix, and more |
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/cyril-marin/n8n-nodes-ovhcloud.git
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 223 unit tests
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 **223 unit tests** across 7 test suites with 100% coverage on critical files (ApiClient, CredentialHolder, node routing):
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
- └── OvhCloud/
108
- ├── OvhCloud.node.ts # Main node (81 resources)
109
- ├── actions/ # 68 V1 resource handlers
110
- │ ├── allDom/ through xdsl/ # 54 new top-level resources
111
- ├── dbaas/ # DBaaS + sub-resources
112
- ├── dedicated/ # Dedicated + 8 sub-resources
113
- ├── domain/ # Domain + 6 sub-resources
114
- ├── email/ # Email domains
115
- │ ├── hosting/ # Hosting + 4 sub-resources
116
- ├── ip/ # IP + 7 sub-resources
117
- │ ├── me/ # Me + 6 sub-resources
118
- │ ├── services/ # Services + 5 sub-resources
119
- │ ├── sms/ # SMS + 8 sub-resources
120
- ├── vps/ # VPS + 26 sub-resources
121
- │ └── vrack/ # vRack + 6 sub-resources
122
- │ ├── actionsV2/ # 13 V2 API resource handlers
123
- ├── methods/ # Dynamic list search methods
124
- └── transport/ # API client & credential handling
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 # Documentation index
127
- │ ├── _shared/ # Shared reference content
128
- │ ├── guides/ # User-facing guides
129
- ├── api-reference/ # Categorized API documentation
130
- │ └── api-specs/ # Raw OVH API JSON specifications
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
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-ovhcloud",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "n8n nodes for OVH Cloud services",
5
5
  "license": "MIT",
6
6
  "homepage": "",