mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(Cortex Node): Fix issue that not all Analyzers got returned (#3606)
* Updated Cortex analyzer search url to fetch all * Updated Cortex credentials * Nodelinter fixes * More fixes
This commit is contained in:
committed by
GitHub
parent
522b31a47b
commit
6e595c7276
@@ -1,4 +1,6 @@
|
||||
import {
|
||||
IAuthenticateGeneric,
|
||||
ICredentialTestRequest,
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
@@ -24,4 +26,21 @@ export class CortexApi implements ICredentialType {
|
||||
placeholder: 'https://localhost:9001',
|
||||
},
|
||||
];
|
||||
|
||||
authenticate: IAuthenticateGeneric = {
|
||||
type: 'generic',
|
||||
properties: {
|
||||
headers: {
|
||||
Authorization: '=Bearer {{$credentials.cortexApiKey}}',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
baseURL: '={{$credentials.host}}',
|
||||
url: '/api/analyzer',
|
||||
},
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user