Commit 1c68bc60 authored by ReemyHasan's avatar ReemyHasan

Some cleaning2

parent 017d6f1f
......@@ -2,7 +2,6 @@
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile default="true" name="Default" enabled="true" />
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
......
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_17">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:3.0.4" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:3.0.4" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:3.0.4" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:3.0.4" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:3.0.4" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.4.5" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.4.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.19.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.19.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:2.0.6" level="project" />
<orderEntry type="library" name="Maven: jakarta.annotation:jakarta.annotation-api:2.1.1" level="project" />
<orderEntry type="library" name="Maven: org.yaml:snakeyaml:1.33" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:3.0.4" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.14.2" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.14.2" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.14.2" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.14.2" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.2" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.14.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:3.0.4" level="project" />
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:10.1.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:10.1.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:10.1.5" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-web:6.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-beans:6.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:6.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aop:6.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-expression:6.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework.kafka:spring-kafka:3.0.4" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context:6.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-messaging:6.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-tx:6.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework.retry:spring-retry:2.0.0" level="project" />
<orderEntry type="library" name="Maven: io.micrometer:micrometer-observation:1.10.4" level="project" />
<orderEntry type="library" name="Maven: io.micrometer:micrometer-commons:1.10.4" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.google.code.findbugs:jsr305:3.0.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.kafka:kafka-clients:2.7.0" level="project" />
<orderEntry type="library" name="Maven: com.github.luben:zstd-jni:1.4.5-6" level="project" />
<orderEntry type="library" name="Maven: org.lz4:lz4-java:1.7.1" level="project" />
<orderEntry type="library" name="Maven: org.xerial.snappy:snappy-java:1.1.7.7" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:2.0.6" level="project" />
<orderEntry type="library" name="Maven: org.snmp4j:snmp4j:3.6.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-starter-test:3.0.4" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test:3.0.4" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:3.0.4" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.jayway.jsonpath:json-path:2.7.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:json-smart:2.4.8" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:accessors-smart:2.4.8" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.ow2.asm:asm:9.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: jakarta.xml.bind:jakarta.xml.bind-api:4.0.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: jakarta.activation:jakarta.activation-api:2.1.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.assertj:assertj-core:3.23.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy:1.12.23" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest:2.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter:5.9.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-api:5.9.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.opentest4j:opentest4j:1.2.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-commons:1.9.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.apiguardian:apiguardian-api:1.1.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-params:5.9.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-engine:5.9.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-engine:1.9.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:4.8.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy-agent:1.12.23" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:3.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-junit-jupiter:4.8.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.skyscreamer:jsonassert:1.5.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.vaadin.external.google:android-json:0.0.20131108.vaadin1" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:6.0.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jcl:6.0.6" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:6.0.6" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.xmlunit:xmlunit-core:2.9.1" level="project" />
</component>
</module>
\ No newline at end of file
package com.example.SnmpReciever;
import com.example.SnmpReciever.Models.TrapData;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.example.SnmpReciever.enitites.TrapData;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import org.snmp4j.*;
import org.snmp4j.asn1.BER;
import org.snmp4j.smi.OID;
import org.snmp4j.smi.UdpAddress;
import org.snmp4j.transport.DefaultUdpTransportMapping;
import org.springframework.kafka.core.KafkaTemplate;
......
package com.example.SnmpReciever.Models;
package com.example.SnmpReciever.enitites;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.snmp4j.PDUv1;
......
package com.example.SnmpReciever.Models;
package com.example.SnmpReciever.enitites;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.snmp4j.smi.VariableBinding;
......
This diff is collapsed.
package com.example.kafkaConsumerSNMP;
import com.example.kafkaConsumerSNMP.Models.TrapData;
import com.fasterxml.jackson.databind.JsonNode;
import com.example.kafkaConsumerSNMP.entities.TrapData;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
......
package com.example.kafkaConsumerSNMP.Models;
package com.example.kafkaConsumerSNMP.entities;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.snmp4j.PDUv1;
......
package com.example.kafkaConsumerSNMP.Models;
package com.example.kafkaConsumerSNMP.entities;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.snmp4j.smi.VariableBinding;
......
package com.example.kafkaConsumerSNMP.service;
import org.springframework.stereotype.Service;
@Service
public class ElasticDataStream {
}
package com.example.kafkaConsumerSNMP.services;
import org.springframework.stereotype.Service;
@Service
public class ElasticDataStream {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment