jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.53k stars 4.02k forks source link

Not generating service files #26206

Closed sholland236 closed 5 months ago

sholland236 commented 5 months ago

When using jhipster command to generate a new project, the service files within the java folder are not being created.

Specific to my generation: I selected both keycloak and elasticsearch during the generation process.

First found on 8.3.0, but I've recently updated to 8.4.0 and still experiencing the issue

Running jhipster info provides the following:

.yo-rc.json file
{
  "generator-jhipster": {
    "applicationType": "monolith",
    "authenticationType": "oauth2",
    "baseName": "empty",
    "buildTool": "maven",
    "cacheProvider": "ehcache",
    "clientFramework": "react",
    "clientTestFrameworks": [],
    "clientTheme": "none",
    "creationTimestamp": 1715958555511,
    "databaseType": "sql",
    "devDatabaseType": "postgresql",
    "devServerPort": 9060,
    "enableHibernateCache": true,
    "enableSwaggerCodegen": false,
    "enableTranslation": false,
    "entities": [],
    "feignClient": null,
    "jhipsterVersion": "8.3.0",
    "messageBroker": false,
    "microfrontend": null,
    "microfrontends": [],
    "nativeLanguage": "en",
    "packageName": "com.empty.experience",
    "prodDatabaseType": "postgresql",
    "reactive": false,
    "searchEngine": "elasticsearch",
    "serverPort": null,
    "serverSideOptions": [
      "searchEngine:elasticsearch"
    ],
    "serviceDiscoveryType": false,
    "skipUserManagement": true,
    "syncUserWithIdp": false,
    "testFrameworks": [],
    "websocket": false,
    "withAdminUi": true
  }
}
Environment and Tools

java version "21.0.1" 2023-10-17 LTS Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29) Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)

git version 2.35.1.windows.2

node: v20.9.0 npm: 10.2.3

Docker version 20.10.17, build 100c701

mraible commented 5 months ago

Can you please elaborate and describe the service files you expect to be created?

sholland236 commented 5 months ago

Yes, I was expecting the dto, mapper and UserService files as with a previous keycloak generation to be created.

github-actions[bot] commented 5 months ago

JHipster has completed the sample check .yo-rc.json: valid Entities JDL: Application: successfully generated Frontend check: success Backend check: success E2E check: success

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.

mshima commented 5 months ago

syncUserWithIdp is default to false to avoid creating User repository/service that is useful in relationships only.