jhipster

Jib-Maven-plugin with Jenkins scripted pipeline: how to log in to private docker registry?

家住魔仙堡 提交于 2021-02-19 05:20:29
问题 Regarding this problem, I updated my JHipster-Application with scripted Jenkins pipeline and have now in Jenkinsfile (partly following these hints): [...] def dockerImage withEnv(["DOCKER_CREDS=credentials('myregistry-login')"]) { stage('publish docker') { sh "./mvnw -X -ntp jib:build" } } with Jenkins global credentials myregistry-login saved in my Jenkins-Server to my own docker registry v2 docker-container https://myregistry.mydomain.com (domain changed for security reasons). I can

JHipster H2 DB Non-admin User

喜夏-厌秋 提交于 2021-02-11 12:33:39
问题 I am trying to run my spring-boot/liquibase/H2 database with a non-admin user and am having some problems understanding how to do this. First off, I have seen some information here and tried to set up my application.yml this way. datasource: type: com.zaxxer.hikari.HikariDataSource url: jdbc:h2:mem:test username: USERLIMITED password: user_limited_password liquibase: contexts: dev, faker user: THELIQUIBASEUSER password: THELIQUIBASEPASSWORD Also put these sql statements in the changelog to

Can I change the concatenation character of the String-Array regarding JHipsters 'jhiTranslate'?

前提是你 提交于 2021-02-11 07:15:35
问题 If I use a string array for translation in e.g. i18n/en/home.json like "primaryIntroduction": { "p1": [ "Then Jenkins triggers a task to connect to the docker-server", " and calls some docker- and docker-compose commands to pull the new image", " and rebuilds and restarts the docker-container." ] } jhipster concatenates the <p> on the english page like: Then Jenkins triggers a task to connect to the docker-server, and calls some docker- and docker-compose commands to pull the new image, and

Can I change the concatenation character of the String-Array regarding JHipsters 'jhiTranslate'?

我怕爱的太早我们不能终老 提交于 2021-02-11 07:10:26
问题 If I use a string array for translation in e.g. i18n/en/home.json like "primaryIntroduction": { "p1": [ "Then Jenkins triggers a task to connect to the docker-server", " and calls some docker- and docker-compose commands to pull the new image", " and rebuilds and restarts the docker-container." ] } jhipster concatenates the <p> on the english page like: Then Jenkins triggers a task to connect to the docker-server, and calls some docker- and docker-compose commands to pull the new image, and

Can I change the concatenation character of the String-Array regarding JHipsters 'jhiTranslate'?

那年仲夏 提交于 2021-02-11 07:09:09
问题 If I use a string array for translation in e.g. i18n/en/home.json like "primaryIntroduction": { "p1": [ "Then Jenkins triggers a task to connect to the docker-server", " and calls some docker- and docker-compose commands to pull the new image", " and rebuilds and restarts the docker-container." ] } jhipster concatenates the <p> on the english page like: Then Jenkins triggers a task to connect to the docker-server, and calls some docker- and docker-compose commands to pull the new image, and

JHipster throws error from Hikari, liquibase, Springboot configuration

左心房为你撑大大i 提交于 2021-02-10 15:05:19
问题 after setting up Jhipster microservice with MySQL Database and run it for the first time in the Intellij terminal the: Hikari, liquibase, Springboot configuration, throws error with this log: ERROR 8353 --- [ restartedMain] com.zaxxer.hikari.pool.HikariPool : Hikari - Exception during pool initialization. ERROR 8353 --- [ restartedMain] i.g.j.c.liquibase.AsyncSpringLiquibase : Liquibase could not start correctly, your database is NOT read ERROR 8353 --- [ restartedMain] com.zaxxer.hikari.pool

jhipster fine grain authorization, remove ROLE based authorization

柔情痞子 提交于 2021-02-10 06:31:49
问题 I have been searching on how to remove the ROLE based authorization and replace it with fine grain authorization. What I meant by fine grain is All method has a @PreAuthorize("isAuthorize('GETCLIENT')") or directly @IsAuthorize("GETCLIENT"). If the user has GETCLIENT in Authorization List, then the method can be executed. Otherwise, the system give error message or just deny access. Any clue or information regarding how to do that is very much appreciated. Thank you. 回答1: Like I said in the

jhipster fine grain authorization, remove ROLE based authorization

六月ゝ 毕业季﹏ 提交于 2021-02-10 06:31:41
问题 I have been searching on how to remove the ROLE based authorization and replace it with fine grain authorization. What I meant by fine grain is All method has a @PreAuthorize("isAuthorize('GETCLIENT')") or directly @IsAuthorize("GETCLIENT"). If the user has GETCLIENT in Authorization List, then the method can be executed. Otherwise, the system give error message or just deny access. Any clue or information regarding how to do that is very much appreciated. Thank you. 回答1: Like I said in the

Adding applicationproperties in Jhipster

梦想与她 提交于 2021-02-10 00:22:38
问题 I'm using jhipster microservices app for my development. Based on jhipster documentation for adding application-specific is here: application-dev.yml and ApplicationProperties.java I did this by adding this application: mycom: sgADIpAddress: 172.x.x.xxx and this my applicationconfig class package com.mbb.ias.config; import org.springframework.boot.context.properties.ConfigurationProperties; /** * Properties specific to JHipster. * * <p> * Properties are configured in the application.yml file.

Adding applicationproperties in Jhipster

♀尐吖头ヾ 提交于 2021-02-09 23:28:33
问题 I'm using jhipster microservices app for my development. Based on jhipster documentation for adding application-specific is here: application-dev.yml and ApplicationProperties.java I did this by adding this application: mycom: sgADIpAddress: 172.x.x.xxx and this my applicationconfig class package com.mbb.ias.config; import org.springframework.boot.context.properties.ConfigurationProperties; /** * Properties specific to JHipster. * * <p> * Properties are configured in the application.yml file.