From d22f2dfb07c3e644fd9bd3abe9d9f38153569d62 Mon Sep 17 00:00:00 2001 From: UiPathSerban <80847945+UiPathSerban@users.noreply.github.com> Date: Wed, 11 Oct 2023 15:54:11 +0300 Subject: [PATCH 1/2] Add or update the Azure App Service build and deployment workflow config --- ...ging_uibank-frontend-updated(stagging).yml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/stagging_uibank-frontend-updated(stagging).yml diff --git a/.github/workflows/stagging_uibank-frontend-updated(stagging).yml b/.github/workflows/stagging_uibank-frontend-updated(stagging).yml new file mode 100644 index 0000000..b1c1ec3 --- /dev/null +++ b/.github/workflows/stagging_uibank-frontend-updated(stagging).yml @@ -0,0 +1,56 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions + +name: Build and deploy Node.js app to Azure Web App - uibank-frontend-updated + +on: + push: + branches: + - stagging + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Node.js version + uses: actions/setup-node@v1 + with: + node-version: '18.x' + + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm run test --if-present + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v2 + with: + name: node-app + path: . + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'stagging' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: node-app + + - name: 'Deploy to Azure Web App' + uses: azure/webapps-deploy@v2 + id: deploy-to-webapp + with: + app-name: 'uibank-frontend-updated' + slot-name: 'stagging' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_B6E8FE4FA24D4FF48B8D7B7F34999B24 }} + package: . From eeb321d25d321d5614b5b0a87544c566e31764ab Mon Sep 17 00:00:00 2001 From: UiPathSerban <80847945+UiPathSerban@users.noreply.github.com> Date: Thu, 12 Oct 2023 10:31:17 +0300 Subject: [PATCH 2/2] Small changes --- angular.json | 4 +-- src/UiPathLogo.png | Bin 0 -> 2063 bytes .../loan-application.component.ts | 6 ++--- .../register/register.component.html | 6 +++-- .../agreement-popup.component.html | 24 +++++++++--------- src/app/shared/services/loan.service.ts | 4 +-- src/environments/environment.development.ts | 3 ++- src/environments/environment.ts | 4 ++- src/favicon.ico | Bin 948 -> 0 bytes src/index.html | 9 ++++--- 10 files changed, 34 insertions(+), 26 deletions(-) create mode 100644 src/UiPathLogo.png delete mode 100644 src/favicon.ico diff --git a/angular.json b/angular.json index d08a2d3..701ed0b 100644 --- a/angular.json +++ b/angular.json @@ -26,7 +26,7 @@ "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ - "src/favicon.ico", + "src/UiPathLogo.png", "src/assets" ], "styles": [ @@ -100,7 +100,7 @@ "tsConfig": "tsconfig.spec.json", "inlineStyleLanguage": "scss", "assets": [ - "src/favicon.ico", + "src/UiPathLogo.png", "src/assets" ], "styles": [ diff --git a/src/UiPathLogo.png b/src/UiPathLogo.png new file mode 100644 index 0000000000000000000000000000000000000000..17bd2af2727c0d8bf35c479aa15bd7c1efa90bca GIT binary patch literal 2063 zcmah~YdjN-8XvM|F1cTtSGF|Xw>6iRNN32#_9nOF61kksBtq@YU2j6}mu>Eg!lH89 zIHpNRa(hQ!D%XWD#Y~4I4a=+F`Et(hd^jJT|NsAcp6Ao^Jiq6k=Hy@}4?YYA008oM z9L8mzi+=Vs z1=t`AGNoB8m^wTOc>HG^&H(hThH0#)o|OJ8#O7RO+w(0>;N}PKud6)Kt%xNqcZq(# z^ZAx=n%uEbdeSoDD>r%Y#Z+KP#N2A{T4~T^d#CH0A+@6P1oN3S8 z%KF;3)=Fueji_ZZuSq{fS|`@B-)8fHeZr`AXy_Ho0Y}x8dC4lUEHZqzT)04qtecWi z7?OM^ReL#sw4;*Wj%g;*z_j*P=eyD3-uC9R?GJQtEggGLA(-k98NYC!&z<%j=kuHA znn&NDQ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Component implements OnInit { } this.route.navigate(['loans/result', this.response.quoteid, this.response.rate, this.response.accepted]); - + }); } diff --git a/src/app/Modules/register-module/register/register.component.html b/src/app/Modules/register-module/register/register.component.html index 07459ff..65d10ca 100644 --- a/src/app/Modules/register-module/register/register.component.html +++ b/src/app/Modules/register-module/register/register.component.html @@ -87,7 +87,7 @@

