-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to generator-jhipster v8.8.0 (#436)
* update generator-jhipster to 8.8.0 * compose with java:server * Update settings.gradle.ejs * adjusts * Update configuration.service.spec.ts.ejs * Update configuration.service.ts.ejs * fix * adjusts --------- Co-authored-by: JHipster Bot <[email protected]>
- Loading branch information
1 parent
32586b6
commit d718d4e
Showing
21 changed files
with
1,836 additions
and
950 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
116 changes: 116 additions & 0 deletions
116
.blueprint/github-build-matrix/__snapshots__/generator.spec.mjs.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`generator - github-build-matrix > with samples > should match matrix value 1`] = ` | ||
{ | ||
"include": [ | ||
{ | ||
"default-environment": "prod", | ||
"java-version": "17", | ||
"job-name": "gradle-jwt-react", | ||
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"node-version": "22.12.0", | ||
"npm-version": "11.0.0", | ||
"os": "ubuntu-latest", | ||
"sample": "gradle-jwt-react", | ||
"sample-type": "jdl", | ||
"samples-group": "samples", | ||
}, | ||
{ | ||
"default-environment": "prod", | ||
"java-version": "17", | ||
"job-name": "gradle-ms-eureka-oauth", | ||
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"node-version": "22.12.0", | ||
"npm-version": "11.0.0", | ||
"os": "ubuntu-latest", | ||
"sample": "gradle-ms-eureka-oauth", | ||
"sample-type": "jdl", | ||
"samples-group": "samples", | ||
}, | ||
{ | ||
"default-environment": "prod", | ||
"java-version": "17", | ||
"job-name": "gradle-oauth-angular", | ||
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"node-version": "22.12.0", | ||
"npm-version": "11.0.0", | ||
"os": "ubuntu-latest", | ||
"sample": "gradle-oauth-angular", | ||
"sample-type": "jdl", | ||
"samples-group": "samples", | ||
}, | ||
{ | ||
"default-environment": "prod", | ||
"java-version": "17", | ||
"job-name": "jdl-default-app", | ||
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"node-version": "22.12.0", | ||
"npm-version": "11.0.0", | ||
"os": "ubuntu-latest", | ||
"sample": "jdl-default-app", | ||
"sample-type": "jdl", | ||
"samples-group": "samples", | ||
}, | ||
{ | ||
"default-environment": "prod", | ||
"java-version": "17", | ||
"job-name": "mvn-jwt-angular", | ||
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"node-version": "22.12.0", | ||
"npm-version": "11.0.0", | ||
"os": "ubuntu-latest", | ||
"sample": "mvn-jwt-angular", | ||
"sample-type": "jdl", | ||
"samples-group": "samples", | ||
}, | ||
{ | ||
"default-environment": "prod", | ||
"java-version": "17", | ||
"job-name": "mvn-jwt-redis-angular", | ||
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"node-version": "22.12.0", | ||
"npm-version": "11.0.0", | ||
"os": "ubuntu-latest", | ||
"sample": "mvn-jwt-redis-angular", | ||
"sample-type": "jdl", | ||
"samples-group": "samples", | ||
}, | ||
{ | ||
"default-environment": "prod", | ||
"java-version": "17", | ||
"job-name": "mvn-ms-consul-jwt", | ||
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"node-version": "22.12.0", | ||
"npm-version": "11.0.0", | ||
"os": "ubuntu-latest", | ||
"sample": "mvn-ms-consul-jwt", | ||
"sample-type": "jdl", | ||
"samples-group": "samples", | ||
}, | ||
{ | ||
"default-environment": "prod", | ||
"java-version": "17", | ||
"job-name": "mvn-no-client", | ||
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"node-version": "22.12.0", | ||
"npm-version": "11.0.0", | ||
"os": "ubuntu-latest", | ||
"sample": "mvn-no-client", | ||
"sample-type": "jdl", | ||
"samples-group": "samples", | ||
}, | ||
{ | ||
"default-environment": "prod", | ||
"java-version": "17", | ||
"job-name": "mvn-oauth-angular", | ||
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"node-version": "22.12.0", | ||
"npm-version": "11.0.0", | ||
"os": "ubuntu-latest", | ||
"sample": "mvn-oauth-angular", | ||
"sample-type": "jdl", | ||
"samples-group": "samples", | ||
}, | ||
], | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { basename, dirname, join } from 'path'; | ||
import { fileURLToPath } from 'url'; | ||
import { beforeAll, describe, expect, it } from 'vitest'; | ||
import { getGithubSamplesGroups, defaultHelpers as helpers, runResult } from 'generator-jhipster/testing'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = dirname(__filename); | ||
|
||
const generator = basename(__dirname); | ||
|
||
describe(`generator - ${generator}`, async () => { | ||
const groups = await getGithubSamplesGroups(join(__dirname, '../generate-sample/templates/')); | ||
for (const workflow of groups.map(sample => sample.split('.')[0])) { | ||
describe(`with ${workflow}`, () => { | ||
beforeAll(async () => { | ||
await helpers.runJHipster(join(__dirname, 'index.mjs'), { useEnvironmentBuilder: true }).withArguments(workflow); | ||
}); | ||
|
||
it('should match matrix value', () => { | ||
expect(runResult.generator.matrix).toMatchSnapshot(); | ||
}); | ||
}); | ||
} | ||
}); |
Oops, something went wrong.