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

TP: Ability to manage capabilities of servers #3998

Merged
merged 14 commits into from
Oct 24, 2019

Conversation

mitchell852
Copy link
Member

@mitchell852 mitchell852 commented Oct 16, 2019

What does this PR (Pull Request) do?

This PR provides users with the ability to:

  • assign/remove server capabilities to/from a server

  • view all servers that have a specific capability and, if needed, remove a server from a capability.

  • This PR is not related to any Issue but is related to this blueprint

Which Traffic Control components are affected by this PR?

  • Traffic Portal

What is the best way to verify this PR?

  • Launch TP
  • ensure that server capabilities exist: tp.domain.com/#!/server-capabilities (if not, add one or two)
  • navigate to any server: tp.domain.com/#!/servers/{id}
  • click on More > Manage Capabilities
  • add/remove capabilities to/from the server but leave at least one capability on the server.
  • navigate back to a capability you left on the server - tp.domain.com/#!/server-capabilities/{capability name}
  • click 'view servers' to see the servers that utilize the capability and remove a server from the capability.

The following criteria are ALL met by this PR

  • This PR includes tests OR I have explained why tests are unnecessary
  • This PR includes documentation OR I have explained why documentation is unnecessary
  • This PR includes an update to CHANGELOG.md OR such an update is not necessary
  • This PR includes any and all required license headers
  • This PR ensures that database migration sequence is correct OR this PR does not include a database migration
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

Capabilities assigned to a server:

image

Servers that utilize a capability:

image

@mitchell852 mitchell852 added new feature A new feature, capability or behavior Traffic Portal v1 related to Traffic Portal version 1 labels Oct 16, 2019
@asf-ci
Copy link
Contributor

asf-ci commented Oct 16, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4550/

@mitchell852 mitchell852 force-pushed the s-s-caps-ui branch 2 times, most recently from 470faaa to a828298 Compare October 16, 2019 18:03
@asf-ci
Copy link
Contributor

asf-ci commented Oct 16, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4554/

@asf-ci
Copy link
Contributor

asf-ci commented Oct 16, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4556/

@asf-ci
Copy link
Contributor

asf-ci commented Oct 16, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4559/

@asf-ci
Copy link
Contributor

asf-ci commented Oct 16, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4560/

@asf-ci
Copy link
Contributor

asf-ci commented Oct 17, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4565/

@asf-ci
Copy link
Contributor

asf-ci commented Oct 22, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4604/

@mitchell852 mitchell852 force-pushed the s-s-caps-ui branch 2 times, most recently from fa79a4c to 49474dd Compare October 22, 2019 18:05
@asf-ci
Copy link
Contributor

asf-ci commented Oct 22, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4605/

@asf-ci
Copy link
Contributor

asf-ci commented Oct 22, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4609/

@asf-ci
Copy link
Contributor

asf-ci commented Oct 22, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4611/

@mitchell852 mitchell852 marked this pull request as ready for review October 22, 2019 20:23
@asf-ci
Copy link
Contributor

asf-ci commented Oct 22, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4612/

@asf-ci
Copy link
Contributor

asf-ci commented Oct 23, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4629/

Copy link
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

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

Verified manually that it works, tests pass, docs build without error and are accurate and properly formatted, No _.js dependency

@ocket8888 ocket8888 merged commit 1df7511 into apache:master Oct 24, 2019
@mitchell852 mitchell852 changed the title TP: Ability to manager capabilities of servers TP: Ability to manage capabilities of servers Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new feature, capability or behavior Traffic Portal v1 related to Traffic Portal version 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants