diff --git a/packages/nodes-base/credentials/AutomizyApi.credentials.ts b/packages/nodes-base/credentials/AutomizyApi.credentials.ts index 3d1d663217..3e186c9632 100644 --- a/packages/nodes-base/credentials/AutomizyApi.credentials.ts +++ b/packages/nodes-base/credentials/AutomizyApi.credentials.ts @@ -8,6 +8,13 @@ export class AutomizyApi implements ICredentialType { documentationUrl = 'automizy'; properties: INodeProperties[] = [ + { + displayName: + 'This service may no longer exist and will be removed from n8n in a future release.', + name: 'deprecated', + type: 'notice', + default: '', + }, { displayName: 'API Token', name: 'apiToken', diff --git a/packages/nodes-base/credentials/CitrixAdcApi.credentials.ts b/packages/nodes-base/credentials/NetscalerAdcApi.credentials.ts similarity index 87% rename from packages/nodes-base/credentials/CitrixAdcApi.credentials.ts rename to packages/nodes-base/credentials/NetscalerAdcApi.credentials.ts index 2fd5e057f1..7b66ef942c 100644 --- a/packages/nodes-base/credentials/CitrixAdcApi.credentials.ts +++ b/packages/nodes-base/credentials/NetscalerAdcApi.credentials.ts @@ -5,12 +5,12 @@ import type { INodeProperties, } from 'n8n-workflow'; -export class CitrixAdcApi implements ICredentialType { +export class NetscalerAdcApi implements ICredentialType { name = 'citrixAdcApi'; - displayName = 'Citrix ADC API'; + displayName = 'Netscaler ADC API'; - documentationUrl = 'citrixadc'; + documentationUrl = 'netscaleradc'; properties: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Automizy/Automizy.node.ts b/packages/nodes-base/nodes/Automizy/Automizy.node.ts index 3e79372109..357be9c4c5 100644 --- a/packages/nodes-base/nodes/Automizy/Automizy.node.ts +++ b/packages/nodes-base/nodes/Automizy/Automizy.node.ts @@ -30,6 +30,7 @@ export class Automizy implements INodeType { }, inputs: ['main'], outputs: ['main'], + hidden: true, credentials: [ { name: 'automizyApi', @@ -37,6 +38,13 @@ export class Automizy implements INodeType { }, ], properties: [ + { + displayName: + 'This service may no longer exist and will be removed from n8n in a future release.', + name: 'deprecated', + type: 'notice', + default: '', + }, { displayName: 'Resource', name: 'resource', diff --git a/packages/nodes-base/nodes/Cal/CalTrigger.node.ts b/packages/nodes-base/nodes/Cal/CalTrigger.node.ts index 8d2b6c3d17..0388e9255b 100644 --- a/packages/nodes-base/nodes/Cal/CalTrigger.node.ts +++ b/packages/nodes-base/nodes/Cal/CalTrigger.node.ts @@ -13,15 +13,15 @@ import { calApiRequest, sortOptionParameters } from './GenericFunctions'; export class CalTrigger implements INodeType { description: INodeTypeDescription = { - displayName: 'Cal Trigger', + displayName: 'Cal.com Trigger', name: 'calTrigger', icon: { light: 'file:cal.svg', dark: 'file:cal.dark.svg' }, group: ['trigger'], version: [1, 2], subtitle: '=Events: {{$parameter["events"].join(", ")}}', - description: 'Handle Cal events via webhooks', + description: 'Handle Cal.com events via webhooks', defaults: { - name: 'Cal Trigger', + name: 'Cal.com Trigger', }, inputs: [], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Citrix/ADC/CertificateDescription.ts b/packages/nodes-base/nodes/Netscaler/ADC/CertificateDescription.ts similarity index 95% rename from packages/nodes-base/nodes/Citrix/ADC/CertificateDescription.ts rename to packages/nodes-base/nodes/Netscaler/ADC/CertificateDescription.ts index a2f77c3675..f1faa8f1af 100644 --- a/packages/nodes-base/nodes/Citrix/ADC/CertificateDescription.ts +++ b/packages/nodes-base/nodes/Netscaler/ADC/CertificateDescription.ts @@ -214,7 +214,7 @@ export const certificateDescription: INodeProperties[] = [ }, }, description: - 'Name for and, optionally, path to the private key. You can either use an existing RSA or DSA key that you own or create a new private key on the Citrix ADC. This file is required only when creating a self-signed Root-CA certificate. The key file is stored in the /nsconfig/ssl directory by default.', + 'Name for and, optionally, path to the private key. You can either use an existing RSA or DSA key that you own or create a new private key on the Netscaler ADC. This file is required only when creating a self-signed Root-CA certificate. The key file is stored in the /nsconfig/ssl directory by default.', }, { displayName: 'CA Serial File Number', @@ -281,7 +281,7 @@ export const certificateDescription: INodeProperties[] = [ }, default: '', description: - 'Name for and, optionally, path to the private key. You can either use an existing RSA or DSA key that you own or create a new private key on the Citrix ADC. This file is required only when creating a self-signed Root-CA certificate. The key file is stored in the /nsconfig/ssl directory by default.', + 'Name for and, optionally, path to the private key. You can either use an existing RSA or DSA key that you own or create a new private key on the Netscaler ADC. This file is required only when creating a self-signed Root-CA certificate. The key file is stored in the /nsconfig/ssl directory by default.', }, { displayName: 'PEM Passphrase (For Encrypted CA Key)', @@ -294,7 +294,7 @@ export const certificateDescription: INodeProperties[] = [ }, default: '', description: - 'Name for and, optionally, path to the private key. You can either use an existing RSA or DSA key that you own or create a new private key on the Citrix ADC. This file is required only when creating a self-signed Root-CA certificate. The key file is stored in the /nsconfig/ssl directory by default.', + 'Name for and, optionally, path to the private key. You can either use an existing RSA or DSA key that you own or create a new private key on the Netscaler ADC. This file is required only when creating a self-signed Root-CA certificate. The key file is stored in the /nsconfig/ssl directory by default.', }, { displayName: 'Subject Alternative Name', diff --git a/packages/nodes-base/nodes/Citrix/ADC/FileDescription.ts b/packages/nodes-base/nodes/Netscaler/ADC/FileDescription.ts similarity index 100% rename from packages/nodes-base/nodes/Citrix/ADC/FileDescription.ts rename to packages/nodes-base/nodes/Netscaler/ADC/FileDescription.ts diff --git a/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts b/packages/nodes-base/nodes/Netscaler/ADC/GenericFunctions.ts similarity index 95% rename from packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts rename to packages/nodes-base/nodes/Netscaler/ADC/GenericFunctions.ts index 4b9e0ea9b5..e941776636 100644 --- a/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Netscaler/ADC/GenericFunctions.ts @@ -10,7 +10,7 @@ import type { } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; -export async function citrixADCApiRequest( +export async function netscalerADCApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, resource: string, diff --git a/packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.json b/packages/nodes-base/nodes/Netscaler/ADC/NetscalerAdc.node.json similarity index 74% rename from packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.json rename to packages/nodes-base/nodes/Netscaler/ADC/NetscalerAdc.node.json index 384d4273e0..cf357f9d10 100644 --- a/packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.json +++ b/packages/nodes-base/nodes/Netscaler/ADC/NetscalerAdc.node.json @@ -1,18 +1,19 @@ { - "node": "n8n-nodes-base.citrixAdc", + "node": "n8n-nodes-base.netscalerAdc", "nodeVersion": "1.0", "codexVersion": "1.0", "categories": ["Development"], "resources": { "credentialDocumentation": [ { - "url": "https://docs.n8n.io/integrations/builtin/credentials/citrixAdc/" + "url": "https://docs.n8n.io/integrations/builtin/credentials/netscalerAdc/" } ], "primaryDocumentation": [ { - "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.citrixadc/" + "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.netscaleradc/" } ] - } + }, + "alias": ["Citrix"] } diff --git a/packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.ts b/packages/nodes-base/nodes/Netscaler/ADC/NetscalerAdc.node.ts similarity index 89% rename from packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.ts rename to packages/nodes-base/nodes/Netscaler/ADC/NetscalerAdc.node.ts index 7570672c4a..2e2a1f904d 100644 --- a/packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.ts +++ b/packages/nodes-base/nodes/Netscaler/ADC/NetscalerAdc.node.ts @@ -1,3 +1,4 @@ +/* eslint-disable n8n-nodes-base/node-filename-against-convention */ import type { IDataObject, IExecuteFunctions, @@ -7,23 +8,24 @@ import type { JsonObject, } from 'n8n-workflow'; -import { citrixADCApiRequest } from './GenericFunctions'; +import { netscalerADCApiRequest } from './GenericFunctions'; import { fileDescription } from './FileDescription'; import { certificateDescription } from './CertificateDescription'; -export class CitrixAdc implements INodeType { +export class NetscalerAdc implements INodeType { description: INodeTypeDescription = { - displayName: 'Citrix ADC', + displayName: 'Netscaler ADC', + // This prevents a breaking change name: 'citrixAdc', - icon: { light: 'file:citrix.svg', dark: 'file:citrix.dark.svg' }, + icon: { light: 'file:netscaler.svg', dark: 'file:netscaler.dark.svg' }, group: ['output'], version: 1, subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', - description: 'Consume Citrix ADC API', + description: 'Consume Netscaler ADC API', defaults: { - name: 'Citrix ADC', + name: 'Netscaler ADC', }, credentials: [ { @@ -88,7 +90,7 @@ export class CitrixAdc implements INodeType { body.systemfile.filename = options.fileName as string; } - await citrixADCApiRequest.call(this, 'POST', endpoint, body); + await netscalerADCApiRequest.call(this, 'POST', endpoint, body); responseData = { success: true }; } if (operation === 'delete') { @@ -99,7 +101,7 @@ export class CitrixAdc implements INodeType { fileLocation, )}`; - await citrixADCApiRequest.call(this, 'DELETE', endpoint); + await netscalerADCApiRequest.call(this, 'DELETE', endpoint); responseData = { success: true }; } if (operation === 'download') { @@ -111,7 +113,7 @@ export class CitrixAdc implements INodeType { fileLocation, )}`; - const { systemfile } = await citrixADCApiRequest.call(this, 'GET', endpoint); + const { systemfile } = await netscalerADCApiRequest.call(this, 'GET', endpoint); const file = systemfile[0]; @@ -185,7 +187,7 @@ export class CitrixAdc implements INodeType { const endpoint = '/config/sslcert?action=create'; - await citrixADCApiRequest.call(this, 'POST', endpoint, { sslcert: body }); + await netscalerADCApiRequest.call(this, 'POST', endpoint, { sslcert: body }); responseData = { success: true }; } @@ -225,7 +227,7 @@ export class CitrixAdc implements INodeType { const endpoint = '/config/sslcertkey'; - await citrixADCApiRequest.call(this, 'POST', endpoint, { sslcertkey: body }); + await netscalerADCApiRequest.call(this, 'POST', endpoint, { sslcertkey: body }); responseData = { success: true }; } diff --git a/packages/nodes-base/nodes/Citrix/ADC/citrix.dark.svg b/packages/nodes-base/nodes/Netscaler/ADC/netscaler.dark.svg similarity index 100% rename from packages/nodes-base/nodes/Citrix/ADC/citrix.dark.svg rename to packages/nodes-base/nodes/Netscaler/ADC/netscaler.dark.svg diff --git a/packages/nodes-base/nodes/Citrix/ADC/citrix.svg b/packages/nodes-base/nodes/Netscaler/ADC/netscaler.svg similarity index 100% rename from packages/nodes-base/nodes/Citrix/ADC/citrix.svg rename to packages/nodes-base/nodes/Netscaler/ADC/netscaler.svg diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index 7b5a73cfb6..1953005379 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -59,7 +59,6 @@ "dist/credentials/CiscoSecureEndpointApi.credentials.js", "dist/credentials/CiscoWebexOAuth2Api.credentials.js", "dist/credentials/CiscoUmbrellaApi.credentials.js", - "dist/credentials/CitrixAdcApi.credentials.js", "dist/credentials/CloudflareApi.credentials.js", "dist/credentials/ClearbitApi.credentials.js", "dist/credentials/ClickUpApi.credentials.js", @@ -234,6 +233,7 @@ "dist/credentials/N8nApi.credentials.js", "dist/credentials/NasaApi.credentials.js", "dist/credentials/NetlifyApi.credentials.js", + "dist/credentials/NetscalerAdcApi.credentials.js", "dist/credentials/NextCloudApi.credentials.js", "dist/credentials/NextCloudOAuth2Api.credentials.js", "dist/credentials/NocoDb.credentials.js", @@ -427,7 +427,6 @@ "dist/nodes/Chargebee/ChargebeeTrigger.node.js", "dist/nodes/CircleCi/CircleCi.node.js", "dist/nodes/Cisco/Webex/CiscoWebex.node.js", - "dist/nodes/Citrix/ADC/CitrixAdc.node.js", "dist/nodes/Cisco/Webex/CiscoWebexTrigger.node.js", "dist/nodes/Cloudflare/Cloudflare.node.js", "dist/nodes/Clearbit/Clearbit.node.js", @@ -642,6 +641,7 @@ "dist/nodes/NoOp/NoOp.node.js", "dist/nodes/Onfleet/Onfleet.node.js", "dist/nodes/Onfleet/OnfleetTrigger.node.js", + "dist/nodes/Netscaler/ADC/NetscalerAdc.node.js", "dist/nodes/Notion/Notion.node.js", "dist/nodes/Notion/NotionTrigger.node.js", "dist/nodes/Npm/Npm.node.js",