Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove references to consortia envs #106

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Link to Github issue.

Please delete options that are not relevant.

- [ ] I have followed the [contributing guidelines](https://github.com/eclipse-tractusx/portal-assets/blob/main/developer/Technical%20Documentation/Dev%20Process/How%20to%20contribute.md#commit-and-pr-guidelines)
- [ ] I have followed the [contributing guidelines](https://github.com/eclipse-tractusx/portal-assets/blob/main/docs/developer/Technical%20Documentation/Dev%20Process/How%20to%20contribute.md#commit-and-pr-guidelines)
- [ ] I have performed [IP checks](https://eclipse-tractusx.github.io/docs/release/trg-7/trg-7-04#checking-libraries-using-the-eclipse-dash-license-tool) for added or updated 3rd party libraries
- [ ] I have created and linked IP issues or requested their creation by a committer
- [ ] I have performed a self-review of my own code
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div id="root" style='width:100%; height:100%'></div>
<!-- Do NOT change 'ENV' without changing 'custom_env_vars_anchor' in scripts/inject-dynamic-env.sh as well -->
<script>
const ENV = {PORTAL_ASSETS_URL:"http://localhost:3000/assets",PORTAL_BACKEND_URL:"https://portal-backend.dev.demo.catena-x.net",CENTRALIDP_URL:"https://centralidp.dev.demo.catena-x.net/auth",}
const ENV = {PORTAL_ASSETS_URL:"http://localhost:3000/assets",PORTAL_BACKEND_URL:"https://portal-backend.example.org",CENTRALIDP_URL:"https://centralidp.example.org/auth"}
</script>
</body>

Expand Down
2 changes: 1 addition & 1 deletion scripts/inject-dynamic-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
###############################################################

custom_env_vars='{PORTAL_ASSETS_URL:"'$PORTAL_ASSETS_URL'",PORTAL_BACKEND_URL:"'$PORTAL_BACKEND_URL'",CENTRALIDP_URL:"'$CENTRALIDP_URL'"}'
custom_env_vars_anchor='{PORTAL_ASSETS_URL:"http://localhost:3000/assets",PORTAL_BACKEND_URL:"https://portal-backend.dev.demo.catena-x.net",CENTRALIDP_URL:"https://centralidp.dev.demo.catena-x.net/auth"}'
custom_env_vars_anchor='{PORTAL_ASSETS_URL:"http://localhost:3000/assets",PORTAL_BACKEND_URL:"https://portal-backend.example.org",CENTRALIDP_URL:"https://centralidp.example.org/auth"}'
index_html_reference=`cat /usr/share/nginx/html/index.html.reference`
index_html=${index_html_reference//$custom_env_vars_anchor/$custom_env_vars}
echo "$index_html" > /usr/share/nginx/html/index.html
2 changes: 1 addition & 1 deletion src/components/cax-companyData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ export const CompanyDataCax = () => {
errors.identifierNumber !== ''
}
helpUrl={
'/documentation/?path=docs%2F01.+Onboarding%2F02.+Registration%2F02.+Add+Company+Data.md'
'/documentation/?path=user%2F01.+Onboarding%2F02.+Registration%2F02.+Add+Company+Data.md'
}
/>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/components/cax-companyRole.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export const CompanyRoleCax = () => {
handleBackClick={() => backClick()}
handleNextClick={() => nextClick()}
helpUrl={
'/documentation/?path=docs%2F01.+Onboarding%2F02.+Registration%2F04.+Company+Role+%26+Consent.md'
'/documentation/?path=user%2F01.+Onboarding%2F02.+Registration%2F04.+Company+Role+%26+Consent.md'
}
/>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/components/cax-responsibilities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export const ResponsibilitiesCax = () => {
handleBackClick={() => backClick()}
handleNextClick={() => nextClick()}
helpUrl={
'/documentation/?path=docs%2F01.+Onboarding%2F02.+Registration%2F03.+Add+Additional+User%28s%29.md'
'/documentation/?path=user%2F01.+Onboarding%2F02.+Registration%2F03.+Add+Additional+User%28s%29.md'
}
/>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/components/dragdrop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export const DragDrop = () => {
handleBackClick={() => backClick()}
handleNextClick={() => nextClick()}
helpUrl={
'/documentation/?path=docs%2F01.+Onboarding%2F02.+Registration%2F05.+Document+Upload.md'
'/documentation/?path=user%2F01.+Onboarding%2F02.+Registration%2F05.+Document+Upload.md'
}
/>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/components/finish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const Finish = () => {
<a
href={window.location.pathname.replace(
window.location.pathname,
'/documentation/?path=docs%2F01.+Onboarding%2F02.+Registration%2F07.+FAQ.md#what-will-happen-after-the-registration'
'/documentation/?path=user%2F01.+Onboarding%2F02.+Registration%2F07.+FAQ.md#what-will-happen-after-the-registration'
)}
target="_blank"
rel="noreferrer"
Expand Down
2 changes: 1 addition & 1 deletion src/components/landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const Landing = () => {
target="_blank"
href={window.location.pathname.replace(
window.location.pathname,
'/documentation/?path=docs%2F01.+Onboarding%2F02.+Registration'
'/documentation/?path=user%2F01.+Onboarding%2F02.+Registration'
)}
>
{' '}
Expand Down
2 changes: 1 addition & 1 deletion src/components/verifyRegistration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export const VerifyRegistration = () => {
handleNextClick={() => nextClick()}
tooltip={getTooltip()}
helpUrl={
'/documentation/?path=docs%2F01.+Onboarding%2F02.+Registration%2F06.+Verify+Registration+Data.md'
'/documentation/?path=user%2F01.+Onboarding%2F02.+Registration%2F06.+Verify+Registration+Data.md'
}
/>
</>
Expand Down
Loading