Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Fixes regression of the ability to add/remove a capability or a delivery service from a server#4859

Merged
ocket8888 merged 1 commit intoapache:masterfrom
mitchell852:issue-4853-broken-server-caps
Jul 13, 2020
Merged

Fixes regression of the ability to add/remove a capability or a delivery service from a server#4859
ocket8888 merged 1 commit intoapache:masterfrom
mitchell852:issue-4853-broken-server-caps

Conversation

@mitchell852
Copy link
Copy Markdown
Member

@mitchell852 mitchell852 commented Jul 8, 2020

What does this PR (Pull Request) do?

Which Traffic Control components are affected by this PR?

  • Traffic Portal

What is the best way to verify this PR?

  • Run the UI tests
  • Navigate to an Edge server and attempt to add/remove a capability. It should succeed.
  • Navigate to an Edge server and attempt to add/remove delivery service assignments. It should succeed.

If this is a bug fix, what versions of Traffic Control are affected?

  • master

The following criteria are ALL met by this PR

  • This PR includes tests OR I have explained why tests are unnecessary
  • This PR includes no documentation updates as it is just a bug fix
  • 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)

…val of serverservice.getServer() in favor of serverservice.getServers(id:x)
@mitchell852 mitchell852 added bug something isn't working as intended Traffic Portal v1 related to Traffic Portal version 1 regression bug a bug in existing functionality introduced by a new version labels Jul 8, 2020
@mitchell852 mitchell852 requested a review from ocket8888 July 8, 2020 01:44
@mitchell852 mitchell852 added the high impact impacts the basic function, deployment, or operation of a CDN label Jul 8, 2020
resolve: {
server: function() {
return server;
return $scope.server;
Copy link
Copy Markdown
Member Author

@mitchell852 mitchell852 Jul 9, 2020

Choose a reason for hiding this comment

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

this one actually fixes the ds/server assignment bug. the rest i just did for some reason :)

Copy link
Copy Markdown
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.

Changes look good, confirmed that capabilities and DSes can be given to a server.

@ocket8888 ocket8888 merged commit c0a3dcc into apache:master Jul 13, 2020
@mitchell852 mitchell852 removed the bug something isn't working as intended label Aug 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

high impact impacts the basic function, deployment, or operation of a CDN regression bug a bug in existing functionality introduced by a new version Traffic Portal v1 related to Traffic Portal version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot assign delivery services to a server in TP Cannot add a server capability to a server in TP

2 participants