spring boot2 + spring security + keycloak 4.1 demo 2018年7月30日 | Leave a comment 问题: 网上的大多是 spring boot 1.x 解决; 完整的代码 : https://g… Read More
如何从 rabbitmq queue 中查找一条消息 2018年7月25日 | Leave a comment 问题: 如何从 rabbitmq queue 中查找一条消息 解决: 利用rabbitmq h… Read More
spring boot actuator/health & Rabbitmq 2018年7月24日 | Leave a comment 试验发现: rabbitmq 服务器挂掉后, actuator/health 会变成 down … Read More
【转】结合springboot和keycloak做登陆验证 2018年7月14日 | Leave a comment https://www.jianshu.com/p/efd32ace20dc 前言… Read More
keycloak 登录页面提示 Invalid parameter: redirect_uri 2018年7月14日 | Leave a comment 问题: keycloak 登录页面提示 Invalid parameter: redirect_… Read More
k8s 自动创建云硬盘 2018年7月13日 | Leave a comment kubernetes --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-mysql-keycloak-dev spec: accessModes: - ReadWriteOnce resources: requests: storage: 10Gi storageClassName: cbs # volumeName: pvc-mysql-keycloak-dev # selector: # matchLabels: # app: pv-mysql-keycloak-dev --- apiVersion: extensions/v1beta1 kind: Deployment metadata: name: mysql-keycloak-deploy-dev spec: replicas: 1 template: metadata: labels: app: mysql-keycloak-dev spec: containers: - name: mysql-keycloak-dev image: mysql:5.7 ports: - containerPort: 8080 volumeMounts: - name: mysql-data mountPath: /var/lib/mysql env: - name: MYSQL_ROOT_PASSWORD value: Lookeng2018 - name: MYSQL_DATABASE value: keycloak volumes: - name: mysql-data persistentVolumeClaim: claimName: pvc-mysql-keycloak-dev --- apiVersion: v1 kind: Service metadata: name: mysql-keycloak-service-dev spec: selector: app: mysql-keycloak-dev ports: - name: tcp3306 protocol: TCP port: 3306 targetPort: 3306 type: ClusterIP 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 ---apiVersion: v1kind: PersistentVolumeClaimmetadata: name: pvc-mysql-keycloak-devspec: accessModes: - ReadWriteOnce resources: requests: storage: 10Gi storageClassName: cbs # volumeName: pvc-mysql-keycloak-dev # selector: # matchLabels: # app: pv-mysql-keycloak-dev ---apiVersion: extensions/v1beta1kind: Deploymentmetadata: name: mysql-keycloak-deploy-devspec: replicas: 1 template: metadata: labels: app: mysql-keycloak-dev spec: containers: - name: mysql-keycloak-dev image: mysql:5.7 ports: - containerPort: 8080 volumeMounts: - name: mysql-data mountPath: /var/lib/mysql env: - name: MYSQL_ROOT_PASSWORD value: Lookeng2018 - name: MYSQL_DATABASE value: keycloak volumes: - name: mysql-data persistentVolumeClaim: claimName: pvc-mysql-keycloak-dev---apiVersion: v1kind: Servicemetadata: name: mysql-keycloak-service-devspec: selector: app: mysql-keycloak-dev ports: - name: tcp3306 protocol: TCP port: 3306 targetPort: 3306 type: ClusterIP &nbs… Read More
maven 项目 gitlab-ci.yaml 2018年7月5日 | Leave a comment 实现代码推送到gitlab 后gitlab runner (shell) 进行 maven build t… Read More
[转]【bug记录】jpa 解决org.hibernate.lazyinitializationexception could not initialize proxy – no session 2018年7月3日 | Leave a comment https://www.cnblogs.com/hellxz/p/9037597.html &n… Read More