envoyproxy / java-control-plane

Java implementation of an Envoy gRPC control plane
Apache License 2.0
293 stars 136 forks source link

java: package envoy.api. does not exist #66

Closed thaxir closed 5 years ago

thaxir commented 6 years ago

Hello! I try to build the project in intellij but it seems that it cant find the package envoy.api. in general and this creates a lot o errors. Do you know anything about that?? Thank you in advance

joeyb commented 6 years ago

Can you build it successfully from the command-line? https://github.com/envoyproxy/java-control-plane#build--test

thaxir commented 6 years ago

Hey joeyb , thank you for the quick reply. Here is the log of mvn clean install and mvn clean package (log2). Although mvn clean package success whenever I try to start the server there are errors like these into the log.txt. I definitely miss something here. Thanks again in advance

log2.txt

log.txt

joeyb commented 5 years ago

@Kernelalive - Are you still having issues with the build? From the logs, looks like testcontainers is successfully launching the test envoy instance, but it's having a hard time making the xDS requests back to the discovery server. The connection is succeeding, but the server doesn't seem to be exposing the ADS endpoint:

gRPC config stream closed: 12, Method not found: envoy.api.v2.AggregatedDiscoveryService/StreamAggregatedResources

Maybe try setting a breakpoint at https://github.com/envoyproxy/java-control-plane/blob/2b3053ae6f5881b762c04dd83f597b1b4da4a529/server/src/test/java/io/envoyproxy/controlplane/server/DiscoveryServerAdsIT.java#L59 and ensure that the AggregatedDiscoveryServiceImpl is actually being registered with the server?

jakubdyszkiewicz commented 5 years ago

Closing due to no activity.

Ping me @Kernelalive if you need this reopen.