Git Product home page Git Product logo

Comments (3)

mshima avatar mshima commented on June 23, 2024

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.

mwrightmtw avatar mwrightmtw commented on June 23, 2024

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.

github-actions avatar github-actions commented on June 23, 2024

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)

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.