Comments (10)
When you launched fights, did you use -Dquarkus.profile=no-microcks
(see https://github.com/quarkusio/quarkus-super-heroes/tree/main/rest-fights#integration-with-microcks)?
By default if you just to ./mvnw quarkus:dev
on rest-fights, it will not talk to heroes/villains and will serve "canned" responses.
from quarkus-super-heroes.
When you launched fights, did you use
-Dquarkus.profile=no-microcks
(see https://github.com/quarkusio/quarkus-super-heroes/tree/main/rest-fights#integration-with-microcks)?By default if you just to
./mvnw quarkus:dev
on rest-fights, it will not talk to heroes/villains and will serve "canned" responses.
Very fast response Eric, wow!
I tried that, works the same, but the UI just points to the microcks endpoint. Maybe I need to change the UI endpoint and do a research in the READMEs before doing some testing.
It's not the topic of this issue, but... any video or tutorial for the Super Heroes repo?
Thanks!
from quarkus-super-heroes.
I just started all the apps manually
- In
grpc-locations
:./mvnw clean quarkus:dev
- In
rest-villains
:./mvnw clean quarkus:dev
- In
rest-heroes
:./mvnw clean quarkus:dev
- In
rest-fights
:./mvnw clean quarkus:dev -Dquarkus.profile=no-microcks
- In
ui-super-heroes
:./mvnw clean quarkus:dev -Dquarkus.profile=no-microcks
And when I bring up the UI (http://localhost:8080) everything seems to work fine. No CORS issues.
Can you tell me a little bit more about how you are running the UI? Are you doing a docker run
? Or are you starting via ./mvnw quarkus:dev
?
It's not the topic of this issue, but... any video or tutorial for the Super Heroes repo?
There are a few resources...
- https://youtube.com/live/W_QREL1nEGI
- https://youtu.be/H9yK0xnExeA
- https://youtu.be/7M0Tvlx-GTA
- https://quarkus.io/blog/quarkus-superheroes-to-the-rescue/
There is also the repo's main README file, as well as the README files of all the individual applications.
from quarkus-super-heroes.
Actually you know what - when I start up the UI with just ./mvnw clean quarkus:dev
and when I do a FIGHT, I do see the CORS issue...
I've created microcks/microcks-quarkus#22 for some guidance.
from quarkus-super-heroes.
I just started all the apps manually
- In
grpc-locations
:./mvnw clean quarkus:dev
- In
rest-villains
:./mvnw clean quarkus:dev
- In
rest-heroes
:./mvnw clean quarkus:dev
- In
rest-fights
:./mvnw clean quarkus:dev -Dquarkus.profile=no-microcks
- In
ui-super-heroes
:./mvnw clean quarkus:dev -Dquarkus.profile=no-microcks
And when I bring up the UI (http://localhost:8080) everything seems to work fine. No CORS issues.
Can you tell me a little bit more about how you are running the UI? Are you doing a
docker run
? Or are you starting via./mvnw quarkus:dev
?It's not the topic of this issue, but... any video or tutorial for the Super Heroes repo?
There are a few resources...
- https://youtube.com/live/W_QREL1nEGI
- https://youtu.be/H9yK0xnExeA
- https://youtu.be/7M0Tvlx-GTA
- https://quarkus.io/blog/quarkus-superheroes-to-the-rescue/
There is also the repo's main README file, as well as the README files of all the individual applications.
Just missed the -Dquarkus.profile=no-microcks
parameter on ui-super-heroes
and rest-fights
. Now works perfectly. No cors problem and #686 problem disappear. Does the order of execution matter?
Maybe too much desire on running quarkus perfectly without reading READMEs 🤣
(I need to check grpc-locations, I know)
from quarkus-super-heroes.
Does the order of execution matter?
No it doesn't.
from quarkus-super-heroes.
Actually you know what - when I start up the UI with just ./mvnw clean quarkus:dev and when I do a FIGHT, I do see the CORS issue...
I've created microcks/microcks-quarkus#22 for some guidance.
from quarkus-super-heroes.
Actually you know what - when I start up the UI with just ./mvnw clean quarkus:dev and when I do a FIGHT, I do see the CORS issue...
I've created microcks/microcks-quarkus#22 for some guidance.
Great! I'm going to continue without microcks for the moment.
If you wanna close or continue this issue, your choice. Thanks!
from quarkus-super-heroes.
I'll keep it open for now until I get feedback on the issue I created in microcks.
from quarkus-super-heroes.
@psirdev FYI the issue has been fixed by microcks/microcks-quarkus#22
from quarkus-super-heroes.
Related Issues (20)
- Switching from jmeter to hyperfoil HOT 4
- Rewrite UI in a more modern framework HOT 1
- Indicate generated yaml by .gitignore-ing it and including a comment indicating it's generated (to reduce maintenance effort for contributors) HOT 23
- Clean up various kubernetes profiles config HOT 4
- Add a narration microservice that can narrate fights
- Fight microservice website information is outdated
- InvalidDefinitionException with Instant in tests with quarkus dev mode HOT 5
- Missing config key in hero register rest client annotation
- Support native compilation in narration service HOT 1
- Introduce Java 21 HOT 8
- Introduce some gRPC? HOT 1
- Update azure containerapps docs & script with narration service
- Introduce some gRPC?
- Stork env vars not working properly when deployed to k8s HOT 4
- Switch narration app to use quarkus-langchain4j HOT 12
- Change fighters/location UI around a bit to use flip cards
- Add microcks to UI service
- Add openshift-ai integration into narration service
- NoSuchElement on Configuration of rest-fights HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkus-super-heroes.