Registration

- Registration
diff --git a/src/app/Modules/welcome-module/agreement-popup/agreement-popup.component.html b/src/app/Modules/welcome-module/agreement-popup/agreement-popup.component.html index 19d7fe6..384d4e9 100644 --- a/src/app/Modules/welcome-module/agreement-popup/agreement-popup.component.html +++ b/src/app/Modules/welcome-module/agreement-popup/agreement-popup.component.html @@ -6,22 +6,22 @@

UiBank is an application used only for demo purposes. It doesn't require real data, - except for the email address, which will be used for official communications and password recovery purposes. + except for the email address, which will be used for official communications and password recovery + purposes.
Please see here the full Privacy + Policy +

- -

+ +

If you want your data deleted at any time, please fill in this + href="https://www.uipath.com/legal/trust-and-security/report/delete-account-data"> form .

-

+

- - \ No newline at end of file + \ No newline at end of file diff --git a/src/app/shared/services/loan.service.ts b/src/app/shared/services/loan.service.ts index fcdf707..62c3a19 100644 --- a/src/app/shared/services/loan.service.ts +++ b/src/app/shared/services/loan.service.ts @@ -12,8 +12,8 @@ export class LoanService { currentAccounts: Observable; // loanURL: string = "https://uibank-api.azurewebsites.net/api"; loanURL: string = environment.uiBankApiUrl; - quotesSuffix: string = "quotes/newquote"; - getQuoteSuffix: string = "quotes/"; + quotesSuffix: string = "/quotes/newquote"; + getQuoteSuffix: string = "/quotes/"; response: string; constructor(private http: HttpClient) { diff --git a/src/environments/environment.development.ts b/src/environments/environment.development.ts index 75f78a8..5275a53 100644 --- a/src/environments/environment.development.ts +++ b/src/environments/environment.development.ts @@ -1,4 +1,5 @@ export const environment = { production: false, - uiBankApiUrl: 'http://localhost:8080/api' + // uiBankApiUrl: 'http://localhost:8080/api' + uiBankApiUrl: 'https://uibank-api.azurewebsites.net/api' }; diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 0f37bfa..6f0c079 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -1,4 +1,6 @@ export const environment = { production: true, - uiBankApiUrl: 'http://localhost:8080/api' + // uiBankApiUrl: 'http://localhost:8080/api' + uiBankApiUrl: 'https://uibank-api.azurewebsites.net/api' + }; diff --git a/src/favicon.ico b/src/favicon.ico deleted file mode 100644 index 997406ad22c29aae95893fb3d666c30258a09537..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 948 zcmV;l155mgP)CBYU7IjCFmI-B}4sMJt3^s9NVg!P0 z6hDQy(L`XWMkB@zOLgN$4KYz;j0zZxq9KKdpZE#5@k0crP^5f9KO};h)ZDQ%ybhht z%t9#h|nu0K(bJ ztIkhEr!*UyrZWQ1k2+YkGqDi8Z<|mIN&$kzpKl{cNP=OQzXHz>vn+c)F)zO|Bou>E z2|-d_=qY#Y+yOu1a}XI?cU}%04)zz%anD(XZC{#~WreV!a$7k2Ug`?&CUEc0EtrkZ zL49MB)h!_K{H(*l_93D5tO0;BUnvYlo+;yss%n^&qjt6fZOa+}+FDO(~2>G z2dx@=JZ?DHP^;b7*Y1as5^uphBsh*s*z&MBd?e@I>-9kU>63PjP&^#5YTOb&x^6Cf z?674rmSHB5Fk!{Gv7rv!?qX#ei_L(XtwVqLX3L}$MI|kJ*w(rhx~tc&L&xP#?cQow zX_|gx$wMr3pRZIIr_;;O|8fAjd;1`nOeu5K(pCu7>^3E&D2OBBq?sYa(%S?GwG&_0-s%_v$L@R!5H_fc)lOb9ZoOO#p`Nn`KU z3LTTBtjwo`7(HA6 z7gmO$yTR!5L>Bsg!X8616{JUngg_@&85%>W=mChTR;x4`P=?PJ~oPuy5 zU-L`C@_!34D21{fD~Y8NVnR3t;aqZI3fIhmgmx}$oc-dKDC6Ap$Gy>a!`A*x2L1v0 WcZ@i?LyX}70000 + - UiBankUpdated + UiBank - + + - + + \ No newline at end of file