GithubHelp home page GithubHelp logo

kidusmt / software-architecture-design Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 9.15 MB

rabbitmq, activemq, soa, esb, architectural-patterns, software-architecture, messaging-services, esb-message-logging, kafka, microservices, microservices, cqrs, microservice, api-gateway, event-sourcing, configserver , service discovery, registry

Java 98.69% Groovy 1.31%
esb-message-logging esb soa architectural-patterns software-architecture messaging-services rabbitmq activemq microservice microservices

software-architecture-design's Introduction

CS590-SoftwareArchitecture

Final Project

  • Over all architecture:

Screenshot from 2021-08-15 05-03-15

  • Class Diagram:

SWA-Project-KidusTekeste-612361 (1)

  • List of repos for Final Porject:

Issues that might be caused by elastic installation (linux os)

461  sudo apt-get install nginx
  462  sudo wget –qO – https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add –
  463  sudo apt-get install apt-transport-https
  464  echo “deb https://artifacts.elastic.co/packages/7.x/apt stable main” | sudo tee –a /etc/apt/sources.list.d/elastic-7.x.list
  465  sudo update 
  466  sudo apt update
  467  sudo apt-get update
  468  sudo nano /etc/elasticsearch/
  469  sudo cd /etc/elasticsearch/
  470  cd /etc/elasticsearch/
  471  sudo cd /etc/elasticsearch/
  472  sudo systemctl start elasticsearch.service
  473  systemctl status elasticsearch.service 
  474  sudo /etc/init.d/elasticsearch start
  475  systemctl status elasticsearch.service 
  476  sudo /etc/init.d/elasticsearch start
  477  systemctl status elasticsearch.service 
  478  sudo apt-get install elasticsearch
  479  sudo systemctl start elasticsearch.service
  480  journalctl -xe
  481  sudo systemctl start elasticsearch.service
  482  sudo systemctl start elasticsearch
  483  sudo systemctl status elasticsearch
  484  cat /var/log/elasticsearch/elasticsearch.log
  485  sudo cat /var/log/elasticsearch/elasticsearch.log
  486  sudo mkdir /var/lib/elasticsearch
  487  sudo systemctl status elasticsearch
  488  restart elasticsearch
  489  sudo restart elasticsearch
  490  sudo systemctl start elasticsearch
  491  sudo systemctl status elasticsearch
  492  sudo cat /var/log/elasticsearch/elasticsearch.log
  493  sudo chown -R 777 /var/lib/elasticsearch
  494  sudo systemctl start elasticsearch
  495  sudo systemctl status elasticsearch
  496  sudo cat /var/log/elasticsearch/elasticsearch.log
  497  sudo cd /var/lib/elasticsearch/
  498  ls -la
  499  sudo chown -R elasticsearch:elasticsearch /var/lib/elasticsearch
  500  sudo systemctl start elasticsearch
  501  sudo systemctl status elasticsearch

for running and stopping ELK service in linux

  503  sudo systemctl status logstash
  504  sudo systemctl start elasticsearch
  505  sudo systemctl stop logstash
  506  sudo systemctl stop kibana.service 
  507  sudo systemctl status logstash
  508  sudo systemctl status elasticsearch.service 
  509  sudo systemctl status kibana.service 

logstash configurations

# Sample Logstash configuration for creating a simple
# Beats -> Logstash -> Elasticsearch pipeline.

input {
  file {
    type => "java"
    path => "/home/kidusmt/Documents/CS590-SA/elk-linux/spring-boot-elk2.log"
    codec => multiline {
      pattern => "^%{YEAR}-%{MONTHNUM}-%{MONTHDAY} %{TIME}.*"
      negate => "true"
      what => "previous"
    }
  }
  beats {
    port => 5044
  }
}

output {
  stdout {
    codec => rubydebug
  }
  file {
    path => "/home/kidusmt/Documents/CS590-SA/elk-linux/testlog.log"
    create_if_deleted => true
  }
  elasticsearch {
    hosts => ["http://localhost:9200"]
    index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
    #user => "elastic"
    #password => "changeme"
  }
}

ActiveMQ

For creating topic with kafka stream
./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic kafka_logstash

// starting and stopping: logstash, kibana and elasticsearch

  772  sudo systemctl start logstash.service
  773  sudo systemctl status logstash.service
  774  sudo systemctl status elasticsearch.service 
  775  sudo systemctl status logstash.service
  
  
// terminal command for starting/stopping: zookeeper, kafka-server and KafkaMagic
  714  sudo bin/zookeeper-server-start.sh config/zookeeper.properties
  715  pwd
  716  sudo bin/kafka-server-start.sh config/server.properties
  717  pwd
  718  sudo chmod 777 KafkaMagic
  719  sudo ./KafkaMagic
  
  
// for starting zipking tracing:
kidusmt@kmt:~/Documents/CS590-SA/zipkin$  sudo java -jar zipkin-server-2.23.2-exec.jar

software-architecture-design's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.