change version for netty-codec-http 22/102322/1
authorjitendra sharma <jitendra.sharma1@huawei.com>
Tue, 25 Feb 2020 14:30:15 +0000 (14:30 +0000)
committerjitendra sharma <jitendra.sharma1@huawei.com>
Tue, 25 Feb 2020 14:33:12 +0000 (14:33 +0000)
Issue-ID: CLI-246

Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com>
Change-Id: Ieec9fb59e22664b83fb4f3f213a3c8bceafb37be

grpc/pom.xml
profiles/http/pom.xml

index e73be6b..7577286 100644 (file)
             </exclusion>
       </exclusions>
     </dependency>
+      <!-- excluded netty-codec-http and added invulnerable version -->
     <dependency>
         <groupId>io.netty</groupId>
         <artifactId>netty-codec-http2</artifactId>
         <version>4.1.42.Final</version>
+        <exclusions><exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-http</artifactId>
+        </exclusion></exclusions>
     </dependency>
+      <dependency>
+          <groupId>io.netty</groupId>
+          <artifactId>netty-codec-http</artifactId>
+          <version>4.1.45.Final</version>
+      </dependency>
     <dependency>
       <groupId>io.grpc</groupId>
       <artifactId>grpc-protobuf</artifactId>
index 73223a9..fe2cee8 100644 (file)
@@ -87,6 +87,8 @@ Excluded commons-codec vulnerable version and added invulnerable version
             <version>${project.version}</version>
             <scope>test</scope>
         </dependency>
+      <!--excluded netty-handler -->
+      <!-- excluded netty-codec-http and added invulnerable version -->
         <dependency>
           <groupId>com.github.dreamhead</groupId>
           <artifactId>moco-runner</artifactId>
@@ -100,8 +102,21 @@ Excluded commons-codec vulnerable version and added invulnerable version
                   <groupId>ch.qos.logback</groupId>
                   <artifactId>logback-classic</artifactId>
               </exclusion>
+              <exclusion>
+                  <groupId>io.netty</groupId>
+                  <artifactId>netty-handler</artifactId>
+              </exclusion>
+            <exclusion>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-codec-http</artifactId>
+            </exclusion>
           </exclusions>
           </dependency>
+      <dependency>
+          <groupId>io.netty</groupId>
+          <artifactId>netty-codec-http</artifactId>
+          <version>4.1.45.Final</version>
+      </dependency>
           <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>