-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consumer module translated for PTBR (#87)
* circuit breaker doc draft * pt-br initial commit * adds an index and circuit breaker translated to pt-br * improves pt-br translation * improves pt-br translation * Merged * Merged * translation pt-br improved * improving pt-br translation * improving pt-br translation * Fixes pt-br files linking
- Loading branch information
Showing
45 changed files
with
1,411 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
title: "A High Throughput, Low Latency and Small Memory Footprint API Platform" | ||
date: 2017-03-02T12:00:00-05:00 | ||
features: | ||
- heading: Blistering Speed and Small Memory Footprint | ||
image_path: /images/icon-fast.svg | ||
tagline: Save 10x to 100x on production provision costs | ||
copy: You need hundreds of instances of Spring Boot with Tomcat embedded to match one instance of light-4j in "Hello World" for the same throughput and latency. | ||
|
||
- heading: Embedded Gateway to Address all Cross-cutting Concerns | ||
image_path: /images/icon-content-management.svg | ||
tagline: Maximize developers productivity by focusing on business logic only | ||
copy: Plugin architecture that allows middleware handlers to be injected into the request/response chain to handler security, metrics, audit etc. | ||
|
||
- heading: Design and Test Driven Development | ||
image_path: /images/icon-shortcodes.svg | ||
tagline: OpenAPI specification, Unit, Integration, End-to-End and Client Tests | ||
copy: Generate code from specification and encourage unit tests, integration tests, end-to-end test as well as client tests to ensure quality and interoperability. | ||
|
||
- heading: Built-in DevOps Tool Chain for CI/CD | ||
image_path: /images/icon-built-in-templates.svg | ||
tagline: Light-bot pipeline, Ansible playbook, Docker and Kubernetes | ||
copy: The entire tool chain (pipeline) and infrastructure (logging, metrics, messaging, security etc.) are integrated together for microservices and services are dockerized and orchestrated by Kubernetes. | ||
|
||
- heading: Multi-Style Support for Different Products | ||
image_path: /images/icon-multilingual2.svg | ||
tagline: Both synchronous request/response and asynchronous event driven frameworks | ||
copy: Support Restful(light-rest-4j), Graphql(light-graphql-4j), Hybrid(light-hybrid-4j) and Eventuate Consistency(light-eventuate-4j). Also Saga(light-saga-4j) for transaction orchestration between services. | ||
|
||
- heading: OAuth2, Portal and Services to Form an Ecosystem | ||
image_path: /images/icon-custom-outputs.svg | ||
tagline: Provide a platform for on-premise solutions as well as hosted solutions | ||
copy: light-oauth2 for security and light-portal is for service runtime monitoring and management and API marketplace. Kafka for messaging, ELK for logging, InfluxDB and Grafana for metrics and ArangoDB for DB. | ||
sections: | ||
- heading: "Cross-Cutting Concerns" | ||
cta: Check out light-4j middleware handlers. | ||
link: /concern/ | ||
color_classes: bg-primary-color-light black | ||
image: /images/home-page-templating-example.png | ||
copy: "Light-4j and related frameworks provide dozens of middleware handlers that can be injected into the request/response chain to give your service an embedded gateway." | ||
- heading: "Interaction Styles" | ||
cta: Use the right framework for the right product. | ||
link: /architecture/category/ | ||
color_classes: bg-primary-color-light black | ||
image: /images/home-page-templating-example.png | ||
copy: "Restful for public API, Graphql for mobile and Sing Page Application, Hybrid for serverless and take advantage of both Monolithic and Microservices architecture. Eventuate for event driven." | ||
- heading: "Infrastructure Services" | ||
cta: OAuth2, Portal and other infrastructure services. | ||
link: /service/ | ||
color_classes: bg-primary-color-light black | ||
image: /images/home-page-templating-example.png | ||
copy: "OAuth2 provider is responsible for centralize policy management and services are responsible for policy enforcement. Portal is API management and marketplace. Others are third party services." | ||
- heading: "Tool Chains" | ||
cta: Tool chain for code generation, devops and CI/CD. | ||
link: /tool/ | ||
color_classes: bg-primary-color-light black | ||
image: /images/home-page-templating-example.png | ||
copy: "Light-codegen is used for scaffolding project from OpenAPI spec, GraphQL IDL or Hybrid Schema. Light-bot Pipeline for building, packaging, releasing and dockerizing. Kubernetes is for service orchestration." | ||
|
||
--- | ||
|
||
Light means light-weight, lighting fast and shed light on how to program with modern Java SE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
title: "Consumidor de serviço" | ||
date: 2019-04-27T13:37:28-03:00 | ||
description: "" | ||
categories: [] | ||
keywords: [] | ||
menu: | ||
docs: | ||
parent: "consumer" | ||
weight: 1 | ||
weight: 1 | ||
aliases: [] | ||
toc: false | ||
draft: true | ||
--- | ||
|
||
Maioria dessas seções neste site são como construir, implantar e gerenciar serviços. | ||
Esta seção discutirá arquitetura de microserviços e melhores práticas da perspectiva do consumidor. | ||
|
||
Ao contrário de monolitos web services JavaEE com somente um cliente e um servidor, há muitos microserviços | ||
envolvidos em uma requisição externa e é muito importante a latência geral na eficiência na comunicação cliente e servidor. | ||
|
||
A definição de cliente vs servidor ou consumidor vs provedor é ofuscada como um serviço que pode ser o servidor para um outro serviço | ||
e ao mesmo tempo isto pode ser um cliente para outro serviço. | ||
|
||
O menu abaixo contém arquitetura, design e melhores práticas: | ||
|
||
- [Módulo cliente](/ptbr/consumer/client-module/) | ||
* [Arquivos jar](/ptbr/consumer/jar-files/) | ||
* [Conexão TLS](/ptbr/consumer/tls-connection/) | ||
* [HTTP 2.0](/ptbr/consumer/http2/) | ||
* [Segurança](/architecture/security/) | ||
+ [Token de entidade](/ptbr/consumer/subject-token/) | ||
+ [Token de acesso](/ptbr/consumer/access-token/) | ||
+ [Tipo de concessão personalizado](/ptbr/consumer/customized-grant/) | ||
+ [Obter token no Startup](/ptbr/consumer/token-startup/) | ||
+ [Token de longa duração](/ptbr/consumer/long-lived-token/) | ||
+ [Distribuição de chave](/architecture/key-distribution/) | ||
+ [Criptografia secreta](/ptbr/consumer/secret-encryption/) | ||
+ [SPA Stateful](/ptbr/consumer/spa-session-jwt/) | ||
+ [SPA Stateless](/ptbr/consumer/spa-cookie-jwt/) | ||
+ [SPA prevenção de CSRF](/ptbr/consumer/spa-csrf/) | ||
+ [SPA prevença de XSS](/ptbr/consumer/spa-xss/) | ||
+ [SPA BFF](/ptbr/consumer/spa-bff/) | ||
* [Rastreabilidade](/ptbr/consumer/traceability/) | ||
+ [Id da Rastreabilidade](/ptbr/consumer/traceability-id/) | ||
+ [Id de correlação](/ptbr/consumer/correlation-id/) | ||
* [Circuit Breaker](/ptbr/consumer/circuit-breaker/) | ||
* [CompletableFuture](/ptbr/consumer/completable-future/) | ||
- [light-consumer-4j](/ptbr/consumer/light-consumer-4j/) | ||
- [Service Discovery](/ptbr/consumer/service-discovery/) | ||
* [Registry](/ptbr/consumer/registry/) | ||
+ [Standalone](/ptbr/consumer/standalone-registry/) | ||
+ [Docker](/ptbr/consumer/docker-registry/) | ||
+ [Kubernetes](/ptbr/consumer/kubernetes-registry/) | ||
* [Discovery](/ptbr/consumer/discovery/) | ||
+ [Consul](/ptbr/consumer/consul-discovery/) | ||
+ [Zookeeper](/ptbr/consumer/zookeeper-discovery/) | ||
* [SPA e móvel](/ptbr/consumer/spa-mobile/) | ||
- [Load Balance](/ptbr/consumer/load-balance/) | ||
* [Round Robin](/ptbr/consumer/round-robin/) | ||
* [Local First](/ptbr/consumer/local-first/) | ||
* [Consistent Hash](/ptbr/consumer/consistent-hash/) | ||
- [Light Router](/ptbr/consumer/light-router/) | ||
* [Casos de uso](/ptbr/consumer/router-use-case/) | ||
* [Localização e propriedade](/service/router/location-ownership/) | ||
- [Single Page Application](/ptbr/consumer/spa/) | ||
* [React](/ptbr/consumer/react/) | ||
* [React-schema-form](/ptbr/consumer/react-schema-form/) | ||
* [Vue](/ptbr/consumer/vue/) | ||
* [Angular](/ptbr/consumer/angular/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: "Access Token" | ||
date: 2018-03-01T21:37:48-05:00 | ||
description: "" | ||
categories: [] | ||
keywords: [] | ||
weight: 60 | ||
aliases: [] | ||
toc: false | ||
draft: false | ||
--- | ||
|
||
Access token é utilizado para invocação de serviço a serviço ou aplicação standalone que invoca um serviço. | ||
Geralmente, este token é recebido de um provedor OAuth2 2.0 através do fluxo de permissionamento de | ||
credenciais do cliente. | ||
O token não tem qualquer informação sobre o usuário mas somente tem client_id para indicar quem é a | ||
aplicação que invocou. | ||
|
||
Access token é muito importante para escopos de serviço que invoca como [Token de entidade][], | ||
na cadeia de invocação não terá escopos para todos os serviços. | ||
|
||
Se access token é somente o token disponível, isso é passado em Authorization header caso contrário, | ||
isso é passado em um X-Scope-Token na requisição. | ||
|
||
|
||
[Token de entidade]: /ptbr/consumer/subject-token/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: "Angular" | ||
date: 2018-12-24T18:27:22-05:00 | ||
description: "" | ||
categories: [] | ||
keywords: [] | ||
slug: "" | ||
aliases: [] | ||
toc: false | ||
draft: false | ||
--- | ||
|
||
Junto com React, Angular é outro framework javascript para consturir single page applications, há mutios usuários que tem construído angular SPA e acessa serviços/APIs construído no topo da plataforma light. Quando há múltiplos serviços no backend e esses serviços são implantados na nuvem, | ||
light-router será utilizado como um único ponto de acesso para o SPA. O light-router é também responsável por servir ao SPA para eliminar dependência de C.O.R.S. middleware handler na instância light-router para ganhar melhor performance. | ||
|
||
o seguinte é a lista de projetos open source que utilizam Angular como UI. | ||
|
Oops, something went wrong.