Giter VIP home page Giter VIP logo

cvc-spring-vault-jwt-new's Introduction

Template projeto NÃO-FUNCIONAL

Api de modelo com acesso ao banco / geração e validação de token / vault

Framework Spring Boot contendo:

- Spring Cloud
- Spring Security
- Spring JPA
- Spring Swagger 2
- H2 Database
- Json JWT
- Lombok (1.18.22)

Acesso para o Swagger: http://localhost:8080/swagger-ui.html


Dados carregados na inicialização

Para adiantar o desenvolvimento e teste, foi adicionado um arquivo [/src/main/resources/data-h2.sql] que já adiciona 4 tipos de usuários:

  1. ADMIN (Administrador)
  2. MANAGER (Gerente)
  3. SELLER (Vendedor)
  4. USER (Usuario Comum)

A Hieraquia de acesso segue na ordem acima.

Acesso para H2 Database: http://localhost:8080/console (usuario: sa /senha: password)

Imagerm do Banco H2


Postman Collection adicionado com os endPoint's disponíveis.

Clique aqui para Download

Imagerm do Postman

Elastic stack (ELK) on Docker

Git clone ELK Oficial

Comand Line

docker-compose up

Instructions above

/pipeline/logstash.conf

input {
    udp {
        port => "5000"
        type => syslog
        codec => json
    }
    tcp {
        port => "5000"
        type => syslog
        codec => json_lines
    }
    http {
        port => "5001"
        codec => "json"
    }
}

filter {
    if [type] == "syslog" {
        mutate {
            add_field => { "instance_name" => "%{app_name}-%{host}:%{app_port}" }
        }
    }
}

Add your filters / logstash plugins configuration here

output {
	elasticsearch {
		hosts => "elasticsearch:9200"
		user => "elastic"
		password => "changeme"
		#ecs_compatibility => disabled
		index => "logs-teste"
	}
}

cvc-spring-vault-jwt-new's People

Contributors

efabrica avatar liotino avatar

Watchers

 avatar  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.