Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
FMS_Project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bashar.hussein
FMS_Project
Commits
1c68bc60
Commit
1c68bc60
authored
Jul 06, 2023
by
ReemyHasan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some cleaning2
parent
017d6f1f
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
14 additions
and
211 deletions
+14
-211
compiler.xml
SNMP_Pipeline/.idea/compiler.xml
+0
-1
SnmpReciever.iml
SNMP_Pipeline/SnmpReciever/SnmpReciever.iml
+0
-87
SnmpListener.java
.../src/main/java/com/example/SnmpReciever/SnmpListener.java
+1
-5
TrapData.java
...main/java/com/example/SnmpReciever/enitites/TrapData.java
+1
-1
VarBind.java
.../main/java/com/example/SnmpReciever/enitites/VarBind.java
+1
-1
kafkaConsumerSNMP.iml
SNMP_Pipeline/kafkaConsumerSNMP/kafkaConsumerSNMP.iml
+0
-104
KafkaConsumerSnmpApplication.java
...ample/kafkaConsumerSNMP/KafkaConsumerSnmpApplication.java
+1
-2
TrapData.java
...java/com/example/kafkaConsumerSNMP/entities/TrapData.java
+1
-1
VarBind.java
.../java/com/example/kafkaConsumerSNMP/entities/VarBind.java
+1
-1
ElasticDataStream.java
...example/kafkaConsumerSNMP/services/ElasticDataStream.java
+8
-8
No files found.
SNMP_Pipeline/.idea/compiler.xml
View file @
1c68bc60
...
...
@@ -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"
/>
...
...
SNMP_Pipeline/SnmpReciever/SnmpReciever.iml
deleted
100644 → 0
View file @
017d6f1f
<?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
SNMP_Pipeline/SnmpReciever/src/main/java/com/example/SnmpReciever/SnmpListener.java
View file @
1c68bc60
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
;
...
...
SNMP_Pipeline/SnmpReciever/src/main/java/com/example/SnmpReciever/
Model
s/TrapData.java
→
SNMP_Pipeline/SnmpReciever/src/main/java/com/example/SnmpReciever/
enitite
s/TrapData.java
View file @
1c68bc60
package
com
.
example
.
SnmpReciever
.
Model
s
;
package
com
.
example
.
SnmpReciever
.
enitite
s
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
org.snmp4j.PDUv1
;
...
...
SNMP_Pipeline/SnmpReciever/src/main/java/com/example/SnmpReciever/
Model
s/VarBind.java
→
SNMP_Pipeline/SnmpReciever/src/main/java/com/example/SnmpReciever/
enitite
s/VarBind.java
View file @
1c68bc60
package
com
.
example
.
SnmpReciever
.
Model
s
;
package
com
.
example
.
SnmpReciever
.
enitite
s
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
org.snmp4j.smi.VariableBinding
;
...
...
SNMP_Pipeline/kafkaConsumerSNMP/kafkaConsumerSNMP.iml
deleted
100644 → 0
View file @
017d6f1f
This diff is collapsed.
Click to expand it.
SNMP_Pipeline/kafkaConsumerSNMP/src/main/java/com/example/kafkaConsumerSNMP/KafkaConsumerSnmpApplication.java
View file @
1c68bc60
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
;
...
...
SNMP_Pipeline/kafkaConsumerSNMP/src/main/java/com/example/kafkaConsumerSNMP/
Model
s/TrapData.java
→
SNMP_Pipeline/kafkaConsumerSNMP/src/main/java/com/example/kafkaConsumerSNMP/
entitie
s/TrapData.java
View file @
1c68bc60
package
com
.
example
.
kafkaConsumerSNMP
.
Model
s
;
package
com
.
example
.
kafkaConsumerSNMP
.
entitie
s
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
org.snmp4j.PDUv1
;
...
...
SNMP_Pipeline/kafkaConsumerSNMP/src/main/java/com/example/kafkaConsumerSNMP/
Model
s/VarBind.java
→
SNMP_Pipeline/kafkaConsumerSNMP/src/main/java/com/example/kafkaConsumerSNMP/
entitie
s/VarBind.java
View file @
1c68bc60
package
com
.
example
.
kafkaConsumerSNMP
.
Model
s
;
package
com
.
example
.
kafkaConsumerSNMP
.
entitie
s
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
org.snmp4j.smi.VariableBinding
;
...
...
SNMP_Pipeline/kafkaConsumerSNMP/src/main/java/com/example/kafkaConsumerSNMP/service/ElasticDataStream.java
→
SNMP_Pipeline/kafkaConsumerSNMP/src/main/java/com/example/kafkaConsumerSNMP/service
s
/ElasticDataStream.java
View file @
1c68bc60
package
com
.
example
.
kafkaConsumerSNMP
.
service
;
package
com
.
example
.
kafkaConsumerSNMP
.
service
s
;
import
org.springframework.stereotype.Service
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment