- 
                Notifications
    You must be signed in to change notification settings 
- Fork 20
Using a feature flag to route the PDP traffic to some specific accounts to our endpoint on EKS. #497
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
Conversation
| Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖 Please select which version do you want to release: 
 And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag. 
 | 
| Beep boop 🤖 I noticed you didn't make any changes at the  
 In order to keep track, I'll create an issue if you decide now is not a good time 
 | 
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
a5f02d8    to
    0d65e06      
    Compare
  
    
What problem is this solving?
Start routing 1% of the traffic that comes from our PDPs to evaluate wether we are ready to migrate some production traffic to our new endpoint.
How should this be manually tested?
Workspace
Example of log: https://developer.logs.vtex.com/_dashboards/app/data-explorer/discover#?_a=(discover:(columns:!(_source),isDirty:!f,sort:!()),metadata:(indexPattern:'99001f30-6c57-11ed-9a73-510481887478',view:discover))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-1h,to:now))&_q=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'99001f30-6c57-11ed-9a73-510481887478',key:Attributes.data.message,negate:!f,params:(query:'Product%20Details:%20Results%20differ'),type:phrase),query:(match_phrase:(Attributes.data.message:'Product%20Details:%20Results%20differ')))),query:(language:kuery,query:'Attributes.app:%22vtex.search-resolver%22%20AND%20Attributes.data.message:%22*:%20Results*%22'))
GraphiQL interface:
https://felipe--intelbras.myvtex.com/_v/private/[email protected]/graphiql/v1?operationName=Product&variables=%7B%0A%09%22identifier%22%3A%20%7B%20%0A%09%09%22field%22%3A%20%22id%22%2C%20%22value%22%3A%20%229970360%22%0A%09%7D%0A%7D
`fragment ProductFragment on Product {
advertisement {
adId
adResponseId
adRequestId
}
cacheId
productId
description
productName
productReference
linkText
brand
brandId
link
categories
categoryId
releaseDate
priceRange {
sellingPrice {
highPrice
lowPrice
}
listPrice {
highPrice
lowPrice
}
}
specificationGroups {
name
originalName
specifications {
name
originalName
values
}
}
skuSpecifications {
field {
name
originalName
}
values {
name
originalName
}
}
productClusters {
id
name
}
clusterHighlights {
id
name
}
properties {
name
values
}
}
fragment ItemFragment on SKU {
itemId
name
nameComplete
complementName
ean
variations {
name
values
}
referenceId {
Key
Value
}
measurementUnit
unitMultiplier
images {
cacheId
imageId
imageLabel
imageTag
imageUrl
imageText
}
}
fragment SellerFragment on Seller {
sellerId
sellerName
sellerDefault
}
fragment CommertialOfferFragment on Offer {
discountHighlights {
name
}
teasers {
name
conditions {
minimumQuantity
parameters {
name
value
}
}
effects {
parameters {
name
value
}
}
}
Price
ListPrice
Tax
taxPercentage
spotPrice
PriceWithoutDiscount
RewardValue
PriceValidUntil
AvailableQuantity
}
fragment InstallmentFragment on Installment {
Value
InterestRate
TotalValuePlusInterestRate
NumberOfInstallments
Name
PaymentSystemName
}
query Product($slug: String, $identifier: ProductUniqueIdentifier, $skipCategoryTree: Boolean = false) {
product(slug: $slug, identifier: $identifier) @context(provider: "vtex.search-graphql") {
...ProductFragment
titleTag
metaTagDescription
categoryId
categoryTree @Skip(if: $skipCategoryTree) {
id
name
href
}
items {
...ItemFragment
videos {
videoUrl
}
sellers {
...SellerFragment
addToCartLink
sellerDefault
commertialOffer {
...CommertialOfferFragment
CacheVersionUsedToCallCheckout
Installments {
...InstallmentFragment
}
}
}
kitItems {
itemId
amount
product {
productName
productId
description
linkText
categoryTree {
id
name
href
}
categoryId
brand
properties {
name
values
}
}
sku {
itemId
name
referenceId {
Key
Value
}
images {
imageId
imageLabel
imageTag
imageUrl
imageText
}
sellers {
...SellerFragment
addToCartLink
sellerDefault
commertialOffer {
...CommertialOfferFragment
Installments(criteria: MAX) {
...InstallmentFragment
}
}
}
}
}
attachments {
id
name
required
}
estimatedDateArrival
}
itemMetadata {
items {
id
name
imageUrl
seller
assemblyOptions {
id
name
required
inputValues {
label
maxLength
type
domain
defaultValue
}
composition {
minQuantity
maxQuantity
items {
id
minQuantity
maxQuantity
priceTable
seller
initialQuantity
}
}
}
}
priceTable {
type
values {
id
assemblyId
price
}
}
}
}
}
`
Input:
{ "identifier": { "field": "id", "value": "9970360" } }Checklist/Reminders
README.md.CHANGELOG.md.Screenshots or example usage
Type of changes
Notes