Skip to content

Commit 59a2b6f

Browse files
authored
chore: rename trustification references to guacsec (#194)
## Description Fixes: #193 - chore: rename trustification references to guacsec - chore: rename CodeReady or Red Hat references to Trustify - chore: rename Exhort to Trustify DA - chore: update http headers - chore: remove SNYK and OSS_INDEX refs - chore: move package to io.github.guacsec.trustifyda - chore: update to trustify-da-api-spec and v5 endpoint ## Checklist - [x] I have followed this repository's contributing guidelines. - [x] I will adhere to the project's code of conduct.
1 parent 3bdf270 commit 59a2b6f

File tree

107 files changed

+2204
-2630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+2204
-2630
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
blank_issues_enabled: false
33
contact_links:
44
- name: GitHub Discussions
5-
url: https://github.com/trustification/exhort-java-api/discussions/
5+
url: https://github.com/guacsec/trustify-da-java-client/discussions/
66
about: You can also use Discussions for questions and ideas.

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
echo "python-bin-location=$(echo $pythonLocation)/bin" >> $GITHUB_OUTPUT
5050
- name: Verify the project and create coverage report
5151
env:
52-
EXHORT_PYTHON3_PATH: "${{steps.python-location.outputs.python-bin-location}}/python3"
53-
EXHORT_PIP3_PATH: "${{steps.python-location.outputs.python-bin-location}}/pip3"
52+
TRUSTIFY_DA_PYTHON3_PATH: "${{steps.python-location.outputs.python-bin-location}}/python3"
53+
TRUSTIFY_DA_PIP3_PATH: "${{steps.python-location.outputs.python-bin-location}}/pip3"
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
run: |
5656
mvn verify -Pits,cov -B -ff

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: Deploy release
2020
environment: staging
2121
# only trigger the workflow on the base repository and if the merged branch name starts with release.
22-
if: (github.repository_owner == 'trustification' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') ) || (github.repository_owner == 'trustification' && github.ref_name == 'main' && contains(github.event.commits[0].message, 'release/directly'))
22+
if: (github.repository_owner == 'guacsec' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') ) || (github.repository_owner == 'guacsec' && github.ref_name == 'main' && contains(github.event.commits[0].message, 'release/directly'))
2323
outputs:
2424
project_version: ${{ steps.project.outputs.version }}
2525
last_release_tag: ${{ steps.last-release.outputs.tag-name }}
@@ -72,7 +72,7 @@ jobs:
7272
release:
7373
runs-on: ubuntu-latest
7474
name: Release
75-
if: (github.repository_owner == 'trustification' && startsWith(github.head_ref, 'release/')) || (github.repository_owner == 'trustification' && github.ref_name == 'main' && contains(github.event.commits[0].message, 'release/directly'))
75+
if: (github.repository_owner == 'guacsec' && startsWith(github.head_ref, 'release/')) || (github.repository_owner == 'guacsec' && github.ref_name == 'main' && contains(github.event.commits[0].message, 'release/directly'))
7676
environment: staging
7777
needs: deploy
7878
steps:

.github/workflows/stage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Deploy snapshot
1919
env:
2020
RUN_PYTHON_BIN: ${{ vars.RUN_PYTHON_BIN }}
21-
if: github.repository_owner == 'trustification' && github.event.pull_request.merged == true && !startsWith(github.head_ref, 'release/')
21+
if: github.repository_owner == 'guacsec' && github.event.pull_request.merged == true && !startsWith(github.head_ref, 'release/')
2222
outputs:
2323
project_version: ${{ steps.project.outputs.version }}
2424
steps:
@@ -40,7 +40,7 @@ jobs:
4040
- name: Deploy snapshot to GitHub
4141
if: |
4242
contains(steps.project.outputs.version, 'SNAPSHOT') &&
43-
github.repository == 'trustification/exhort-java-api'
43+
github.repository == 'guacsec/trustify-da-java-client'
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
run: mvn deploy -Pprepare-deployment,deploy-github -B -ff -DskipTests=true -Dskip.junit_platform=true
@@ -52,7 +52,7 @@ jobs:
5252
needs: deploy
5353
if: |
5454
contains(needs.deploy.outputs.project_version, 'SNAPSHOT') &&
55-
github.repository_owner == 'trustification' && github.event.pull_request.merged == true && !startsWith(github.head_ref, 'release/')
55+
github.repository_owner == 'guacsec' && github.event.pull_request.merged == true && !startsWith(github.head_ref, 'release/')
5656
steps:
5757
- name: Check for existing ${{ needs.deploy.outputs.project_version }} release
5858
id: existing_release

CONTRIBUTING.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to *exhort-java-api*<br/>![java-version][10]
1+
# Contributing to *trustify-da-java-client*<br/>![java-version][10]
22

33
* Fork the repository
44
* Create a new branch
@@ -37,17 +37,17 @@
3737

3838
### Good to know
3939

40-
* You can override the default backend url by setting the `EXHORT_DEV_MODE` environment variable/system property to true:
41-
* In case environment variable/System Property `EXHORT_DEV_MODE=true` - You can Override the default exhort backend by setting
42-
`DEV_EXHORT_BACKEND_URL` env variable/system property to the desired exhort backend instance address ( useful for tests).
43-
* In case `DEV_EXHORT_BACKEND_URL` is not set via environment variable/system property, then the default DEV exhort backend is picked.
44-
* In case `EXHORT_DEV_MODE=false` or not set at all levels, then default backend url ( exhort prod) is picked, regardless of the value of `DEV_EXHORT_BACKEND_URL`.
45-
* Environment variables takes precedence over System properties - for example, if System property `EXHORT_DEV_MODE=true`
46-
but environment variable `EXHORT_DEV_MODE=false` , then default exhort prod will be used anyway.
40+
* You can override the default backend url by setting the `TRUSTIFY_DA_DEV_MODE` environment variable/system property to true:
41+
* In case environment variable/System Property `TRUSTIFY_DA_DEV_MODE=true` - You can Override the default trustify-dependency-analytics backend by setting
42+
`DEV_TRUSTIFY_DA_BACKEND_URL` env variable/system property to the desired trustify-dependency-analytics backend instance address ( useful for tests).
43+
* In case `DEV_TRUSTIFY_DA_BACKEND_URL` is not set via environment variable/system property, then the default DEV trustify-dependency-analytics backend is picked.
44+
* In case `TRUSTIFY_DA_DEV_MODE=false` or not set at all levels, then default backend url ( trustify-dependency-analytics prod) is picked, regardless of the value of `DEV_TRUSTIFY_DA_BACKEND_URL`.
45+
* Environment variables takes precedence over System properties - for example, if System property `TRUSTIFY_DA_DEV_MODE=true`
46+
but environment variable `TRUSTIFY_DA_DEV_MODE=false` , then default trustify-dependency-analytics prod will be used anyway.
4747

4848
### OpenAPI Specifications
4949

50-
We use the Java generated library for the [Exhort OpenAPI spec][1] for deserialization of the Backend's
50+
We use the Java generated library for the [Trustify Dependency Analytics API Specification][1] for deserialization of the Backend's
5151
API responses.<br/>
5252

5353
When the [Backend's spec file][1] is modified, a new
@@ -97,10 +97,10 @@ $ mvn clean verify -Pits,dev
9797
```
9898

9999
Integration tests are executed against a mocked _Backend_ server.<br/>
100-
If you need to run against the actual _Backend_ server, use the _EXHORT_ITS_USE_REAL_API_ environment variable:
100+
If you need to run against the actual _Backend_ server, use the _TRUSTIFY_DA_ITS_USE_REAL_API_ environment variable:
101101

102102
```shell
103-
EXHORT_ITS_USE_REAL_API=true mvn clean verify -Pits
103+
TRUSTIFY_DA_ITS_USE_REAL_API=true mvn clean verify -Pits
104104
```
105105

106106
> TIP: When working on a new integration test project, it's helpful opening the IDE directly in the test project folder.
@@ -114,7 +114,7 @@ contribution. See the [DCO](DCO) file for details.
114114

115115
<!-- Real links -->
116116
[0]: https://www.conventionalcommits.org/en/v1.0.0/
117-
[1]: https://github.com/guacsec/trustify-da-api-spec/blob/main/api/v4/openapi.yaml
117+
[1]: https://github.com/guacsec/trustify-da-api-spec/blob/main/api/v5/openapi.yaml
118118

119119
<!-- Badge links -->
120120
[10]: https://badgen.net/badge/Java%20Version/11/5382a1

0 commit comments

Comments
 (0)