Git Product home page Git Product logo

art-gelenler-event-driven's People

Contributors

artshishkin avatar

Stargazers

 avatar  avatar

Watchers

 avatar

art-gelenler-event-driven's Issues

Refactor Keycloak realm config to reduce role duplication

Get rid of duplicating in roles and scopes: SCOPE_app_user_role and ROLE_APP_USER_ROLE

2022-08-22 20:42:31.298 DEBUG [http-nio-auto-1-exec-4] n.s.s.m.e.a.ElasticDocumentController - Auth: UsernamePasswordAuthenticationToken [Principal=net.shyshkin.study.microservices.elasticqueryservice.security.TwitterQueryUser@13dc3696, Credentials=[PROTECTED], Authenticated=true, Details=WebAuthenticationDetails [RemoteIpAddress=127.0.0.1, SessionId=null], Granted Authorities=[SCOPE_openid, SCOPE_email, SCOPE_app_user_role, ROLE_DEFAULT-ROLES-GELENLER-TUTORIAL, ROLE_UMA_AUTHORIZATION, ROLE_APP_USER_ROLE, ROLE_OFFLINE_ACCESS, SCOPE_profile]]

Help Request

Just discovered this code which appears to mirror the coursework for Ali Gelenler's course on Spring Boot microservices -- are there instructions that allow me to follow the coursework? I've tried compiling the project (first at project root, then at the Section 3 service description in twitter-to-kafka-service project root -- both failed at some peer dependency FFI not being available. Any help is appreciated -- let me know if I can help somehow. -CW cwatsonc

MacOS Monterey 12.5
Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 17.0.4, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "12.5", arch: "aarch64", family: "mac"
mvn_out.txt

Auto create Kafka topic in producer

Something like so

@Configuration
@Profile("local")
public class AutoCreateConfig {

    @Bean
    public NewTopic libraryEvents(){
        return TopicBuilder.name("library-events")
                .partitions(3)
                .replicas(3)
                .build();
    }
}

Use custom Dockefile for images

  • healthcheck for config-server
  • healthcheck for twitter-to-kafka-service
  • healthcheck for kafka-to-elastic-service
  • check-kafka-topics-created in kafka-to-elastic-service

Fix Authorities converter

Fix to UPPER CASE scope based roles

2022-08-22 20:42:31.298 DEBUG [http-nio-auto-1-exec-4] n.s.s.m.e.a.ElasticDocumentController - Auth: UsernamePasswordAuthenticationToken [Principal=net.shyshkin.study.microservices.elasticqueryservice.security.TwitterQueryUser@13dc3696, Credentials=[PROTECTED], Authenticated=true, Details=WebAuthenticationDetails [RemoteIpAddress=127.0.0.1, SessionId=null], Granted Authorities=[SCOPE_openid, SCOPE_email, SCOPE_app_user_role, ROLE_DEFAULT-ROLES-GELENLER-TUTORIAL, ROLE_UMA_AUTHORIZATION, ROLE_APP_USER_ROLE, ROLE_OFFLINE_ACCESS, SCOPE_profile]]

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.