-
Notifications
You must be signed in to change notification settings - Fork 186
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
Allow multiple server selection in the agent deploy section #4737
Allow multiple server selection in the agent deploy section #4737
Conversation
Hey, @Machi3mfl it could be nice if you could add some test steps. |
public/controllers/agent/register-agent/steps/server-address.tsx
Outdated
Show resolved
Hide resolved
public/controllers/agent/register-agent/steps/server-address.tsx
Outdated
Show resolved
Hide resolved
public/controllers/agent/register-agent/steps/server-address.tsx
Outdated
Show resolved
Hide resolved
question: https://github.com/wazuh/wazuh-kibana-app/pull/4760/files#r1005401745
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with comments
I left the testing steps in the linked issue |
public/controllers/agent/register-agent/steps/__snapshots__/server-address.test.tsx.snap
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
TR: ✔️
Screencast.from.27-10-22.11.30.51.webm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…re/4109-suggest-cluster-ip-deploy-agent
Added comment in the linked issue to tread this topic: #4318 (comment) |
* section deploy new agent in progress * tabSystemD and tabSysV * section deploy a new agent done * cleaning code * cleaning code * test * CHANGELOG * code cleaning * design for when a user selects an obsolete system version * code cleanup * changed macOS for macOS and updated the macOS version view * development with information update provided by ci cd * applying some of the new changes that the ci cd team sent us today * delete * updating information sent by ci/cd on operating systems, commands, etc. * logic of displaying message to rare operating systems and redirecting them to documentation * logic of displaying message to rare operating systems and redirecting them to documentation * wazuh protocol variable * Ordered OS buttons in deploy new agent steps * removing spaces, css den deshuso, unify uppercase * removing link space * fixed labels * change of logic in links * Removed snapshot to fix unit tests workflow * Add agent name to the deployment command (#4739) * Add variable for the agent's name * input is cleaned if there is no data * design input name * Update CHANGELOG * Resolved review comment, unused code and code format Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> * Allow multiple server selection in the agent deploy section (#4737) * Replaced input server address * Testing signed commits * Added server address component isolated from register-agent component * Added test for multiple nodes rendered in combobox * Added wazuh manager multiple ips in command definition * Refactored and cleaned code * Added unit test * Updated CHANGELOG * Added default option and paste only name in combo tag * Added free option enter and cleaned code * Refactored code and added new tests and fixed old tests * Resolved review comments following dev style guide * Added OS delimiter condition * Added and updated unit tests * Resolved review comments * Removed empty file Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> * links included * remove messages, add and remove links * update * Revert "Allow multiple server selection in the agent deploy section" (#4775) Revert "Allow multiple server selection in the agent deploy section (#4737)" This reverts commit b60fd49. * changes Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
* section deploy new agent in progress * tabSystemD and tabSysV * section deploy a new agent done * cleaning code * cleaning code * test * CHANGELOG * code cleaning * design for when a user selects an obsolete system version * code cleanup * changed macOS for macOS and updated the macOS version view * development with information update provided by ci cd * applying some of the new changes that the ci cd team sent us today * delete * updating information sent by ci/cd on operating systems, commands, etc. * logic of displaying message to rare operating systems and redirecting them to documentation * logic of displaying message to rare operating systems and redirecting them to documentation * wazuh protocol variable * Ordered OS buttons in deploy new agent steps * removing spaces, css den deshuso, unify uppercase * removing link space * fixed labels * change of logic in links * Removed snapshot to fix unit tests workflow * Add agent name to the deployment command (#4739) * Add variable for the agent's name * input is cleaned if there is no data * design input name * Update CHANGELOG * Resolved review comment, unused code and code format Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> * Allow multiple server selection in the agent deploy section (#4737) * Replaced input server address * Testing signed commits * Added server address component isolated from register-agent component * Added test for multiple nodes rendered in combobox * Added wazuh manager multiple ips in command definition * Refactored and cleaned code * Added unit test * Updated CHANGELOG * Added default option and paste only name in combo tag * Added free option enter and cleaned code * Refactored code and added new tests and fixed old tests * Resolved review comments following dev style guide * Added OS delimiter condition * Added and updated unit tests * Resolved review comments * Removed empty file Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> * links included * remove messages, add and remove links * update * Revert "Allow multiple server selection in the agent deploy section" (#4775) Revert "Allow multiple server selection in the agent deploy section (#4737)" This reverts commit b60fd49. * changes Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com> (cherry picked from commit 77945e2)
* section deploy new agent in progress * tabSystemD and tabSysV * section deploy a new agent done * cleaning code * cleaning code * test * CHANGELOG * code cleaning * design for when a user selects an obsolete system version * code cleanup * changed macOS for macOS and updated the macOS version view * development with information update provided by ci cd * applying some of the new changes that the ci cd team sent us today * delete * updating information sent by ci/cd on operating systems, commands, etc. * logic of displaying message to rare operating systems and redirecting them to documentation * logic of displaying message to rare operating systems and redirecting them to documentation * wazuh protocol variable * Ordered OS buttons in deploy new agent steps * removing spaces, css den deshuso, unify uppercase * removing link space * fixed labels * change of logic in links * Removed snapshot to fix unit tests workflow * Add agent name to the deployment command (#4739) * Add variable for the agent's name * input is cleaned if there is no data * design input name * Update CHANGELOG * Resolved review comment, unused code and code format Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> * Allow multiple server selection in the agent deploy section (#4737) * Replaced input server address * Testing signed commits * Added server address component isolated from register-agent component * Added test for multiple nodes rendered in combobox * Added wazuh manager multiple ips in command definition * Refactored and cleaned code * Added unit test * Updated CHANGELOG * Added default option and paste only name in combo tag * Added free option enter and cleaned code * Refactored code and added new tests and fixed old tests * Resolved review comments following dev style guide * Added OS delimiter condition * Added and updated unit tests * Resolved review comments * Removed empty file Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> * links included * remove messages, add and remove links * update * Revert "Allow multiple server selection in the agent deploy section" (#4775) Revert "Allow multiple server selection in the agent deploy section (#4737)" This reverts commit b60fd49. * changes Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com> (cherry picked from commit 77945e2)
Redesign of add agent page (#4647) * section deploy new agent in progress * tabSystemD and tabSysV * section deploy a new agent done * cleaning code * cleaning code * test * CHANGELOG * code cleaning * design for when a user selects an obsolete system version * code cleanup * changed macOS for macOS and updated the macOS version view * development with information update provided by ci cd * applying some of the new changes that the ci cd team sent us today * delete * updating information sent by ci/cd on operating systems, commands, etc. * logic of displaying message to rare operating systems and redirecting them to documentation * logic of displaying message to rare operating systems and redirecting them to documentation * wazuh protocol variable * Ordered OS buttons in deploy new agent steps * removing spaces, css den deshuso, unify uppercase * removing link space * fixed labels * change of logic in links * Removed snapshot to fix unit tests workflow * Add agent name to the deployment command (#4739) * Add variable for the agent's name * input is cleaned if there is no data * design input name * Update CHANGELOG * Resolved review comment, unused code and code format Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> * Allow multiple server selection in the agent deploy section (#4737) * Replaced input server address * Testing signed commits * Added server address component isolated from register-agent component * Added test for multiple nodes rendered in combobox * Added wazuh manager multiple ips in command definition * Refactored and cleaned code * Added unit test * Updated CHANGELOG * Added default option and paste only name in combo tag * Added free option enter and cleaned code * Refactored code and added new tests and fixed old tests * Resolved review comments following dev style guide * Added OS delimiter condition * Added and updated unit tests * Resolved review comments * Removed empty file Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> * links included * remove messages, add and remove links * update * Revert "Allow multiple server selection in the agent deploy section" (#4775) Revert "Allow multiple server selection in the agent deploy section (#4737)" This reverts commit b60fd49. * changes Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com> (cherry picked from commit 77945e2) Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>
Redesign of add agent page (#4647) * section deploy new agent in progress * tabSystemD and tabSysV * section deploy a new agent done * cleaning code * cleaning code * test * CHANGELOG * code cleaning * design for when a user selects an obsolete system version * code cleanup * changed macOS for macOS and updated the macOS version view * development with information update provided by ci cd * applying some of the new changes that the ci cd team sent us today * delete * updating information sent by ci/cd on operating systems, commands, etc. * logic of displaying message to rare operating systems and redirecting them to documentation * logic of displaying message to rare operating systems and redirecting them to documentation * wazuh protocol variable * Ordered OS buttons in deploy new agent steps * removing spaces, css den deshuso, unify uppercase * removing link space * fixed labels * change of logic in links * Removed snapshot to fix unit tests workflow * Add agent name to the deployment command (#4739) * Add variable for the agent's name * input is cleaned if there is no data * design input name * Update CHANGELOG * Resolved review comment, unused code and code format Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> * Allow multiple server selection in the agent deploy section (#4737) * Replaced input server address * Testing signed commits * Added server address component isolated from register-agent component * Added test for multiple nodes rendered in combobox * Added wazuh manager multiple ips in command definition * Refactored and cleaned code * Added unit test * Updated CHANGELOG * Added default option and paste only name in combo tag * Added free option enter and cleaned code * Refactored code and added new tests and fixed old tests * Resolved review comments following dev style guide * Added OS delimiter condition * Added and updated unit tests * Resolved review comments * Removed empty file Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> * links included * remove messages, add and remove links * update * Revert "Allow multiple server selection in the agent deploy section" (#4775) Revert "Allow multiple server selection in the agent deploy section (#4737)" This reverts commit b60fd49. * changes Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com> Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com> Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com> (cherry picked from commit 77945e2) Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>
Description
Suggest node ip in server address input from Deploy new agent section
Issues Resolved
Closes #4109
Check List
yarn test:jest