Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect generation of dependencies for distributed cache systems #383

Open
vcupelloni opened this issue Aug 10, 2024 · 0 comments
Open

Comments

@vcupelloni
Copy link

vcupelloni commented Aug 10, 2024

Overview of the issue

After creating a new project with the generator by selecting one of the distributed caching systems (Hazelcast, Redis, Memcache), when starting the project with ./gradlew an error for invalid dependencies is presented.

Reproduce the error

Install JHipster and Micronaut blueprint, configure with one distribuited cache system, start the project after generation is completed.

Related issues

I found two open issues regarding Hazelcast and Memcached and one closed issue regarding Redis but at this point I don't understand why they are in the generator as available options.

[Hazelcast] (#47)
[Memcached] (#118)
[Redis] (#48)

Project configuration
.yo-rc.json file
{
  "generator-jhipster": {
    "applicationType": "microservice",
    "authenticationType": "jwt",
    "backendType": "micronaut",
    "baseName": "exampleMicronaut",
    "blueprints": [
      {
        "name": "generator-jhipster-micronaut",
        "version": "3.4.1"
      }
    ],
    "buildTool": "gradle",
    "cacheProvider": "memcached",
    "clientFramework": "no",
    "clientTestFrameworks": null,
    "clientTheme": null,
    "creationTimestamp": 1723288333786,
    "devDatabaseType": "postgresql",
    "enableGradleEnterprise": false,
    "enableHibernateCache": null,
    "enableSwaggerCodegen": false,
    "enableTranslation": false,
    "entities": [],
    "gradleEnterpriseHost": null,
    "jhipsterVersion": "8.5.0",
    "messageBroker": "no",
    "microfrontend": null,
    "microfrontends": [],
    "nativeLanguage": "it",
    "packageName": "com.mycompany.myapp",
    "prodDatabaseType": "postgresql",
    "searchEngine": "no",
    "serverPort": 8081,
    "serverTestFrameworks": [],
    "serviceDiscoveryType": "consul",
    "skipClient": true,
    "syncUserWithIdp": null,
    "testFrameworks": [
      []
    ],
    "withAdminUi": null
  }
}
Environment and Tools

openjdk version "21.0.4" 2024-07-16
OpenJDK Runtime Environment (build 21.0.4+7)
OpenJDK 64-Bit Server VM (build 21.0.4+7, mixed mode, sharing)

git version 2.46.0

node: v18.19.1
npm: 10.2.4

Docker version 27.1.1, build 63125853e3

Screenshot

HAZELCAST_ERROR
MEMCACHED_ERROR
REDIS_ERROR

  • [ X ] Checking this box is mandatory (this is just to show you read everything)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant