Giter Site home page Giter Site logo

wix-incubator / petri Goto Github PK

View Code? Open in Web Editor NEW
264.0 351.0 33.0 8.09 MB

Wix experiment system (A/B test and feature toggle framework)

License: BSD 3-Clause "New" or "Revised" License

Java 32.43% Scala 10.25% HTML 2.46% JavaScript 47.05% CSS 7.82%

petri's Issues

Reduce the number of transitive dependencies in laboratory-servlet-api-integration

We are evaluating using petri in our environment and one issue we have run into is the number of transitive dependencies that are included in both the compile and runtime classpath when adding "laboratory-servlet-api-integration" to our projects.

I was able to prune these down some with exclusions (I'm using gradle)

compile("com.wixpress.common:laboratory-servlet-api-integration:1.19.0-SNAPSHOT") {
exclude group: 'org.eclipse.jetty'
exclude module: 'petri-test-utils'
}

I am hoping for some help to identify which other transitive dependencies may be excluded from the client libraries.

Thanks in advance for any help!

For reference, here is the dependency graph spit out by gradle:

--- com.wixpress.common:laboratory-servlet-api-integration:1.19.0-SNAPSHOT
+--- commons-configuration:commons-configuration:1.10
| +--- commons-lang:commons-lang:2.6
| --- commons-logging:commons-logging:1.1.1 -> 1.1.3
+--- com.wixpress.common:wix-petri-core:1.19.0-SNAPSHOT
| +--- org.scala-lang:scala-library:2.11.6
| +--- org.reflections:reflections-maven:0.9.9-RC1
| | +--- org.reflections:reflections:0.9.9-RC1
| | | +--- com.google.guava:guava:11.0.2 -> 17.0
| | | +--- org.javassist:javassist:3.16.1-GA
| | | --- dom4j:dom4j:1.6.1
| | | --- xml-apis:xml-apis:1.0.b2
| | +--- org.jfrog.maven.annomojo:maven-plugin-anno:1.4.1
| | --- org.jfrog.jade.plugins.common:jade-plugin-common:1.3.8
| | +--- org.jfrog.maven.annomojo:maven-plugin-anno:1.3.0 -> 1.4.1
| | +--- ant:ant:1.6.5
| | +--- org.apache.maven:maven-plugin-api:2.0.5
| | +--- org.apache.maven:maven-project:2.0.5
| | | +--- org.apache.maven:maven-settings:2.0.5
| | | | +--- org.apache.maven:maven-model:2.0.5
| | | | | --- org.codehaus.plexus:plexus-utils:1.1
| | | | +--- org.codehaus.plexus:plexus-utils:1.1
| | | | --- org.codehaus.plexus:plexus-container-default:1.0-alpha-9
| | | | +--- junit:junit:3.8.1
| | | | +--- org.codehaus.plexus:plexus-utils:1.0.4 -> 1.1
| | | | --- classworlds:classworlds:1.1-alpha-2
| | | +--- org.apache.maven:maven-profile:2.0.5
| | | | +--- org.apache.maven:maven-model:2.0.5 ()
| | | | +--- org.codehaus.plexus:plexus-utils:1.1
| | | | --- org.codehaus.plexus:plexus-container-default:1.0-alpha-9 (
)
| | | +--- org.apache.maven:maven-model:2.0.5 ()
| | | +--- org.apache.maven:maven-artifact-manager:2.0.5
| | | | +--- org.apache.maven:maven-repository-metadata:2.0.5
| | | | | --- org.codehaus.plexus:plexus-utils:1.1
| | | | +--- org.codehaus.plexus:plexus-utils:1.1
| | | | +--- org.apache.maven:maven-artifact:2.0.5
| | | | | --- org.codehaus.plexus:plexus-utils:1.1
| | | | +--- org.codehaus.plexus:plexus-container-default:1.0-alpha-9 (
)
| | | | --- org.apache.maven.wagon:wagon-provider-api:1.0-beta-2
| | | | --- org.codehaus.plexus:plexus-utils:1.0.4 -> 1.1
| | | +--- org.codehaus.plexus:plexus-utils:1.1
| | | +--- org.apache.maven:maven-artifact:2.0.5 ()
| | | --- org.codehaus.plexus:plexus-container-default:1.0-alpha-9 (
)
| | +--- org.apache.maven:maven-artifact:2.0.5 ()
| | +--- org.apache.maven:maven-model:2.0.5 (
)
| | +--- org.codehaus.plexus:plexus-utils:1.1
| | +--- xstream:xstream:1.1.3
| | --- xpp3:xpp3:1.1.3.4-RC8
| +--- org.springframework:spring-beans:4.1.1.RELEASE ()
| +--- org.springframework:spring-web:4.1.1.RELEASE (
)
| +--- org.springframework:spring-jdbc:4.1.1.RELEASE
| | +--- org.springframework:spring-beans:4.1.1.RELEASE ()
| | +--- org.springframework:spring-core:4.1.1.RELEASE (
)
| | --- org.springframework:spring-tx:4.1.1.RELEASE
| | +--- org.springframework:spring-beans:4.1.1.RELEASE ()
| | --- org.springframework:spring-core:4.1.1.RELEASE (
)
| +--- org.apache.commons:commons-lang3:3.0.1
| +--- joda-time:joda-time:2.5
| +--- ch.qos.logback:logback-classic:1.0.6 -> 1.1.2 ()
| +--- com.fasterxml.jackson.core:jackson-databind:2.4.3 (
)
| +--- com.fasterxml.jackson.datatype:jackson-datatype-joda:2.4.3
| | +--- com.fasterxml.jackson.core:jackson-annotations:2.4.0 -> 2.4.3
| | +--- com.fasterxml.jackson.core:jackson-core:2.4.3
| | +--- com.fasterxml.jackson.core:jackson-databind:2.4.3 ()
| | --- joda-time:joda-time:2.2 -> 2.5
| +--- com.fasterxml.jackson.module:jackson-module-scala_2.11:2.4.3
| | +--- org.scala-lang:scala-library:2.11.2 -> 2.11.6
| | +--- org.scala-lang:scala-reflect:2.11.2
| | | --- org.scala-lang:scala-library:2.11.2 -> 2.11.6
| | +--- com.fasterxml.jackson.core:jackson-core:2.4.3
| | +--- com.fasterxml.jackson.core:jackson-annotations:2.4.3
| | +--- com.fasterxml.jackson.core:jackson-databind:2.4.3 (
)
| | +--- com.thoughtworks.paranamer:paranamer:2.6
| | +--- com.google.code.findbugs:jsr305:2.0.1
| | --- com.google.guava:guava:15.0 -> 17.0
| +--- com.google.guava:guava:17.0
| --- javax.mail:mail:1.4.1
| --- javax.activation:activation:1.1
+--- com.wixpress.common:petri-server-core:1.19.0-SNAPSHOT
| +--- com.wixpress.common:wix-petri-core:1.19.0-SNAPSHOT ()
| +--- org.springframework:spring-core:4.1.1.RELEASE (
)
| +--- org.springframework:spring-context:4.1.1.RELEASE ()
| +--- org.springframework:spring-context-support:4.1.1.RELEASE
| | +--- org.springframework:spring-beans:4.1.1.RELEASE (
)
| | +--- org.springframework:spring-context:4.1.1.RELEASE ()
| | --- org.springframework:spring-core:4.1.1.RELEASE (
)
| +--- org.springframework:spring-beans:4.1.1.RELEASE ()
| --- com.github.briandilley.jsonrpc4j:jsonrpc4j:1.1
| --- com.fasterxml.jackson.core:jackson-databind:2.0.2 -> 2.4.3 (
)
+--- commons-pool:commons-pool:1.5.6
+--- commons-dbcp:commons-dbcp:1.4
| --- commons-pool:commons-pool:1.5.4 -> 1.5.6
+--- com.h2database:h2:1.4.181
+--- com.wixpress.common:petri-test-utils:1.19.0-SNAPSHOT
| +--- com.wixpress.common:wix-petri-core:1.19.0-SNAPSHOT ()
| +--- commons-configuration:commons-configuration:1.10 (
)
| +--- org.apache.httpcomponents:httpclient:4.3.1
| | +--- org.apache.httpcomponents:httpcore:4.3
| | +--- commons-logging:commons-logging:1.1.3
| | --- commons-codec:commons-codec:1.6
| +--- com.github.briandilley.jsonrpc4j:jsonrpc4j:1.1 ()
| +--- com.fasterxml.jackson.core:jackson-databind:2.4.3 (
)
| +--- com.fasterxml.jackson.datatype:jackson-datatype-joda:2.4.3 ()
| +--- com.fasterxml.jackson.module:jackson-module-scala_2.10:2.4.3
| | +--- org.scala-lang:scala-library:2.10.4 -> 2.11.6
| | +--- org.scala-lang:scala-reflect:2.10.4 -> 2.11.2 (
)
| | +--- com.fasterxml.jackson.core:jackson-core:2.4.3
| | +--- com.fasterxml.jackson.core:jackson-annotations:2.4.3
| | +--- com.fasterxml.jackson.core:jackson-databind:2.4.3 ()
| | +--- com.thoughtworks.paranamer:paranamer:2.6
| | +--- com.google.code.findbugs:jsr305:2.0.1
| | --- com.google.guava:guava:15.0 -> 17.0
| +--- mysql:mysql-connector-mxj:5.0.12
| | +--- mysql:mysql-connector-mxj-db-files:5.0.12
| | --- mysql:mysql-connector-java:5.1.17
| +--- commons-io:commons-io:2.4
| +--- org.slf4j:slf4j-simple:1.7.7
| | --- org.slf4j:slf4j-api:1.7.7
| --- org.springframework:spring-jdbc:4.1.1.RELEASE (
)
+--- org.springframework:spring-core:4.1.1.RELEASE ()
+--- org.springframework:spring-context:4.1.1.RELEASE (
)
+--- org.springframework:spring-context-support:4.1.1.RELEASE ()
+--- org.springframework:spring-beans:4.1.1.RELEASE (
)
+--- org.springframework:spring-web:4.1.1.RELEASE ()
+--- org.springframework:spring-webmvc:4.1.1.RELEASE (
)
+--- com.github.briandilley.jsonrpc4j:jsonrpc4j:1.1 ()
+--- com.fasterxml.jackson.core:jackson-databind:2.4.3 (
)
+--- com.fasterxml.jackson.datatype:jackson-datatype-joda:2.4.3 ()
--- com.fasterxml.jackson.module:jackson-module-scala_2.10:2.4.3 (
)

Tests do not pass on Windows due to different path format

Tests do not pass on Windows due to different path format.
The stack trace is the following:

java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/repo/opensource/petri/petri-test-utils/target/test-classes/../../src/it/webapp/WEB-INF/laboratory.properties

	at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
	at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
	at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
	at com.wixpress.petri.test.SampleAppRunner.getLaboratoryPropertiesFile(SampleAppRunner.java:89)
	at com.wixpress.petri.test.SampleAppRunner.<init>(SampleAppRunner.java:70)
	at com.wixpress.petri.test.SampleAppRunner.<init>(SampleAppRunner.java:60)
	at com.wixpress.petri.test.LaboratoryPropertiesIT$$anonfun$1$$anonfun$apply$1.apply(LaboratoryPropertiesIT.scala:15)
	at com.wixpress.petri.test.LaboratoryPropertiesIT$$anonfun$1$$anonfun$apply$1.apply(LaboratoryPropertiesIT.scala:11)

Is this project being actively maintained?

Hi! I'm interested in using Wix's awesome open source projects. I notice that Petri did not move from wix-incubator to wix. Is this project being actively maintained for the open source community? Thank you! ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.