Comments (3)
The gateway in the provided sample is servlet based (non-reactive).
Itβs experimental in jhipster:
- spring-cloud-gateway-mvc does not provide service-discovery integration yet. So routes needs to be manually configured.
- swagger ui will not work.
Please see #25715 for more info.
from generator-jhipster.
I tried the suggested work around to add the following to the Gateway Application:
routes ["CaplCommon:CaplCommon:9093","CaplLap:CaplLap:9094"]
At first I was not able to run Jhipster to generate because it said routes was unrecongnized. So I cloned the latest version of Jhipster and used it and was able to get past it.
I also had to add the following dependency to the pom files for the two microservices that use a database:
<dependency>
<groupId>jakarta.data</groupId>
<artifactId>jakarta.data-api</artifactId>
<version>1.0.0-RC1</version>
</dependency>
When running the apps, I still get a 404 Not Found whenever it tries to load the Entities from in the Workbook Gateway app from the 2 CaplCommon and CaplLap microservices. It gets the 404 results when calling the loadNavbarItems method in the navbar.component.ts file. I see the following in the Network tab of the Browsers Developer Tools:
Request URL: http://localhost:9004/services/caplcommon/remoteEntry.js
Request Method: GET
Status Code: 404 Not Found
Remote Address: [::1]:9004
Referrer Policy: strict-origin-when-cross-origin
Have any other suggestions?
from generator-jhipster.
JHipster has completed the sample check
.yo-rc.json
: valid
Entities JDL: blank
Application: successfully generated
Frontend check: success
Backend check: failure
E2E check: failure
This check uses jhipster info
output from the issue description to generate the sample.
Bug report that does not contain this information will be marked as invalid.
from generator-jhipster.
Related Issues (20)
- Could not get unknown property 'NpmTask' for root project '***' of type org.gradle.api.Project. from profile_dev.gradle HOT 5
- Add "Custom Code Section" in generated code to replace side-by-side implementation
- Update jhipster-ansible project to support new website HOT 4
- Each generator should use its own Type instead of BaseApplication
- export-jdl is not correctly exporting entities
- Documentation archives don't render properly: 404s for JS and CSS files HOT 4
- Docker container jhipster/jhipster for Apple Silicon CPU HOT 10
- mvnw is stuck -> checksum-maven-plugin:1.11:files (create-pre-compiled-webapp-checksum) HOT 11
- Switch CI to use Spring Boot's Cloud Native Buildpacks support
- Cannot read properties of undefined (reading 'replace') HOT 2
- cannot generate entity from v8.7.1
- Incorrect Pagination Links in Microservices When Forwarded Through Gateway HOT 2
- Oauth2, Separate Backend and Frontend - Request method 'POST' not supported HOT 1
- `writeFiles` operation does not follow types.
- Upgrade blueprints to generator-jhipster v8.7.1 HOT 2
- Faker 9 breaking changes are not resolved. HOT 1
- ERROR! An error occured while running jhipster:bootstrap-application#checkProperties ERROR! ERROR! You have duplicate properties in entity Elemento: proyecto Error: You have duplicate properties in entity Elemento: proyecto at BootstrapApplicationGenerator.checkProperties HOT 3
- custom commands are not accepting jhipster 8.5.0 HOT 1
- Unable to (re)generate CI/CD pipeline with `jhipster ci-cd` HOT 2
- Add support to test cli execution to helpers. HOT 1
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 generator-jhipster.