├── LICENSE ├── NOTICE ├── README.md ├── docker ├── docker-compose.yml ├── grafana │ ├── KafkaDashboard.json │ ├── MicroServicesDrilldownMetrics.json │ └── MicroServicesPlatformOverview.json ├── kafka │ └── config │ │ ├── config.yml │ │ ├── log4j.properties │ │ └── server.properties ├── prometheus │ └── prometheus.yml ├── setup │ ├── build_docker_images.sh │ ├── create_kafka_topics.sh │ ├── setup_post.sh │ └── setup_pre.sh └── zookeeper │ └── zoo.cfg ├── kafka ├── .gitignore ├── Dockerfile ├── Kafka-LICENSE ├── Kafka-NOTICE ├── kafka-run-class.sh └── startup.sh ├── microsvcframework ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── ibm │ └── dip │ └── microsvcengineering │ └── framework │ ├── dao │ └── AbstractDAO.java │ ├── kafka │ ├── serdes │ │ ├── ByteArrayDeserializer.java │ │ └── ByteArraySerializer.java │ └── streams │ │ └── StreamProcessor.java │ ├── monitoring │ ├── KafkaMetric.java │ ├── KafkaProducerMonitor.java │ ├── MicroSvcMeterRegistryConfig.java │ ├── MonitoredComponent.java │ ├── MonitoredDAO.java │ ├── MonitoredIntegrationComponent.java │ ├── MonitoredService.java │ └── MonitoringAOPConfig.java │ └── services │ └── AbstractService.java ├── pom.xml └── samplemicrosvc ├── .gitignore ├── Dockerfile ├── pom.xml └── src └── main ├── java └── com │ └── ibm │ └── dip │ └── samplemicrosvc │ ├── SampleMicroSvcApp.java │ ├── config │ ├── DBConfig.java │ ├── KafkaClientConfig.java │ └── RestConfig.java │ ├── controllers │ ├── AddressController.java │ └── SampleController.java │ ├── dao │ ├── AuditEntryDAO.java │ ├── SampleDAO.java │ ├── entities │ │ ├── AuditEntryEntity.java │ │ └── AuditEntryEntityBuilder.java │ └── repositories │ │ └── AuditEntryEntityRepository.java │ ├── integration │ ├── AuditHelper.java │ └── kafka │ │ └── serdes │ │ └── AuditEntrySerde.java │ ├── model │ ├── APIResponse.java │ ├── AddressInfo.java │ ├── AuditEntry.java │ └── UserInfo.java │ ├── services │ ├── AddressService.java │ └── SampleService.java │ └── streamlisteners │ ├── AuditEntryStreamBindings.java │ └── AuditEntryStreamListener.java └── resources ├── application.yml ├── ddl.sql └── log4j2.xml /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/README.md -------------------------------------------------------------------------------- /docker/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/docker-compose.yml -------------------------------------------------------------------------------- /docker/grafana/KafkaDashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/grafana/KafkaDashboard.json -------------------------------------------------------------------------------- /docker/grafana/MicroServicesDrilldownMetrics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/grafana/MicroServicesDrilldownMetrics.json -------------------------------------------------------------------------------- /docker/grafana/MicroServicesPlatformOverview.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/grafana/MicroServicesPlatformOverview.json -------------------------------------------------------------------------------- /docker/kafka/config/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/kafka/config/config.yml -------------------------------------------------------------------------------- /docker/kafka/config/log4j.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/kafka/config/log4j.properties -------------------------------------------------------------------------------- /docker/kafka/config/server.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/kafka/config/server.properties -------------------------------------------------------------------------------- /docker/prometheus/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/prometheus/prometheus.yml -------------------------------------------------------------------------------- /docker/setup/build_docker_images.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/setup/build_docker_images.sh -------------------------------------------------------------------------------- /docker/setup/create_kafka_topics.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/setup/create_kafka_topics.sh -------------------------------------------------------------------------------- /docker/setup/setup_post.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/setup/setup_post.sh -------------------------------------------------------------------------------- /docker/setup/setup_pre.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/setup/setup_pre.sh -------------------------------------------------------------------------------- /docker/zookeeper/zoo.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/docker/zookeeper/zoo.cfg -------------------------------------------------------------------------------- /kafka/.gitignore: -------------------------------------------------------------------------------- 1 | .iml 2 | libs 3 | bin 4 | config -------------------------------------------------------------------------------- /kafka/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/kafka/Dockerfile -------------------------------------------------------------------------------- /kafka/Kafka-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/kafka/Kafka-LICENSE -------------------------------------------------------------------------------- /kafka/Kafka-NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/kafka/Kafka-NOTICE -------------------------------------------------------------------------------- /kafka/kafka-run-class.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/kafka/kafka-run-class.sh -------------------------------------------------------------------------------- /kafka/startup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/kafka/startup.sh -------------------------------------------------------------------------------- /microsvcframework/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/.gitignore -------------------------------------------------------------------------------- /microsvcframework/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/pom.xml -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/dao/AbstractDAO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/dao/AbstractDAO.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/kafka/serdes/ByteArrayDeserializer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/kafka/serdes/ByteArrayDeserializer.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/kafka/serdes/ByteArraySerializer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/kafka/serdes/ByteArraySerializer.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/kafka/streams/StreamProcessor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/kafka/streams/StreamProcessor.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/KafkaMetric.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/KafkaMetric.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/KafkaProducerMonitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/KafkaProducerMonitor.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MicroSvcMeterRegistryConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MicroSvcMeterRegistryConfig.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoredComponent.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoredComponent.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoredDAO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoredDAO.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoredIntegrationComponent.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoredIntegrationComponent.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoredService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoredService.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoringAOPConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/monitoring/MonitoringAOPConfig.java -------------------------------------------------------------------------------- /microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/services/AbstractService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/microsvcframework/src/main/java/com/ibm/dip/microsvcengineering/framework/services/AbstractService.java -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/pom.xml -------------------------------------------------------------------------------- /samplemicrosvc/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/.gitignore -------------------------------------------------------------------------------- /samplemicrosvc/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/Dockerfile -------------------------------------------------------------------------------- /samplemicrosvc/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/pom.xml -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/SampleMicroSvcApp.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/SampleMicroSvcApp.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/config/DBConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/config/DBConfig.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/config/KafkaClientConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/config/KafkaClientConfig.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/config/RestConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/config/RestConfig.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/controllers/AddressController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/controllers/AddressController.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/controllers/SampleController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/controllers/SampleController.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/AuditEntryDAO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/AuditEntryDAO.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/SampleDAO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/SampleDAO.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/entities/AuditEntryEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/entities/AuditEntryEntity.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/entities/AuditEntryEntityBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/entities/AuditEntryEntityBuilder.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/repositories/AuditEntryEntityRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/dao/repositories/AuditEntryEntityRepository.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/integration/AuditHelper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/integration/AuditHelper.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/integration/kafka/serdes/AuditEntrySerde.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/integration/kafka/serdes/AuditEntrySerde.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/model/APIResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/model/APIResponse.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/model/AddressInfo.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/model/AddressInfo.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/model/AuditEntry.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/model/AuditEntry.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/model/UserInfo.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/model/UserInfo.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/services/AddressService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/services/AddressService.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/services/SampleService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/services/SampleService.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/streamlisteners/AuditEntryStreamBindings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/streamlisteners/AuditEntryStreamBindings.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/streamlisteners/AuditEntryStreamListener.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/java/com/ibm/dip/samplemicrosvc/streamlisteners/AuditEntryStreamListener.java -------------------------------------------------------------------------------- /samplemicrosvc/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/resources/application.yml -------------------------------------------------------------------------------- /samplemicrosvc/src/main/resources/ddl.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/resources/ddl.sql -------------------------------------------------------------------------------- /samplemicrosvc/src/main/resources/log4j2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/microsvcengineering/HEAD/samplemicrosvc/src/main/resources/log4j2.xml --------------------------------------------------------------------------------