JAVA: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
Linha 22: Linha 22:
=IDES=
=IDES=
*[https://www.jetbrains.com/help/idea/meet-intellij-idea.html IntelliJ HELP]
*[https://www.jetbrains.com/help/idea/meet-intellij-idea.html IntelliJ HELP]
=Spring=
=[[Spring|Spring]]=
*[https://github.com/spring-cloud Spring Cloud]
*[https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html Appendix A. Common application properties]
==Eureka==
*https://www.baeldung.com/spring-cloud-netflix-eureka
==BOOT==
*[https://docs.spring.io/spring-boot/docs/2.1.3.RELEASE/reference/htmlsingle/ Spring Boot Documentation]
==Data Flow==
*[https://cloud.spring.io/spring-cloud-dataflow/ Spring Cloud Data Flow]
*[https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/ Spring Cloud Data Flow Reference Guide]
*[https://www.infoq.com/presentations/microservices-spring-cloud-data-flow Orchestrating Data Microservices with Spring Cloud Data Flow]
*GIT
**[https://github.com/spring-cloud/spring-cloud-dataflow Spring Cloud Data Flow ]
**[https://github.com/spring-cloud/spring-cloud-dataflow-samples Spring Cloud Data Flow Samples]
Cloud Stream APPs Starter
*[https://github.com/spring-cloud-stream-app-starters Spring Cloud Stream App Starters]
*[https://github.com/spring-cloud/spring-cloud-stream-app-starters OLD REPO, Spring Cloud Stream App Starters]
Docker
*[https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/v2.0.1.RELEASE/spring-cloud-dataflow-server/docker-compose.yml Docker compose]
Deploy on Kubernetes
*[https://github.com/helm/charts/tree/master/stable/spring-cloud-data-flow Spring Cloud Data Flow Chart]
*[https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/aks/internal-lb.md Azure Create an internal load balancer]
Tasks
*[https://www.planetjones.co.uk/blog/07-11-2018/first-steps-with-spring-cloud-data-flow-task.html First steps running a Cloud Task on Spring Cloud Data Flow Everyone]
<syntaxhighlight lang=yaml>
apiVersion: v1
kind: Service
metadata:
  name: internal-app
  annotations:
    service.beta.kubernetes.io/azure-load-balancer-internal: "true"
spec:
  type: LoadBalancer
  ports:
  - port: 80
  selector:
    app: internal-app
</syntaxhighlight>
===SHELL===
<pre>
dataflow:>app import --uri http://bit.ly/Einstein.GA-stream-applications-kafka-10-maven
dataflow:>stream create --name mysqlstream --definition "http --server.port=8787 | jdbc --tableName=names --columns=name --spring.datasource.driver-class-name=org.mariadb.jdbc.Driver --spring.datasource.url='jdbc:mysql://localhost:3306/test'" --deploy
dataflow:>stream list
</pre>
===JAVA DSL===
*https://docs.spring.io/spring-cloud-dataflow-samples/docs/current/reference/htmlsingle/
*[https://github.com/spring-cloud/spring-cloud-dataflow-samples/blob/master/src/main/asciidoc/javadsl/main.adoc Deploying a stream programmaticaly]
*[https://github.com/spring-cloud-stream-app-starters/python/tree/master/spring-cloud-starter-stream-processor-python-http Python Http Processor]
 
==SHELL==
*https://projects.spring.io/spring-shell/
==SKIPPER==
*[https://docs.spring.io/spring-cloud-skipper/docs/2.0.1.BUILD-SNAPSHOT/reference/htmlsingle Spring Cloud Skipper Reference Guide]
==[https://cloud.spring.io/spring-cloud-static/spring-cloud-kubernetes/1.0.1.RELEASE/single/spring-cloud-kubernetes.html Spring Cloud Kubernetes]==


=Feing=
=Feing=

Edição das 13h45min de 31 de maio de 2019

Study

Maven

mvn archetype:generate -DartifactId=teste -DgroupId=br.com.clusterlab -DinteractiveMode=false -DarchetypeArtifactId=maven-archetype-quickstart

JIB

Arguments

  • JMXRemote
 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=18001 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
  • Change server port
java -jar target/HelloWorld-0.1.0.jar --server.port=8091

IDES

Spring

Feing

CLOUD SDK