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

Feature/search microservice #2106

Merged
merged 2 commits into from
Apr 9, 2021

Conversation

izhuravlev
Copy link
Contributor

Issue This PR Addresses

Updated #1802
Closes #1737

Type of Change

  • Bugfix: Change which fixes an issue
  • New Feature: Change which adds functionality
  • Documentation Update: Change which improves documentation
  • UI: Change which improves UI

Description

Adds support for search.docker.localhost, which ports the original ELK query controller to a dedicated service. The following is added as a warning to not work further on the original codebase for querying:

NOTE: The tests will be done in the follow-up to this PR.

/*
 * NOTE: This has been ported to ~/src/api/search
 * Future updates will remove the codebase below
 * and point towards `service.docker.localhost` for querying.
 */

image

Checklist

  • Quality: This PR builds and passes our npm test and works locally
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not (if applicable)
  • Documentation: This PR includes updated/added documentation to user exposed functionality or configuration variables are added/changed or an explanation of why it does not(if applicable)

src/api/search/package.json Outdated Show resolved Hide resolved
config/env.development Outdated Show resolved Hide resolved
docker/docker-compose.yml Outdated Show resolved Hide resolved
docker/docker-compose.yml Outdated Show resolved Hide resolved
docker/docker-compose.yml Outdated Show resolved Hide resolved
src/api/search/Dockerfile Outdated Show resolved Hide resolved
src/api/search/Dockerfile Outdated Show resolved Hide resolved
src/api/search/package.json Outdated Show resolved Hide resolved
docker/docker-compose.yml Show resolved Hide resolved
src/api/search/README.md Show resolved Hide resolved
src/api/search/README.md Outdated Show resolved Hide resolved
@humphd
Copy link
Contributor

humphd commented Apr 9, 2021

This needs a rebase to deal with the Parser service landing just now.

…backend

fixes: missing variables from port

adds: documentation updates and code cleanup

adds: corrections based on feedback and improvements

adds: port of original tests (failing WIP)

fixes: rebase issues and updates docker env
humphd
humphd previously approved these changes Apr 9, 2021
RUN apk add dumb-init

# Force production env, regardless of what we get from .env
ENV NODE_ENV production
Copy link
Contributor

Choose a reason for hiding this comment

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

You can remove it.

@humphd humphd requested a review from chrispinkney April 9, 2021 19:21
@humphd humphd merged commit 9952b59 into Seneca-CDOT:master Apr 9, 2021
Microservice Architecture Port automation moved this from In progress to Done Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Create a search microservice
5 participants