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

Add TO Go cachegroups/id/deliveryservices#2300

Merged
dewrich merged 3 commits into
apache:masterfrom
rob05c:to-go-cgds
Sep 13, 2018
Merged

Add TO Go cachegroups/id/deliveryservices#2300
dewrich merged 3 commits into
apache:masterfrom
rob05c:to-go-cgds

Conversation

@rob05c

@rob05c rob05c commented May 18, 2018

Copy link
Copy Markdown
Member

What does this PR do?

Add TO Go cachegroups/id/deliveryservices

Which TC components are affected by this PR?

  • Documentation
  • Grove
  • Traffic Analytics
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • Other _________

What is the best way to verify this PR?

POST /api/1.2/cachegroups/id/deliveryservices/

Check all that apply

  • This PR includes tests
  • This PR includes documentation updates
  • This PR includes an update to CHANGELOG.md
  • This PR includes all required license headers
  • This PR includes a database migration (ensure that migration sequence is correct)
  • This PR fixes a serious security flaw. Read more: www.apache.org/security

@asfgit

asfgit commented May 19, 2018

Copy link
Copy Markdown
Contributor

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

@asfgit

asfgit commented May 22, 2018

Copy link
Copy Markdown
Contributor

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

@asfgit

asfgit commented Jun 5, 2018

Copy link
Copy Markdown
Contributor

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

@asfgit

asfgit commented Jun 25, 2018

Copy link
Copy Markdown
Contributor

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

@asfgit

asfgit commented Jun 27, 2018

Copy link
Copy Markdown
Contributor

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

@asfgit

asfgit commented Jun 28, 2018

Copy link
Copy Markdown
Contributor

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

@asfgit

asfgit commented Jun 28, 2018

Copy link
Copy Markdown
Contributor

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

@asfgit

asfgit commented Jul 6, 2018

Copy link
Copy Markdown
Contributor

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

Comment thread traffic_ops/client/v13/server.go Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed

Comment thread traffic_ops/client/v13/server.go Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@rob05c rob05c Jul 6, 2018

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed. I left these, and removed the others, because these return more data.

@asfgit

asfgit commented Jul 6, 2018

Copy link
Copy Markdown
Contributor

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

@asfgit

asfgit commented Jul 9, 2018

Copy link
Copy Markdown
Contributor

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

@asfgit

asfgit commented Aug 28, 2018

Copy link
Copy Markdown
Contributor

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

@rob05c

rob05c commented Sep 13, 2018

Copy link
Copy Markdown
Member Author

Rebased, API tests pass, unit tests pass.

@asfgit

asfgit commented Sep 13, 2018

Copy link
Copy Markdown
Contributor

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

}

// FinishTx commits the transaction if commit is true when it's called, otherwise it rolls back the transaction. This is designed to be called in a defer.
func FinishTx(tx *sql.Tx, commit *bool) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this something that needs to be implemented on all Handlers now?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No, this was a legacy thing, because this PR was made before everything was changed to use transactions. I removed it.

@asfgit

asfgit commented Sep 13, 2018

Copy link
Copy Markdown
Contributor

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

@dewrich dewrich merged commit 5197a2d into apache:master Sep 13, 2018
@rob05c rob05c deleted the to-go-cgds branch January 2, 2019 20:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

new feature A new feature, capability or behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants