2020-03-12 11:57:57 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
|
|
|
NodePropertyTypes,
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
|
2020-03-15 11:20:41 -07:00
|
|
|
export class RundeckApi implements ICredentialType {
|
|
|
|
name = 'rundeckApi';
|
|
|
|
displayName = 'Rundeck API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'rundeck';
|
2020-03-12 11:57:57 -07:00
|
|
|
properties = [
|
|
|
|
{
|
|
|
|
displayName: 'Url',
|
|
|
|
name: 'url',
|
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
default: '',
|
2020-03-15 11:20:41 -07:00
|
|
|
placeholder: 'http://127.0.0.1:4440',
|
2020-03-12 11:57:57 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Token',
|
|
|
|
name: 'token',
|
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|