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 75364 #52387

Closed
wants to merge 58 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
09ef488
LPS-52675 SF
brianchandotcom Oct 9, 2017
e27b9f5
LPS-64031 SF
brianchandotcom Oct 9, 2017
7dd2d2a
LRQA-35271 Prevent success message issues in workflow tasks
vicnate5 Oct 6, 2017
99d9675
LPS-75195 SF.
brandizzi Oct 11, 2017
488d453
LRQA-35378 Add title for test so a 'name your workflow' error doesn't…
Oct 10, 2017
4428631
LRQA-35378 Fix macro to click on the Publish button instead of the Sa…
Oct 10, 2017
29bba80
LRQA-35378 Update error message assertion
Oct 10, 2017
d40894d
LRQA-33366 Add a macro to assert no duplicate workflow task present
liulukiwi Oct 10, 2017
abe2b05
LRQA-33366 Update the case to cover LPS-72846
liulukiwi Oct 10, 2017
295257d
LRQA-33366 SF.
brandizzi Oct 11, 2017
af769cf
LPS-74931 / LPS-73731 SF.
brandizzi Sep 26, 2017
6756444
LPS-74931 / LPS-73731 We will need the tab name to create a tab autom…
brandizzi Sep 27, 2017
212f7e4
LPS-74931 / LPS-73731 Create a search URL from the dynamic include.
brandizzi Sep 27, 2017
1cd460b
LPS-74931 / LPS-73731 Add to dynamic include the information about th…
brandizzi Sep 27, 2017
64bdb30
LPS-74931 / LPS-73731 Retrieve workflow dynamic includes.
brandizzi Sep 27, 2017
b14d8bb
LPS-74931 / LPS-73731 Move navigation to view.jsp
brandizzi Sep 27, 2017
c3c7e6b
LPS-74931 / LPS-73731 Once navigation is done by /view.jsp, all redir…
brandizzi Sep 27, 2017
2e20a7e
LPS-74736 Sync version with 7.0.x
brandizzi Oct 11, 2017
546e27b
LPS-74698 If backURL is not set then go to My Workflow Tasks
dacousalr Oct 3, 2017
9e1bebc
LPS-74698 SF.
brandizzi Oct 11, 2017
1b30b42
LPS-72054 Add missing javax.portlet.title key to the language.propert…
Oct 13, 2017
249633a
LPS-72054 These titles are right now added to portal-workflow-lang.
brandizzi Oct 13, 2017
adc79d7
LPS-72054 gradlew buildLang.
brandizzi Oct 13, 2017
27250d3
LPS-74974 / LPS-73731 We need access to the dynamic include servlet c…
brandizzi Sep 27, 2017
70bf562
LPS-74974 / LPS-73731 Use dynamic include servlet context to include …
brandizzi Sep 27, 2017
1c53ea3
LRQA-33382 Add new user and organization site for case
brianwulbern Oct 18, 2017
2460d97
LRQA-33382 Update variable name
vicnate5 Oct 18, 2017
f7095f3
LPS-0 Bump version
inacionery Oct 19, 2017
4740a42
subrepo:ignore Update 'modules/apps/forms-and-workflow/portal-workflo…
liferay-continuous-integration Oct 20, 2017
160202f
LPS-0 Clear version-override for modules/apps/forms-and-workflow/port…
liferay-continuous-integration Oct 20, 2017
c1c6247
LPS-75174 Modify event properties to be generic
Oct 13, 2017
5b543d4
LPS-75174 Immutability and AnalyticsEventsMessage builder pattern
Oct 13, 2017
0fdd3d5
LPS-75174 Update tests
Oct 13, 2017
7dbc4e2
LPS-75174 Add unit tests
Oct 13, 2017
90a7b90
LPS-75174 Add analytics key
Oct 16, 2017
d511a58
LPS-75174 Add protocol version
Oct 16, 2017
48f430c
LPS-75174 Allow overriding default analytics gateway url through syst…
Oct 16, 2017
5ed41c5
LPS-75174 Update tests.
Oct 16, 2017
79f4ff1
LPS-75174 typo
brianchandotcom Oct 16, 2017
ae63436
LPS-75174 this is not a request
brianchandotcom Oct 16, 2017
e837750
LPS-75174 Fix compilation error
Oct 17, 2017
8188228
subrepo:ignore Update 'modules/apps/analytics/.gitrepo'.
liferay-continuous-integration Oct 20, 2017
78dbe2a
LPS-75364 Create petra-function.
Preston-Crary Oct 19, 2017
04935f3
LPS-75364 Copy over UnsafeConsumer and UnsafeFunction.
Preston-Crary Oct 19, 2017
12b9349
LPS-75364 Fix compile errors.
Preston-Crary Oct 19, 2017
a3ac57f
LPS-75364 Declare as FunctionalInterfaces.
Preston-Crary Oct 19, 2017
ec441c5
LPS-75364 packageinfo.
Preston-Crary Oct 19, 2017
0cf8f4f
LPS-75364 Copy over test.
Preston-Crary Oct 19, 2017
a0cdffd
LPS-75364 Fix test compile errors.
Preston-Crary Oct 19, 2017
6e2867f
LPS-75364 Update module.xml.
Preston-Crary Oct 19, 2017
ea7d6ff
LPS-75364 Update project files.
Preston-Crary Oct 19, 2017
4af72f7
LPS-75364 Bootstrap.
Preston-Crary Oct 19, 2017
c5d09bb
LPS-75364 Deprecate portal-kernel's UnsafeConsumer, UnsafeFunction an…
Preston-Crary Oct 19, 2017
3cd05b0
LPS-75364 Remove usage for portal-kernel UnsafeConsumer and UnsafeFun…
Preston-Crary Oct 19, 2017
bbb4347
LPS-75364 Create UnsafeSupplier.
Preston-Crary Oct 19, 2017
c2a1666
LPS-75364 Gradle cache.
Preston-Crary Oct 19, 2017
582c943
LPS-75364 Remove usages of UnsafeRunnable.
Preston-Crary Oct 19, 2017
91fa13f
LPS-75364 Enforce code coverage for UnsafeFunction and UnsafeSupplier.
Preston-Crary Oct 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .classpath
Expand Up @@ -8,6 +8,7 @@
<classpathentry excluding="**/.svn/**|.svn/" kind="src" path="modules/apps/foundation/petra/petra-log4j/src/main/java"/>
<classpathentry excluding="**/.svn/**|.svn/" kind="src" path="modules/apps/foundation/petra/petra-mail/src/main/java"/>
<classpathentry excluding="**/.svn/**|.svn/" kind="src" path="modules/apps/foundation/petra/petra-memory/src/main/java"/>
<classpathentry excluding="**/.svn/**|.svn/" kind="src" path="modules/core/petra/petra-function/src/main/java"/>
<classpathentry excluding="**/.svn/**|.svn/" kind="src" path="modules/core/petra/petra-nio/src/main/java"/>
<classpathentry excluding="**/.svn/**|.svn/" kind="src" path="modules/core/petra/petra-string/src/main/java"/>
<classpathentry excluding="**/.svn/**|.svn/" kind="src" path="modules/core/registry-api/src/main/java"/>
Expand Down
Binary file not shown.
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.liferay</groupId>
<artifactId>com.liferay.petra.function</artifactId>
<version>1.0.0</version>
<description>Liferay Petra Function</description>
<licenses>
<license>
<name>LGPL 2.1</name>
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Brian Wing Shun Chan</name>
<organization>Liferay, Inc.</organization>
<organizationUrl>http://www.liferay.com</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:liferay/liferay-plugins.git</connection>
<developerConnection>scm:git:git@github.com:liferay/liferay-plugins.git</developerConnection>
<url>http://github.com/liferay/liferay-plugins</url>
</scm>
</project>
4 changes: 2 additions & 2 deletions modules/apps/analytics/.gitrepo
Expand Up @@ -4,8 +4,8 @@
[subrepo]
autopull = true
cmdver = liferay
commit = 1750598a28864f8f7c01661eb1660824e5b2237b
commit = 87c486599eb9468fd13c4fbd844171cc8686de7c
mergebuttonmergecommits = false
mode = pull
parent = 3f0e5a58906d54a2693a7cee5ae60986f7e7cc2a
parent = 160202f0dc92174dc0cb2f13a0abf2dcc88f3bde
remote = git@github.com:liferay/com-liferay-analytics.git
Expand Up @@ -17,7 +17,6 @@
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.Invocation;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
Expand All @@ -28,19 +27,17 @@
public class AnalyticsClient {

public Response sendAnalytics(
AnalyticsEventsMessage analyticsEventMessage) {
AnalyticsEventsMessage analyticsEventsMessage) {

WebTarget webTarget = _client.target(_ANALYTICS_GATEWAY_URL);

Invocation.Builder request = webTarget.request(
MediaType.APPLICATION_JSON);

return request.post(
Entity.entity(analyticsEventMessage, MediaType.APPLICATION_JSON));
return webTarget.request(MediaType.APPLICATION_JSON).post(
Entity.entity(analyticsEventsMessage, MediaType.APPLICATION_JSON));
}

private static final String _ANALYTICS_GATEWAY_URL =
"http://54.235.215.13:8095/api/analyticsgateway/send-analytics-events";
private static final String _ANALYTICS_GATEWAY_URL = System.getProperty(
"analytics.gateway.url",
"http://54.235.215.13:8095/api/analyticsgateway/send-analytics-events");

private final Client _client = ClientBuilder.newClient();

Expand Down