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

Content carousel support #129

Merged
merged 8 commits into from
Mar 28, 2017
Merged

Conversation

izzyblues
Copy link
Contributor

This PR includes:

  • Monitoring exclusion for publishes generated by Content Carousel
  • Introduction of vendoring with govendor
  • Added missing LICENSE file 👨‍⚖️

@codecov-io
Copy link

codecov-io commented Mar 1, 2017

Codecov Report

Merging #129 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #129   +/-   ##
=======================================
  Coverage   82.21%   82.21%           
=======================================
  Files          13       13           
  Lines         461      461           
=======================================
  Hits          379      379           
  Misses         60       60           
  Partials       22       22
Impacted Files Coverage Δ
content/methodeContent.go 71.83% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57e25c2...2e8a325. Read the comment docs.

Copy link
Contributor

@peteclark-ft peteclark-ft left a comment

Choose a reason for hiding this comment

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

👍

app_test.go Outdated
if !isIgnorableMessage(syntheticTID) {
t.Error("Synthetic message marked as normal")
}
if !isIgnorableMessage(carouselRepublishTID) {
t.Error("Courousel republish message marked as normal")
Copy link
Contributor

Choose a reason for hiding this comment

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

Carousel :)

app_test.go Outdated
t.Error("Courousel republish message marked as normal")
}
if !isIgnorableMessage(carouselGeneratedTID) {
t.Error("Courousel generated message marked as normal")
Copy link
Contributor

Choose a reason for hiding this comment

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

And again Carousel

@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.247% when pulling 381b507 on feature/content-carousel-support into 57e25c2 on master.

LICENSE Outdated
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2016 Financial Times
Copy link
Contributor

Choose a reason for hiding this comment

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

2017

app.go Outdated
return strings.HasPrefix(tid, "SYNTHETIC")
}

var carouselTransactionIDRegExp = regexp.MustCompile(`^(tid_[\S]+)_carousel_[\d]{10}.*$`)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd prefer all the declarations at the top of the file. Also I wonder whether this should be ^(tid_[^_]+)_...

@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.247% when pulling 2e8a325 on feature/content-carousel-support into 57e25c2 on master.

@izzyblues izzyblues merged commit fe5da2e into master Mar 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants