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

LPS-124415 [Back] Create traffic source detail representation for SOCIAL traffic #96637

Conversation

liferay-continuous-integration
Copy link
Collaborator

Forwarded from: liferay-tango#637 (Took 1 ci:forward attempt in 1 minute)

@darquesdev
@liferay-tango

Original pull request comment:
Motivation:
This PR provides a representation for the second level of social traffic: a list of referring social media with the correspoding traffic.

{
       "name":"social",
       "share":"90,0",
       "title":"Social",
       "referringSocialMedia":[
          {
             "name":"twitter",
             "trafficAmount":1165,
             "title":"Twitter"
          },
          {
             "name":"other",
             "trafficAmount":30,
             "title":"Other"
          }
       ],
       "value":5532,
       "helpMessage":"This is the number of page views generated by people coming to your page from social sites."
    }

Solution:
Add a new property to SocialTrafficChannelImpl that represents the referring social media and add update the toJSONObject accordingly to include the new property.

How to test it:
Unit tests have been included

✔️ ci:test:stable - 9 out of 9 jobs passed

✔️ ci:test:relevant - 21 out of 21 jobs passed in 2 hours 51 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 8eebb07a14c6528941d9dbe9144a7ae63f00999e

Copied in Private Modules Branch:

Branch Name: master-private
Branch GIT ID: 22478fba589bf9dfa1ff6225fb25ee8fcbb03693

ci:test:stable - 9 out of 9 jobs PASSED
9 Successful Jobs:
ci:test:relevant - 21 out of 21 jobs PASSED
21 Successful Jobs:
For more details click here.

✔️ ci:test:sf - 1 out of 1 jobs passed in 5 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 13e82005940e2f8b2d58d2fbfd7fa8400477dc20

Sender Branch:

Branch Name: LPS-124415
Branch GIT ID: 6d867f8b3503e0c53e93155fbcb13bd470437c6d

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

@liferay-continuous-integration
Copy link
Collaborator Author

To conserve resources, the PR Tester does not automatically run for forwarded pull requests.

@brianchandotcom
Copy link
Owner

Merged. Thank you.
View total diff: 94a842c...402623a

@brianchandotcom
Copy link
Owner

@darquesdev see 402623a

@liferay-continuous-integration liferay-continuous-integration deleted the ci-forward-LPS-124415-pr-637-sender-darquesdev-ts-1607085714943 branch December 12, 2020 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants