Giter Site home page Giter Site logo

wildfly-grpc-feature-pack's People

Contributors

dependabot[bot] avatar hpehl avatar jamezp avatar jfdenise avatar ronsigal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wildfly-grpc-feature-pack's Issues

Enhance Elytron SSL context integration

Remove the SSL configuration stuff in favor of using the org.wildfly.security.ssl-context capability from the Elytron subsystem. This will give us a single attribute to set rather than trying to build our own SSLContext.

Grpc feature-pack can't be used with WildFly 31 Beta1

When trying to provision it we got the following missing module:
org.wildfly.extras.grpc:wildfly-grpc-feature-pack:0.1.2.Final package io.grpc
Failed to resolve package com.squareup.okhttp3 in wildfly@maven(org.jboss.universe:community-universe):current#31.0.0.Beta1

Build error when trying to launch the examples

Hi, I get the following error when trying to launch the examples. It seems the grpc artifacts are missing in the public repo.

The following artifacts could not be resolved: org.wildfly.extras.grpc:wildfly-grpc-api:jar:0.0.1, org.wildfly.extras.grpc:wildfly-grpc-examples-helloworld-proto:jar:0.0.1: Could not find artifact org.wildfly.extras.grpc:wildfly-grpc-api:jar:0.0.1 in jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/_)

Use the version of OpenJFX that is associated with the compiler version

In the chat example OpenJFX is used. It's been updated by dependabot to version 20 which won't work with Java 11. We should use the version associated with the current minimum required Java version.

With this, we should enable a profile where we build with the examples and possibly the documentation too for CI.

Clarify service registration and deployments

I think we need to consider how services are added. If multiple applications are deployed, only the first deployment started registers its services with the gRPC server. I'm not sure if there is some variant of a mutable server, but if not, it will take some thought on how this could be done. I don't think we want to stop and restart a server for every deployment being processed. It's experimental, but we might need something like this https://grpc.github.io/grpc-java/javadoc/io/grpc/util/MutableHandlerRegistry.html.

Another thing to consider along these lines is if there are any possible security issues around registering services from different deployments on the same gRPC server. Again, I'd need to read more here to understand how this works. However, we don't want to allow deploymentA to see services from deploymentB.

Refactor the GrpcServerService and subsystem add operation

The GrpcServerService does a lot of work that should likely be done in the subsystem add OperationStepHandler. The subsystem details should be hidden from the service and the deployment unit processor. Also add the correct capabilities to for the attributes which required capabilities.

Add a new capability for the gRPC subsystem itself.

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.