Compare commits

...

105 Commits

Author SHA1 Message Date
49023d2237
Completed upgrade to spring boot 3.x 2022-12-05 21:31:54 +07:00
f52cdf4237
Updated 2022-12-05 21:04:43 +07:00
Sambo Chea
c6c1d67dc1
Merge pull request #54 from CUBETIQ/dependabot/gradle/plugin.spring-1.7.22
Bump plugin.spring from 1.7.21 to 1.7.22
2022-12-05 20:53:05 +07:00
Sambo Chea
461b91eb7a
Merge pull request #51 from CUBETIQ/dependabot/gradle/com.netflix.dgs.codegen-5.6.3
Bump com.netflix.dgs.codegen from 5.6.0 to 5.6.3
2022-12-05 20:52:54 +07:00
dependabot[bot]
1934c64ed3
Bump plugin.spring from 1.7.21 to 1.7.22
Bumps [plugin.spring](https://github.com/JetBrains/kotlin) from 1.7.21 to 1.7.22.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22)

---
updated-dependencies:
- dependency-name: plugin.spring
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 13:52:50 +00:00
dependabot[bot]
927bcbf9e3
Bump com.netflix.dgs.codegen from 5.6.0 to 5.6.3
Bumps com.netflix.dgs.codegen from 5.6.0 to 5.6.3.

---
updated-dependencies:
- dependency-name: com.netflix.dgs.codegen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 13:52:48 +00:00
Sambo Chea
2aefd32ae2
Merge pull request #52 from CUBETIQ/dependabot/gradle/org.springframework.boot-3.0.0
Bump org.springframework.boot from 2.7.5 to 3.0.0
2022-12-05 20:52:37 +07:00
Sambo Chea
3a60535018
Merge pull request #53 from CUBETIQ/dependabot/gradle/jvm-1.7.22
Bump jvm from 1.7.21 to 1.7.22
2022-12-05 20:52:27 +07:00
Sambo Chea
020ef1f3ee
Merge pull request #55 from CUBETIQ/dependabot/gradle/plugin.jpa-1.7.22
Bump plugin.jpa from 1.7.21 to 1.7.22
2022-12-05 20:52:08 +07:00
dependabot[bot]
c565f6a109
Bump plugin.jpa from 1.7.21 to 1.7.22
Bumps [plugin.jpa](https://github.com/JetBrains/kotlin) from 1.7.21 to 1.7.22.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22)

---
updated-dependencies:
- dependency-name: plugin.jpa
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 02:12:19 +00:00
dependabot[bot]
3141d79f10
Bump jvm from 1.7.21 to 1.7.22
Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.7.21 to 1.7.22.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22)

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 02:10:27 +00:00
dependabot[bot]
4d4e147e4d
Bump org.springframework.boot from 2.7.5 to 3.0.0
Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 2.7.5 to 3.0.0.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.5...v3.0.0)

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 02:10:09 +00:00
Sambo Chea
d069f966aa
Merge pull request #47 from CUBETIQ/dependabot/gradle/plugin.spring-1.7.21
Bump plugin.spring from 1.7.10 to 1.7.21
2022-11-09 20:06:45 +07:00
dependabot[bot]
c15c745657
Bump plugin.spring from 1.7.10 to 1.7.21
Bumps [plugin.spring](https://github.com/JetBrains/kotlin) from 1.7.10 to 1.7.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: plugin.spring
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 13:03:54 +00:00
Sambo Chea
ba218d15ca
Merge pull request #46 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.4.3
Bump graphql-dgs-platform-dependencies from 5.4.1 to 5.4.3
2022-11-09 20:02:33 +07:00
Sambo Chea
75f8d25cee
Merge pull request #48 from CUBETIQ/dependabot/gradle/jvm-1.7.21
Bump jvm from 1.7.20 to 1.7.21
2022-11-09 20:02:17 +07:00
Sambo Chea
7294abaa13
Merge pull request #49 from CUBETIQ/dependabot/gradle/plugin.jpa-1.7.21
Bump plugin.jpa from 1.7.20 to 1.7.21
2022-11-09 20:02:07 +07:00
dependabot[bot]
7958a2ebc9
Bump plugin.jpa from 1.7.20 to 1.7.21
Bumps [plugin.jpa](https://github.com/JetBrains/kotlin) from 1.7.20 to 1.7.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: plugin.jpa
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 02:09:58 +00:00
dependabot[bot]
95d4623ea9
Bump jvm from 1.7.20 to 1.7.21
Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.7.20 to 1.7.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 02:08:32 +00:00
dependabot[bot]
668635bc23
Bump graphql-dgs-platform-dependencies from 5.4.1 to 5.4.3
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.4.1 to 5.4.3.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.4.1...v5.4.3)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 02:12:46 +00:00
Sambo Chea
79d1170e92
Merge pull request #45 from CUBETIQ/dependabot/gradle/com.netflix.dgs.codegen-5.6.0
Bump com.netflix.dgs.codegen from 5.4.0 to 5.6.0
2022-11-03 18:39:02 +07:00
dependabot[bot]
66ab0b04c7
Bump com.netflix.dgs.codegen from 5.4.0 to 5.6.0
Bumps com.netflix.dgs.codegen from 5.4.0 to 5.6.0.

---
updated-dependencies:
- dependency-name: com.netflix.dgs.codegen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 02:54:31 +00:00
Sambo Chea
61c9a13e0d
Merge pull request #41 from CUBETIQ/dependabot/gradle/io.spring.dependency-management-1.1.0
Bump io.spring.dependency-management from 1.0.14.RELEASE to 1.1.0
2022-10-21 21:14:21 +07:00
dependabot[bot]
6010aae6d5
Bump io.spring.dependency-management from 1.0.14.RELEASE to 1.1.0
Bumps [io.spring.dependency-management](https://github.com/spring-gradle-plugins/dependency-management-plugin) from 1.0.14.RELEASE to 1.1.0.
- [Release notes](https://github.com/spring-gradle-plugins/dependency-management-plugin/releases)
- [Commits](https://github.com/spring-gradle-plugins/dependency-management-plugin/compare/v1.0.14.RELEASE...v1.1.0)

---
updated-dependencies:
- dependency-name: io.spring.dependency-management
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21 13:24:33 +00:00
Sambo Chea
c9aad65b66
Merge pull request #42 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.4.1
Bump graphql-dgs-platform-dependencies from 5.3.0 to 5.4.1
2022-10-21 20:23:52 +07:00
Sambo Chea
6a7464fc06
Merge pull request #43 from CUBETIQ/dependabot/gradle/org.springframework.boot-2.7.5
Bump org.springframework.boot from 2.7.4 to 2.7.5
2022-10-21 20:23:32 +07:00
dependabot[bot]
5fad521b55
Bump org.springframework.boot from 2.7.4 to 2.7.5
Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 2.7.4 to 2.7.5.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.4...v2.7.5)

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21 03:01:55 +00:00
dependabot[bot]
de4d24025b
Bump graphql-dgs-platform-dependencies from 5.3.0 to 5.4.1
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.3.0 to 5.4.1.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.3.0...v5.4.1)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 02:32:15 +00:00
Sambo Chea
3c020ab48d
Merge pull request #38 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.3.0
Bump graphql-dgs-platform-dependencies from 5.2.4 to 5.3.0
2022-10-10 20:33:36 +07:00
Sambo Chea
9df67c9939
Merge pull request #39 from CUBETIQ/dependabot/gradle/com.netflix.dgs.codegen-5.4.0
Bump com.netflix.dgs.codegen from 5.3.1 to 5.4.0
2022-10-10 20:33:11 +07:00
dependabot[bot]
57b8b5e567
Bump com.netflix.dgs.codegen from 5.3.1 to 5.4.0
Bumps com.netflix.dgs.codegen from 5.3.1 to 5.4.0.

---
updated-dependencies:
- dependency-name: com.netflix.dgs.codegen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 02:32:47 +00:00
dependabot[bot]
4f3a4ac905
Bump graphql-dgs-platform-dependencies from 5.2.4 to 5.3.0
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.2.4 to 5.3.0.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.2.4...v5.3.0)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 02:49:51 +00:00
Sambo Chea
2a2fbd611e
Merge pull request #36 from CUBETIQ/dependabot/gradle/jvm-1.7.20
Bump jvm from 1.7.10 to 1.7.20
2022-09-30 10:34:05 +07:00
Sambo Chea
16999cc450
Merge pull request #37 from CUBETIQ/dependabot/gradle/plugin.jpa-1.7.20
Bump plugin.jpa from 1.7.10 to 1.7.20
2022-09-30 10:33:57 +07:00
dependabot[bot]
d92cf2e6ab
Bump plugin.jpa from 1.7.10 to 1.7.20
Bumps [plugin.jpa](https://github.com/JetBrains/kotlin) from 1.7.10 to 1.7.20.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20)

---
updated-dependencies:
- dependency-name: plugin.jpa
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-30 02:41:08 +00:00
dependabot[bot]
10c0eaf59b
Bump jvm from 1.7.10 to 1.7.20
Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.7.10 to 1.7.20.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20)

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-30 02:40:30 +00:00
Sambo Chea
65842985ae
Merge pull request #33 from CUBETIQ/dependabot/gradle/org.springframework.boot-2.7.4
Bump org.springframework.boot from 2.7.3 to 2.7.4
2022-09-28 19:38:04 +07:00
Sambo Chea
39738ea7b8
Merge pull request #34 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.2.4
Bump graphql-dgs-platform-dependencies from 5.2.2 to 5.2.4
2022-09-28 19:37:20 +07:00
dependabot[bot]
cc66752337
Bump graphql-dgs-platform-dependencies from 5.2.2 to 5.2.4
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.2.2 to 5.2.4.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.2.2...v5.2.4)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 02:40:01 +00:00
dependabot[bot]
58e862800f
Bump org.springframework.boot from 2.7.3 to 2.7.4
Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 2.7.3 to 2.7.4.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.3...v2.7.4)

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 02:39:57 +00:00
Sambo Chea
238be97112
Merge pull request #32 from CUBETIQ/dependabot/gradle/io.spring.dependency-management-1.0.14.RELEASE
Bump io.spring.dependency-management from 1.0.13.RELEASE to 1.0.14.RELEASE
2022-09-22 11:09:39 +07:00
dependabot[bot]
8e54474a9e
Bump io.spring.dependency-management
Bumps [io.spring.dependency-management](https://github.com/spring-gradle-plugins/dependency-management-plugin) from 1.0.13.RELEASE to 1.0.14.RELEASE.
- [Release notes](https://github.com/spring-gradle-plugins/dependency-management-plugin/releases)
- [Commits](https://github.com/spring-gradle-plugins/dependency-management-plugin/compare/v1.0.13.RELEASE...v1.0.14.RELEASE)

---
updated-dependencies:
- dependency-name: io.spring.dependency-management
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 02:47:48 +00:00
Sambo Chea
6643c811f8
Merge pull request #30 from CUBETIQ/dependabot/gradle/com.netflix.dgs.codegen-5.3.1
Bump com.netflix.dgs.codegen from 5.2.6 to 5.3.1
2022-09-21 09:46:11 +07:00
Sambo Chea
60adbf6eb2
Merge pull request #31 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.2.2
Bump graphql-dgs-platform-dependencies from 5.2.1 to 5.2.2
2022-09-21 09:46:02 +07:00
dependabot[bot]
a2e272e781
Bump graphql-dgs-platform-dependencies from 5.2.1 to 5.2.2
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 02:45:00 +00:00
dependabot[bot]
7526cc66ff
Bump com.netflix.dgs.codegen from 5.2.6 to 5.3.1
Bumps com.netflix.dgs.codegen from 5.2.6 to 5.3.1.

---
updated-dependencies:
- dependency-name: com.netflix.dgs.codegen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-02 02:50:00 +00:00
Sambo Chea
2b82268329
Merge pull request #28 from CUBETIQ/dependabot/gradle/org.springframework.boot-2.7.3
Bump org.springframework.boot from 2.7.2 to 2.7.3
2022-08-31 12:16:13 +07:00
Sambo Chea
b4a8dcff34
Merge pull request #29 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.2.1
Bump graphql-dgs-platform-dependencies from 5.1.1 to 5.2.1
2022-08-31 12:16:07 +07:00
dependabot[bot]
8b67cc0f95
Bump graphql-dgs-platform-dependencies from 5.1.1 to 5.2.1
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.1.1 to 5.2.1.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.1.1...v5.2.1)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 02:35:42 +00:00
dependabot[bot]
495c1034a7
Bump org.springframework.boot from 2.7.2 to 2.7.3
Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 2.7.2 to 2.7.3.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.2...v2.7.3)

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-19 02:25:59 +00:00
Sambo Chea
8513a5fcfe
Merge pull request #27 from CUBETIQ/dependabot/gradle/com.netflix.dgs.codegen-5.2.6
Bump com.netflix.dgs.codegen from 5.2.5 to 5.2.6
2022-08-16 11:26:26 +07:00
Sambo Chea
9fbc86b919
Merge pull request #26 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.1.1
Bump graphql-dgs-platform-dependencies from 5.1.0 to 5.1.1
2022-08-16 11:26:19 +07:00
dependabot[bot]
0dff314ec5
Bump com.netflix.dgs.codegen from 5.2.5 to 5.2.6
Bumps com.netflix.dgs.codegen from 5.2.5 to 5.2.6.

---
updated-dependencies:
- dependency-name: com.netflix.dgs.codegen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-16 02:36:01 +00:00
dependabot[bot]
e41006a446
Bump graphql-dgs-platform-dependencies from 5.1.0 to 5.1.1
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-16 02:36:00 +00:00
Sambo Chea
8a04c76fa7
Merge pull request #25 from CUBETIQ/dependabot/gradle/io.spring.dependency-management-1.0.13.RELEASE
Bump io.spring.dependency-management from 1.0.12.RELEASE to 1.0.13.RELEASE
2022-08-11 11:08:40 +07:00
dependabot[bot]
2cd79cfde7
Bump io.spring.dependency-management
Bumps [io.spring.dependency-management](https://github.com/spring-gradle-plugins/dependency-management-plugin) from 1.0.12.RELEASE to 1.0.13.RELEASE.
- [Release notes](https://github.com/spring-gradle-plugins/dependency-management-plugin/releases)
- [Commits](https://github.com/spring-gradle-plugins/dependency-management-plugin/compare/v1.0.12.RELEASE...v1.0.13.RELEASE)

---
updated-dependencies:
- dependency-name: io.spring.dependency-management
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 02:50:54 +00:00
Sambo Chea
f832c2b51e
Merge pull request #24 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.1.0
Bump graphql-dgs-platform-dependencies from 5.0.5 to 5.1.0
2022-08-10 09:43:03 +07:00
dependabot[bot]
a1cea270e6
Bump graphql-dgs-platform-dependencies from 5.0.5 to 5.1.0
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.0.5 to 5.1.0.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.0.5...v5.1.0)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-10 02:35:32 +00:00
Sambo Chea
6b89b3b07b
Merge pull request #23 from CUBETIQ/dependabot/gradle/org.springframework.boot-2.7.2
Bump org.springframework.boot from 2.7.1 to 2.7.2
2022-07-22 11:19:03 +07:00
dependabot[bot]
98dd1624fb
Bump org.springframework.boot from 2.7.1 to 2.7.2
Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.1...v2.7.2)

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22 02:42:15 +00:00
Sambo Chea
125be3ac17
Merge pull request #22 from CUBETIQ/dependabot/gradle/com.netflix.dgs.codegen-5.2.5
Bump com.netflix.dgs.codegen from 5.2.4 to 5.2.5
2022-07-21 11:11:10 +07:00
dependabot[bot]
064c65bf78
Bump com.netflix.dgs.codegen from 5.2.4 to 5.2.5
Bumps com.netflix.dgs.codegen from 5.2.4 to 5.2.5.

---
updated-dependencies:
- dependency-name: com.netflix.dgs.codegen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 02:52:37 +00:00
Sambo Chea
2f5d0f0f01
Merge pull request #21 from CUBETIQ/dependabot/gradle/com.netflix.dgs.codegen-5.2.4
Bump com.netflix.dgs.codegen from 5.2.3 to 5.2.4
2022-07-11 15:43:56 +07:00
dependabot[bot]
5d75b10451
Bump com.netflix.dgs.codegen from 5.2.3 to 5.2.4
Bumps com.netflix.dgs.codegen from 5.2.3 to 5.2.4.

---
updated-dependencies:
- dependency-name: com.netflix.dgs.codegen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 02:30:14 +00:00
Sambo Chea
ad056ce150
Merge pull request #17 from CUBETIQ/dependabot/gradle/plugin.jpa-1.7.10
Bump plugin.jpa from 1.7.0 to 1.7.10
2022-07-08 12:53:02 +07:00
dependabot[bot]
68410976fa
Bump plugin.jpa from 1.7.0 to 1.7.10
Bumps [plugin.jpa](https://github.com/JetBrains/kotlin) from 1.7.0 to 1.7.10.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: plugin.jpa
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 05:52:55 +00:00
Sambo Chea
52fe27f997
Merge pull request #19 from CUBETIQ/dependabot/gradle/plugin.spring-1.7.10
Bump plugin.spring from 1.7.0 to 1.7.10
2022-07-08 12:52:13 +07:00
dependabot[bot]
40b3a75d0c
Bump plugin.spring from 1.7.0 to 1.7.10
Bumps [plugin.spring](https://github.com/JetBrains/kotlin) from 1.7.0 to 1.7.10.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: plugin.spring
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 05:51:43 +00:00
Sambo Chea
682ec654fb
Merge pull request #18 from CUBETIQ/dependabot/gradle/com.netflix.dgs.codegen-5.2.3
Bump com.netflix.dgs.codegen from 5.1.17 to 5.2.3
2022-07-08 12:51:23 +07:00
Sambo Chea
104546c534
Merge pull request #20 from CUBETIQ/dependabot/gradle/jvm-1.7.10
Bump jvm from 1.7.0 to 1.7.10
2022-07-08 12:51:06 +07:00
dependabot[bot]
9e8da2e833
Bump jvm from 1.7.0 to 1.7.10
Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.7.0 to 1.7.10.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 02:44:07 +00:00
dependabot[bot]
ef81b01870
Bump com.netflix.dgs.codegen from 5.1.17 to 5.2.3
Bumps com.netflix.dgs.codegen from 5.1.17 to 5.2.3.

---
updated-dependencies:
- dependency-name: com.netflix.dgs.codegen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 02:42:35 +00:00
Sambo Chea
fab96fe26a
Merge pull request #15 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.0.5
Bump graphql-dgs-platform-dependencies from 5.0.4 to 5.0.5
2022-07-05 16:13:33 +07:00
dependabot[bot]
a62fb0f6a0
Bump graphql-dgs-platform-dependencies from 5.0.4 to 5.0.5
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.0.4...v5.0.5)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 02:56:15 +00:00
Sambo Chea
5e5d7d79dd
Merge pull request #14 from CUBETIQ/dependabot/gradle/io.spring.dependency-management-1.0.12.RELEASE
Bump io.spring.dependency-management from 1.0.11.RELEASE to 1.0.12.RELEASE
2022-07-01 14:49:30 +07:00
dependabot[bot]
08a549c3d1
Bump io.spring.dependency-management
Bumps [io.spring.dependency-management](https://github.com/spring-gradle-plugins/dependency-management-plugin) from 1.0.11.RELEASE to 1.0.12.RELEASE.
- [Release notes](https://github.com/spring-gradle-plugins/dependency-management-plugin/releases)
- [Commits](https://github.com/spring-gradle-plugins/dependency-management-plugin/compare/v1.0.11.RELEASE...v1.0.12.RELEASE)

---
updated-dependencies:
- dependency-name: io.spring.dependency-management
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 02:48:39 +00:00
Sambo Chea
121e8a0cd9
Merge pull request #13 from CUBETIQ/dependabot/gradle/org.springframework.boot-2.7.1
Bump org.springframework.boot from 2.7.0 to 2.7.1
2022-06-24 10:54:30 +07:00
dependabot[bot]
b2cd6d4741
Bump org.springframework.boot from 2.7.0 to 2.7.1
Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 02:40:08 +00:00
Sambo Chea
be2a718c0a
Merge pull request #12 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.0.4
Bump graphql-dgs-platform-dependencies from 5.0.3 to 5.0.4
2022-06-16 10:32:45 +07:00
dependabot[bot]
ecf8a7eb22
Bump graphql-dgs-platform-dependencies from 5.0.3 to 5.0.4
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.0.3...v5.0.4)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 02:38:57 +00:00
Sambo Chea
1da2a00161
Merge pull request #8 from CUBETIQ/dependabot/gradle/plugin.spring-1.7.0
Bump plugin.spring from 1.6.21 to 1.7.0
2022-06-13 19:06:10 +07:00
dependabot[bot]
20d9f7b7b0
Bump plugin.spring from 1.6.21 to 1.7.0
Bumps [plugin.spring](https://github.com/JetBrains/kotlin) from 1.6.21 to 1.7.0.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.21...v1.7.0)

---
updated-dependencies:
- dependency-name: plugin.spring
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 01:49:31 +00:00
Sambo Chea
e199da8f4f
Update README.md 2022-06-13 08:17:27 +07:00
Sambo Chea
56104abfa2
Merge pull request #9 from CUBETIQ/dependabot/gradle/jvm-1.7.0
Bump jvm from 1.6.21 to 1.7.0
2022-06-13 08:16:56 +07:00
Sambo Chea
40902467dc
Merge pull request #11 from CUBETIQ/dependabot/gradle/plugin.jpa-1.7.0
Bump plugin.jpa from 1.6.21 to 1.7.0
2022-06-13 08:16:50 +07:00
Sambo Chea
5686764e04
Merge pull request #10 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.0.3
Bump graphql-dgs-platform-dependencies from 5.0.2 to 5.0.3
2022-06-13 08:09:36 +07:00
dependabot[bot]
97250acacf
Bump plugin.jpa from 1.6.21 to 1.7.0
Bumps [plugin.jpa](https://github.com/JetBrains/kotlin) from 1.6.21 to 1.7.0.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.21...v1.7.0)

---
updated-dependencies:
- dependency-name: plugin.jpa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 02:45:57 +00:00
dependabot[bot]
3b106a4362
Bump graphql-dgs-platform-dependencies from 5.0.2 to 5.0.3
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.0.2...v5.0.3)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 02:45:23 +00:00
dependabot[bot]
82cf0f56ac
Bump jvm from 1.6.21 to 1.7.0
Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.6.21 to 1.7.0.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.21...v1.7.0)

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 02:45:16 +00:00
Sambo Chea
8da48bdf71
Merge pull request #7 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.0.2
Bump graphql-dgs-platform-dependencies from 5.0.1 to 5.0.2
2022-06-06 10:33:08 +07:00
dependabot[bot]
9886869d8e
Bump graphql-dgs-platform-dependencies from 5.0.1 to 5.0.2
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v5.0.1...v5.0.2)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 02:42:55 +00:00
Sambo Chea
4104ceeaa4
Merge pull request #6 from CUBETIQ/dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-5.0.1
Bump graphql-dgs-platform-dependencies from 4.10.4 to 5.0.1
2022-05-30 11:42:48 +07:00
dependabot[bot]
e078c91206
Bump graphql-dgs-platform-dependencies from 4.10.4 to 5.0.1
Bumps [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from 4.10.4 to 5.0.1.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/compare/v4.10.4...v5.0.1)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 02:42:06 +00:00
feedc82a80
Updated spring and dgs 2022-05-27 12:30:12 +07:00
Sambo Chea
ae023ee293
Merge pull request #1 from CUBETIQ/dependabot/gradle/plugin.jpa-1.6.21
Bump plugin.jpa from 1.5.21 to 1.6.21
2022-05-27 09:07:15 +07:00
Sambo Chea
442560ebb0
Merge pull request #3 from CUBETIQ/dependabot/gradle/jvm-1.6.21
Bump jvm from 1.5.21 to 1.6.21
2022-05-27 09:07:07 +07:00
dependabot[bot]
77c3c35c80
Bump plugin.jpa from 1.5.21 to 1.6.21
Bumps plugin.jpa from 1.5.21 to 1.6.21.

---
updated-dependencies:
- dependency-name: plugin.jpa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 02:07:03 +00:00
dependabot[bot]
1c33e5546c
Bump jvm from 1.5.21 to 1.6.21
Bumps jvm from 1.5.21 to 1.6.21.

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 02:06:43 +00:00
Sambo Chea
12c1041847
Merge pull request #2 from CUBETIQ/dependabot/gradle/com.netflix.dgs.codegen-5.1.17
Bump com.netflix.dgs.codegen from 5.0.5 to 5.1.17
2022-05-27 09:06:31 +07:00
Sambo Chea
108a6df9f8
Merge pull request #4 from CUBETIQ/dependabot/gradle/plugin.spring-1.6.21
Bump plugin.spring from 1.5.21 to 1.6.21
2022-05-27 09:06:17 +07:00
Sambo Chea
241d2e1232
Merge pull request #5 from CUBETIQ/dependabot/gradle/org.springframework.boot-2.7.0
Bump org.springframework.boot from 2.5.3 to 2.7.0
2022-05-27 09:06:09 +07:00
dependabot[bot]
84809af27b
Bump org.springframework.boot from 2.5.3 to 2.7.0
Bumps org.springframework.boot from 2.5.3 to 2.7.0.

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 02:05:22 +00:00
dependabot[bot]
076c7bdac0
Bump plugin.spring from 1.5.21 to 1.6.21
Bumps plugin.spring from 1.5.21 to 1.6.21.

---
updated-dependencies:
- dependency-name: plugin.spring
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 02:05:20 +00:00
dependabot[bot]
ad35f40612
Bump com.netflix.dgs.codegen from 5.0.5 to 5.1.17
Bumps com.netflix.dgs.codegen from 5.0.5 to 5.1.17.

---
updated-dependencies:
- dependency-name: com.netflix.dgs.codegen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 02:05:18 +00:00
Sambo Chea
8d8a5ecddd
Create dependabot.yml 2022-05-27 09:05:03 +07:00
23 changed files with 102 additions and 63 deletions

11
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "gradle" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"

11
.gitmodules vendored
View File

@ -1,3 +1,8 @@
[submodule "cubetiq-security-jwt"]
path = cubetiq-security-jwt
url = https://git.cubetiqs.com/CUBETIQ/cubetiq-security-jwt.git
[submodule "cubetiq-security-core"]
path = cubetiq-security-core
url = https://git.cubetiqs.com/cubetiq/cubetiq-security-core.git
branch = main
[submodule "cubetiq-security-web"]
path = cubetiq-security-web
url = https://git.cubetiqs.com/cubetiq/cubetiq-security-web.git
branch = main

View File

@ -1,7 +1,7 @@
# GraphQL & Spring Boot (Demo Project)
- Spring Boot (2.6)
- DGS Framework (4.5.0)
- Kotlin (1.5.21)
- Spring Boot
- DGS Framework
- Kotlin
# Contributors
- Sambo Chea <sombochea@cubetiqs.com>

View File

@ -1,23 +1,23 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.5.3" apply false
id("io.spring.dependency-management") version "1.0.11.RELEASE" apply false
kotlin("jvm") version "1.5.21" apply false
kotlin("plugin.spring") version "1.5.21" apply false
kotlin("plugin.jpa") version "1.5.21" apply false
id("com.netflix.dgs.codegen") version "5.0.5" apply false
id("org.springframework.boot") version "3.0.0" apply false
id("io.spring.dependency-management") version "1.1.0" apply false
kotlin("jvm") version "1.7.22" apply false
kotlin("plugin.spring") version "1.7.22" apply false
kotlin("plugin.jpa") version "1.7.22" apply false
id("com.netflix.dgs.codegen") version "5.6.3" apply false
}
allprojects {
repositories {
maven { url = uri("https://m.ctdn.net") }
mavenCentral()
}
group = "com.cubetiqs"
version = "0.0.1-SNAPSHOT"
val javaVersion = "11"
val javaVersion = "17"
tasks.withType<JavaCompile> {
sourceCompatibility = javaVersion

1
cubetiq-security-core Submodule

@ -0,0 +1 @@
Subproject commit 612bafe9af476798a40a536c82112c63c8627f4f

@ -1 +0,0 @@
Subproject commit d69f52fee0d6c8c0fad3eab64dc0645470168a49

1
cubetiq-security-web Submodule

@ -0,0 +1 @@
Subproject commit 62d0e718e59af79db15871bde67affd8c38b15e5

View File

@ -7,13 +7,12 @@ plugins {
id("com.netflix.dgs.codegen")
}
extra["dgsVersion"] = "4.5.0"
dependencies {
api(project(":cubetiq-security-jwt"))
api(project(":cubetiq-security-web"))
implementation("com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter:${property("dgsVersion")}")
runtimeOnly("com.netflix.graphql.dgs:graphql-dgs-subscriptions-websockets-autoconfigure:${property("dgsVersion")}")
implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:5.4.3"))
implementation("com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter")
runtimeOnly("com.netflix.graphql.dgs:graphql-dgs-subscriptions-websockets-autoconfigure")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-actuator")

View File

@ -1,10 +1,19 @@
package com.cubetiqs.graphql.demo
import com.cubetiqs.sp.security.util.PasswordUtils
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.security.crypto.password.PasswordEncoder
@SpringBootApplication
class GraphqlDemoApplication
class GraphqlDemoApplication @Autowired constructor(
private val passwordEncoder: PasswordEncoder,
) {
init {
PasswordUtils.setEncoder(passwordEncoder)
}
}
fun main(args: Array<String>) {
runApplication<GraphqlDemoApplication>(*args)

View File

@ -1,37 +1,44 @@
package com.cubetiqs.graphql.demo.config
import com.cubetiqs.graphql.demo.security.AuthService
import com.cubetiqs.security.jwt.AuthenticationExceptionEntryPoint
import com.cubetiqs.security.jwt.JwtSecurityConfigurer
import com.cubetiqs.sp.security.EnableCubetiqSecurityModule
import com.cubetiqs.sp.security.jwt.CubetiqJwtProperties
import com.cubetiqs.sp.security.jwt.JwtSecurityConfigurer
import com.cubetiqs.sp.security.support.AuthenticationExceptionEntryPoint
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.http.SessionCreationPolicy
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
import org.springframework.security.crypto.password.PasswordEncoder
import org.springframework.security.web.SecurityFilterChain
@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled = true)
class WebSecurityConfig : WebSecurityConfigurerAdapter() {
@Autowired
private lateinit var authService: AuthService
@EnableMethodSecurity(prePostEnabled = true)
@EnableCubetiqSecurityModule
class WebSecurityConfig @Autowired constructor(
private val authService: AuthService,
private val cubetiqJwtProperties: CubetiqJwtProperties,
) {
@Bean
fun passwordEncoder(): PasswordEncoder {
return BCryptPasswordEncoder(10)
}
override fun configure(http: HttpSecurity) {
http.csrf().disable()
.sessionManagement()
.sessionCreationPolicy(SessionCreationPolicy.STATELESS)
@Bean
fun filterChain(http: HttpSecurity): SecurityFilterChain {
http.csrf().disable().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
http
.exceptionHandling()
.authenticationEntryPoint(AuthenticationExceptionEntryPoint())
http.exceptionHandling().authenticationEntryPoint(AuthenticationExceptionEntryPoint())
http
.apply(JwtSecurityConfigurer(authService))
http.apply(JwtSecurityConfigurer(authService, cubetiqJwtProperties))
http
.authorizeRequests()
.anyRequest().permitAll()
http.authorizeHttpRequests().anyRequest().permitAll()
return http.build()
}
}

View File

@ -2,8 +2,8 @@ package com.cubetiqs.graphql.demo.domain
import org.springframework.data.jpa.domain.support.AuditingEntityListener
import java.io.Serializable
import javax.persistence.EntityListeners
import javax.persistence.MappedSuperclass
import jakarta.persistence.EntityListeners
import jakarta.persistence.MappedSuperclass
@MappedSuperclass
@EntityListeners(AuditingEntityListener::class)

View File

@ -8,7 +8,7 @@ import org.springframework.data.annotation.CreatedDate
import org.springframework.data.annotation.LastModifiedDate
import java.math.BigDecimal
import java.util.*
import javax.persistence.*
import jakarta.persistence.*
@Entity
@Table(name = "accounts", indexes = [

View File

@ -1,9 +1,9 @@
package com.cubetiqs.graphql.demo.domain.account
import java.util.*
import javax.persistence.PostPersist
import javax.persistence.PrePersist
import javax.persistence.PreUpdate
import jakarta.persistence.PostPersist
import jakarta.persistence.PrePersist
import jakarta.persistence.PreUpdate
class AccountEntityListener {
@PrePersist

View File

@ -7,7 +7,7 @@ import org.hibernate.Hibernate
import org.springframework.data.annotation.CreatedDate
import org.springframework.data.annotation.LastModifiedDate
import java.util.*
import javax.persistence.*
import jakarta.persistence.*
@Entity
@Table(

View File

@ -1,8 +1,8 @@
package com.cubetiqs.graphql.demo.domain.user
import java.util.*
import javax.persistence.PrePersist
import javax.persistence.PreUpdate
import jakarta.persistence.PrePersist
import jakarta.persistence.PreUpdate
class UserEntityListener {
@PrePersist

View File

@ -4,7 +4,7 @@ import com.cubetiqs.graphql.demo.context.GMutation
import com.cubetiqs.graphql.demo.dgmodel.DgsConstants
import com.cubetiqs.graphql.demo.dgmodel.types.LoginResponse
import com.cubetiqs.graphql.demo.security.AuthService
import com.cubetiqs.security.jwt.util.JwtUtils
import com.cubetiqs.sp.security.jwt.util.JwtTokenUtils
import com.netflix.graphql.dgs.DgsMutation
import org.springframework.beans.factory.annotation.Autowired
@ -16,7 +16,10 @@ class LoginMutationResolver {
@DgsMutation(field = DgsConstants.MUTATION.Login)
fun login(username: String, password: String): LoginResponse {
val auth = authService.login(username, password)
val token = JwtUtils.encryptToken(auth)
return LoginResponse(token)
val token = JwtTokenUtils.createTokens(auth)
return LoginResponse(
accessToken = token.accessToken,
refreshToken = token.refreshToken,
)
}
}

View File

@ -7,7 +7,7 @@ import com.cubetiqs.graphql.demo.domain.user.User
import com.cubetiqs.graphql.demo.domain.user.UserInput
import com.cubetiqs.graphql.demo.domain.user.UserMapper
import com.cubetiqs.graphql.demo.repository.UserRepository
import com.cubetiqs.security.jwt.util.JwtUtils
import com.cubetiqs.sp.security.util.PasswordUtils
import com.netflix.graphql.dgs.DgsMutation
import com.netflix.graphql.dgs.exceptions.DgsEntityNotFoundException
import org.springframework.beans.factory.annotation.Autowired
@ -30,7 +30,7 @@ class UserMutationResolver @Autowired constructor(
@DgsMutation(field = DgsConstants.MUTATION.ChangeUserPassword)
fun changePassword(input: UserChangePasswordInput): User {
val user = userRepository.queryByUsername(input.username).orElse(null) ?: throw DgsEntityNotFoundException("User not found!")
user.password = JwtUtils.passwordEncoder().encode(input.password)
user.password = PasswordUtils.encode(input.password)
return userRepository.save(user)
}
}

View File

@ -1,7 +1,8 @@
package com.cubetiqs.graphql.demo.security
import com.cubetiqs.graphql.demo.domain.user.User
import com.cubetiqs.security.jwt.util.JwtUtils
import com.cubetiqs.sp.security.jwt.util.JwtTokenUtils
import com.cubetiqs.sp.security.util.PasswordUtils
import org.springframework.security.core.GrantedAuthority
import org.springframework.security.core.authority.SimpleGrantedAuthority
import org.springframework.security.core.userdetails.UserDetails
@ -47,7 +48,7 @@ data class AuthDetails(
}
fun isPasswordValid(password: String): Boolean {
return JwtUtils.passwordEncoder().matches(password, this.getPassword())
return PasswordUtils.matches(password, this.getPassword())
}
companion object {

View File

@ -0,0 +1 @@
application-local.yml

View File

@ -3,6 +3,8 @@ server:
# Spring Boot
spring:
profiles:
active: ${APP_PROFILE:}
datasource:
url: jdbc:postgresql://${DB_HOST:localhost}:5432/${DB_NAME:graphql-demo}
username: ${DB_USER:your-username}

View File

@ -14,7 +14,8 @@ input UserInput {
}
type LoginResponse {
token: String
accessToken: String
refreshToken: String
}
input UserChangePasswordInput {

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -1,4 +1,3 @@
rootProject.name = "graphql-demo"
rootProject.name = "spring-graphql-demo"
include("dgs-graphql")
include("cubetiq-security-jwt")
include("cubetiq-security-core", "cubetiq-security-web", "dgs-graphql")