rename ingestionProcessors to processors
This commit is contained in:
@@ -24,7 +24,7 @@ describe('AzureApiReaderProcessor', () => {
|
||||
context: '',
|
||||
data: {
|
||||
backend: {
|
||||
ingestionProcessors: {
|
||||
processors: {
|
||||
azureApi: {
|
||||
privateToken: token,
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@ export class AzureApiReaderProcessor implements LocationProcessor {
|
||||
constructor(config: Config) {
|
||||
this.privateToken =
|
||||
(config.getOptional(
|
||||
'backend.ingestionProcessors.azureApi.privateToken',
|
||||
'backend.processors.azureApi.privateToken',
|
||||
) as string) ?? '';
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ describe('BitbucketApiReaderProcessor', () => {
|
||||
context: '',
|
||||
data: {
|
||||
backend: {
|
||||
ingestionProcessors: {
|
||||
processors: {
|
||||
bitbucketApi: {
|
||||
userName: userName,
|
||||
appPassword: appPassword,
|
||||
|
||||
@@ -27,11 +27,11 @@ export class BitbucketApiReaderProcessor implements LocationProcessor {
|
||||
constructor(config: Config) {
|
||||
this.username =
|
||||
(config.getOptional(
|
||||
'backend.ingestionProcessors.bitbucketApi.userName',
|
||||
'backend.processors.bitbucketApi.userName',
|
||||
) as string) ?? '';
|
||||
this.password =
|
||||
(config.getOptional(
|
||||
'backend.ingestionProcessors.bitbucketApi.appPassword',
|
||||
'backend.processors.bitbucketApi.appPassword',
|
||||
) as string) ?? '';
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ describe('GithubApiReaderProcessor', () => {
|
||||
context: '',
|
||||
data: {
|
||||
backend: {
|
||||
ingestionProcessors: {
|
||||
processors: {
|
||||
githubApi: {
|
||||
privateToken: token,
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@ export class GithubApiReaderProcessor implements LocationProcessor {
|
||||
constructor(config: Config) {
|
||||
this.privateToken =
|
||||
(config.getOptional(
|
||||
'backend.ingestionProcessors.githubApi.privateToken',
|
||||
'backend.processors.githubApi.privateToken',
|
||||
) as string) ?? '';
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ describe('GitlabApiReaderProcessor', () => {
|
||||
context: '',
|
||||
data: {
|
||||
backend: {
|
||||
ingestionProcessors: {
|
||||
processors: {
|
||||
gitlabApi: {
|
||||
privateToken: token,
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@ export class GitlabApiReaderProcessor implements LocationProcessor {
|
||||
constructor(config: Config) {
|
||||
this.privateToken =
|
||||
(config.getOptional(
|
||||
'backend.ingestionProcessors.gitlabApi.privateToken',
|
||||
'backend.processors.gitlabApi.privateToken',
|
||||
) as string) ?? '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user