Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add KEYS_API_URL configuration #240

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

eddort
Copy link
Member

@eddort eddort commented Sep 12, 2024

No description provided.

@Amuhar
Copy link
Contributor

Amuhar commented Sep 12, 2024

Lets add info about this configurations in README?

KEYS_API_HOST = '';

@ValidateIf((conf) => {
return !conf.KEYS_API_PORT && !conf.KEYS_API_HOST;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we want to use KEYS_API_URL only if both conf.KEYS_API_PORT and conf.KEYS_API_HOST were not set, right ?

);
toHaveProblemWithRecords(['KEYS_API_HOST'], validationErrors);
});
});
Copy link
Contributor

@Amuhar Amuhar Sep 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we also need test 'KEYS_API_URL, KEYS_API_HOST, KEYS_API_PORT are set'

@Amuhar
Copy link
Contributor

Amuhar commented Sep 13, 2024

lgtm, good work
wrote minor comments

@Amuhar Amuhar mentioned this pull request Sep 16, 2024
@Amuhar Amuhar merged commit ce9f5a9 into fix/val-1200-keys-events-fetch-impr Sep 18, 2024
5 checks passed
@Amuhar Amuhar deleted the fix/kapi-url-config branch September 18, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants