You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by kchilton2 <gi...@git.apache.org> on 2017/10/10 22:39:20 UTC

[GitHub] incubator-rya pull request #242: RYA-402 Create Kafka reusable test code pro...

GitHub user kchilton2 opened a pull request:

    https://github.com/apache/incubator-rya/pull/242

    RYA-402 Create Kafka reusable test code project.

    <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
      http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    ## Description
    >What Changed?
    [Brief Description of what changed]
    
    ### Tests
    >Coverage?
    
    [Description of what tests were written]
    
    ### Links
    [Jira](https://issues.apache.org/jira/browse/RYA-NUMBER)
    
    ### Checklist
    - [ ] Code Review
    - [ ] Squash Commits
    
    #### People To Reivew
    [Add those who should review this]


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kchilton2/incubator-rya RYA-402

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rya/pull/242.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #242
    
----
commit 156a18b0edb0174352cb0321daeca5c7ca668e57
Author: kchilton2 <ke...@gmail.com>
Date:   2017-10-10T22:36:25Z

    RYA-402 Create Kafka reusable test code project.

----


---

[GitHub] incubator-rya issue #242: RYA-402 Create Kafka reusable test code project.

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit commented on the issue:

    https://github.com/apache/incubator-rya/pull/242
  
    
    Refer to this link for build results (access rights to CI server needed): 
    https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/526/



---

[GitHub] incubator-rya issue #242: RYA-402 Create Kafka reusable test code project.

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit commented on the issue:

    https://github.com/apache/incubator-rya/pull/242
  
    
    Refer to this link for build results (access rights to CI server needed): 
    https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/524/



---

[GitHub] incubator-rya issue #242: RYA-402 Create Kafka reusable test code project.

Posted by kchilton2 <gi...@git.apache.org>.
Github user kchilton2 commented on the issue:

    https://github.com/apache/incubator-rya/pull/242
  
    The integration tests are passing now.


---

[GitHub] incubator-rya pull request #242: RYA-402 Create Kafka reusable test code pro...

Posted by kchilton2 <gi...@git.apache.org>.
Github user kchilton2 commented on a diff in the pull request:

    https://github.com/apache/incubator-rya/pull/242#discussion_r144101585
  
    --- Diff: test/kafka/pom.xml ---
    @@ -0,0 +1,82 @@
    +<?xml version="1.0" encoding="utf-8"?>
    +<!--
    +Licensed to the Apache Software Foundation (ASF) under one
    +or more contributor license agreements.  See the NOTICE file
    +distributed with this work for additional information
    +regarding copyright ownership.  The ASF licenses this file
    +to you under the Apache License, Version 2.0 (the
    +"License"); you may not use this file except in compliance
    +with the License.  You may obtain a copy of the License at
    +
    +  http://www.apache.org/licenses/LICENSE-2.0
    +
    +Unless required by applicable law or agreed to in writing,
    +software distributed under the License is distributed on an
    +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +KIND, either express or implied.  See the License for the
    +specific language governing permissions and limitations
    +under the License.
    +-->
    +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    +
    +    <parent>
    +        <groupId>org.apache.rya</groupId>
    +        <artifactId>rya.test.parent</artifactId>
    +        <version>3.2.12-incubating-SNAPSHOT</version>
    +    </parent>
    +    
    +    <modelVersion>4.0.0</modelVersion>
    +    <artifactId>rya.test.kafka</artifactId>
    +    
    +    <name>Apache Rya Test Kafka</name>
    +    <description>
    +        This module contains the Rya Test Kakfa components that help write Kafka
    +        based integration tests.
    +    </description>
    +
    +    <dependencies>
    +        <!-- Kafka dependencies. -->
    +        <dependency>
    +            <groupId>org.apache.kafka</groupId>
    +            <artifactId>kafka-clients</artifactId>
    +        </dependency>
    +        
    +        <dependency>
    +            <groupId>org.apache.kafka</groupId>
    +            <artifactId>kafka-clients</artifactId>
    +            <classifier>test</classifier>
    +        </dependency>
    +        
    +        <dependency>
    +            <groupId>org.apache.kafka</groupId>
    +            <artifactId>kafka_2.11</artifactId>
    +            <exclusions>
    +                <exclusion>
    +                    <artifactId>slf4j-log4j12</artifactId>
    +                    <groupId>org.slf4j</groupId>
    +                </exclusion>
    +            </exclusions>
    +        </dependency>
    +        
    +        <dependency>
    +            <groupId>org.apache.kafka</groupId>
    +            <artifactId>kafka_2.11</artifactId>
    +            <classifier>test</classifier>
    +            <scope>compile</scope>
    +            <exclusions>
    +                <exclusion>
    +                    <artifactId>slf4j-log4j12</artifactId>
    +                    <groupId>org.slf4j</groupId>
    +                </exclusion>
    +            </exclusions>
    +        </dependency>
    +    
    +        <!-- Testing dependencies. -->
    +        <dependency>
    +            <groupId>junit</groupId>
    +            <artifactId>junit</artifactId>
    +            <version>4.12</version>
    --- End diff --
    
    Removed.


---

[GitHub] incubator-rya issue #242: RYA-402 Create Kafka reusable test code project.

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit commented on the issue:

    https://github.com/apache/incubator-rya/pull/242
  
    
    Refer to this link for build results (access rights to CI server needed): 
    https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/525/



---

[GitHub] incubator-rya pull request #242: RYA-402 Create Kafka reusable test code pro...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-rya/pull/242


---

[GitHub] incubator-rya issue #242: RYA-402 Create Kafka reusable test code project.

Posted by kchilton2 <gi...@git.apache.org>.
Github user kchilton2 commented on the issue:

    https://github.com/apache/incubator-rya/pull/242
  
    Fixed all of those problems.


---

[GitHub] incubator-rya pull request #242: RYA-402 Create Kafka reusable test code pro...

Posted by jdasch <gi...@git.apache.org>.
Github user jdasch commented on a diff in the pull request:

    https://github.com/apache/incubator-rya/pull/242#discussion_r144007026
  
    --- Diff: test/kafka/pom.xml ---
    @@ -0,0 +1,82 @@
    +<?xml version="1.0" encoding="utf-8"?>
    +<!--
    +Licensed to the Apache Software Foundation (ASF) under one
    +or more contributor license agreements.  See the NOTICE file
    +distributed with this work for additional information
    +regarding copyright ownership.  The ASF licenses this file
    +to you under the Apache License, Version 2.0 (the
    +"License"); you may not use this file except in compliance
    +with the License.  You may obtain a copy of the License at
    +
    +  http://www.apache.org/licenses/LICENSE-2.0
    +
    +Unless required by applicable law or agreed to in writing,
    +software distributed under the License is distributed on an
    +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +KIND, either express or implied.  See the License for the
    +specific language governing permissions and limitations
    +under the License.
    +-->
    +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    +
    +    <parent>
    +        <groupId>org.apache.rya</groupId>
    +        <artifactId>rya.test.parent</artifactId>
    +        <version>3.2.12-incubating-SNAPSHOT</version>
    +    </parent>
    +    
    +    <modelVersion>4.0.0</modelVersion>
    +    <artifactId>rya.test.kafka</artifactId>
    +    
    +    <name>Apache Rya Test Kafka</name>
    +    <description>
    +        This module contains the Rya Test Kakfa components that help write Kafka
    +        based integration tests.
    +    </description>
    +
    +    <dependencies>
    +        <!-- Kafka dependencies. -->
    +        <dependency>
    +            <groupId>org.apache.kafka</groupId>
    +            <artifactId>kafka-clients</artifactId>
    +        </dependency>
    +        
    +        <dependency>
    +            <groupId>org.apache.kafka</groupId>
    +            <artifactId>kafka-clients</artifactId>
    +            <classifier>test</classifier>
    +        </dependency>
    +        
    +        <dependency>
    +            <groupId>org.apache.kafka</groupId>
    +            <artifactId>kafka_2.11</artifactId>
    +            <exclusions>
    +                <exclusion>
    +                    <artifactId>slf4j-log4j12</artifactId>
    +                    <groupId>org.slf4j</groupId>
    +                </exclusion>
    +            </exclusions>
    +        </dependency>
    +        
    +        <dependency>
    +            <groupId>org.apache.kafka</groupId>
    +            <artifactId>kafka_2.11</artifactId>
    +            <classifier>test</classifier>
    +            <scope>compile</scope>
    +            <exclusions>
    +                <exclusion>
    +                    <artifactId>slf4j-log4j12</artifactId>
    +                    <groupId>org.slf4j</groupId>
    +                </exclusion>
    +            </exclusions>
    +        </dependency>
    +    
    +        <!-- Testing dependencies. -->
    +        <dependency>
    +            <groupId>junit</groupId>
    +            <artifactId>junit</artifactId>
    +            <version>4.12</version>
    --- End diff --
    
    Not sure if you still need this version override.  If you do, I'll take a wag at it when I tackle RYA-366.


---