Skip to content

Commit

Permalink
BCProvider rename (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paahn authored Dec 5, 2024
1 parent 8121909 commit 6e16f71
Show file tree
Hide file tree
Showing 20 changed files with 50 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export enum DiscoveryStatus {
AlreadyLinkedError,
CredentialExistsError,
ExpiredCredentialLinkTicketError,
AccountLinkingError
AccountLinkingError,
}

@Injectable({
Expand All @@ -38,7 +38,7 @@ export class DiscoveryResource {
* @description
* Get the party's ID based on the access token user ID,
* creates a party if one does not already exist,
* or discovers that the User is a new BC Provider (and so cannot create a Party).
* or discovers that the User is a new BCProvider (and so cannot create a Party).
*/
public discover(): Observable<DiscoveryResult> {
return this.apiResource.post<DiscoveryResult>('discovery', null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class BcProviderApplicationResource {
.pipe(map((upn) => upn));
}

// Currently automatically links to BC Provider
// Currently automatically links to BCProvider
public createLinkTicket(partyId: number): NoContent {
return this.apiResource
.post<NoContent>(`${this.getResourcePath(partyId)}/link-ticket`, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@
<app-breadcrumb [breadcrumbs]="breadcrumbsData"></app-breadcrumb>
<div class="content-box">
<header>
<h1>BC Provider account information</h1>
<h1>BCProvider account information</h1>
</header>
<div class="content">
<h3>
<strong>
Welcome {{ (fullName$ | async) }} to your BC Provider knowledge
center!
Welcome {{ (fullName$ | async) }} to your BCProvider knowledge center!
</strong>
</h3>
<p>
The OneHealthID Service is designed to use the digital identity created
by the BC Services Card as a foundation for your BC Provider account.
by the BC Services Card as a foundation for your BCProvider account.
</p>
<p>
Whether you are existing, or new to BC Provider, we have you covered.
Whether you are existing, or new to BCProvider, we have you covered.
</p>
<p class="welcome">
OneHealthID is looking for a one-time setup if you are an existing BC
Expand All @@ -25,19 +24,19 @@ <h3>
</p>
<p>
<strong>
Do you not have a BC Provider account? setup is quick and easy.
Do you not have a BCProvider account? setup is quick and easy.
</strong>
</p>
<div class="cards">
<div class="card card-basic">
<div class="card-container">
<div class="card-header">
<strong>Interested in BC Provider?</strong>
<strong>Interested in BCProvider?</strong>
</div>
<div class="card-body">
<p>
For brand new users that are looking for the flexibility and
security of BC Services card and a BC Provider account.
security of BC Services card and a BCProvider account.
</p>
<div class="form-button-box">
<button
Expand Down Expand Up @@ -73,20 +72,20 @@ <h3>
<div class="card card-uplifting">
<img
ngSrc="/assets/images/bc-provider-uplift-account-300x451.jpg"
alt="BC Provider uplifting account"
alt="BCProvider uplifting account"
fill
priority />
<div class="card-container">
<div class="card-header">
<strong>Uplift your existing BC Provider account</strong>
<strong>Uplift your existing BCProvider account</strong>
</div>
<div class="card-body"></div>
<div class="card-footer">
<button
class="icon-button"
color="primary"
matTooltip="Uplift your BC Provider account"
aria-label="Uplift your BC Provider account"
matTooltip="Uplift your BCProvider account"
aria-label="Uplift your BCProvider account"
(click)="setLayout('upliftAccount')">
<fa-icon [icon]="faCircleRight"></fa-icon>
</button>
Expand All @@ -99,13 +98,13 @@ <h3>
<fa-icon class="fa-2x" [icon]="faLockOpen"></fa-icon>
</div>
<div class="card-header">
<strong>Advantage with BC Provider</strong>
<strong>Advantage with BCProvider</strong>
</div>
<div class="card-body">
<p>
After this quick uplift you will have the flexibility to then
login to OneHealthID with your BC Provider, or your BC Services
Card account info. All you have to do is log into BC Provider
login to OneHealthID with your BCProvider, or your BC Services
Card account info. All you have to do is log into BCProvider
with your existing information, and we will automatically take
care of the secure uplift.
</p>
Expand All @@ -132,7 +131,7 @@ <h3>

<ng-template #upliftAccount>
<div id="upliftAccount" class="active-layout">
<h3>You get more out of OneHealthID when you sign in with BC Provider.</h3>
<h3>You get more out of OneHealthID when you sign in with BCProvider.</h3>
<ol>
<li>
Go to Microsoft account and select
Expand Down Expand Up @@ -169,7 +168,7 @@ <h3>You get more out of OneHealthID when you sign in with BC Provider.</h3>

<ng-template #createAccount>
<div id="createAccount" class="active-layout">
<h3>You get more out of OneHealthID when you sign in with BC Provider.</h3>
<h3>You get more out of OneHealthID when you sign in with BCProvider.</h3>
<p class="password-info">
Your password must be 8 to 256 characters long, with at least one letter
and one number or special character. Strong passwords include both upper-
Expand Down Expand Up @@ -242,7 +241,7 @@ <h2>Create an account</h2>
<span class="lets">Let's get started</span>
</div>
<div>
<span class="using">using BC Provider today!</span>
<span class="using">using BCProvider today!</span>
</div>
</div>
<picture class="image">
Expand All @@ -261,7 +260,7 @@ <h2>Create an account</h2>
<span class="lets">Let's get started</span>
</div>
<div>
<span class="using">using BC Provider today!</span>
<span class="using">using BCProvider today!</span>
</div>
</div>
</div>
Expand All @@ -283,7 +282,7 @@ <h2>Create an account</h2>

<ng-template #successDialog>
<app-success-dialog
title="BC Provider account created"
title="BCProvider account created"
[username]="username"
[componentType]="componentType"></app-success-dialog>
</ng-template>
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class BcProviderApplicationPage
title: 'Access',
path: AccessRoutes.routePath(AccessRoutes.ACCESS_REQUESTS),
},
{ title: 'BC Provider account information', path: '' },
{ title: 'BCProvider account information', path: '' },
];

public fullName$!: Observable<string>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class BcProviderEditPage
title: 'Access',
path: AccessRoutes.routePath(AccessRoutes.ACCESS_REQUESTS),
},
{ title: 'BC Provider Account', path: '' },
{ title: 'BCProvider Account', path: '' },
];

// ui-page is handling this.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('highAssuranceCredentialGuard', () => {
});
});

given('the user is authenticated with a BC Provider', (done) => {
given('the user is authenticated with a BCProvider', (done) => {
authorizedUserServiceSpy.accessorSpies.getters.identityProvider$.mockReturnValue(
of(IdentityProvider.BC_PROVIDER),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="section-box">
<div class="background-image-container">
<img
alt="BC Provider uplift"
alt="BCProvider uplift"
ngSrc="/assets/images/bcprovider-uplift-850x600-desktop.png"
priority
fill />
Expand All @@ -22,10 +22,10 @@
<h1>Keeping you safe</h1>
</header>
<p>
Your BC Provider account is currently missing a key component which lets
Your BCProvider account is currently missing a key component which lets
us know it is you.<br />
You will need to perform a one-time setup with your BC Services Card.<br />
Once complete, please continue using your BC Provider account.
Once complete, please continue using your BCProvider account.
</p>

<div class="buttons-container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h2>BC Services Card</h2>
alt="contact" />
</div>
</div>
<h2>BC Provider</h2>
<h2>BCProvider</h2>
<p>Access a growing number of provincial health applications</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class LinkAccountConfirmPage implements OnInit {
case IdentityProvider.BC_PROVIDER: {
const idpId = (user as BcProviderUser).idpId;
const accountName = idpId.endsWith('@bcp') ? idpId.slice(0, -4) : idpId;
return `the BC Provider account ${accountName}`;
return `the BCProvider account ${accountName}`;
}
default:
return 'a new account';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="section-box">
<div class="background-image-container">
<img
alt="BC Provider uplift"
alt="BCProvider uplift"
ngSrc="/assets/images/bcprovider-uplift-850x600-desktop.png"
priority
fill />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h1 class="title">
class="login-button-secondary"
mat-stroked-button
(click)="onLogin(IdentityProvider.BC_PROVIDER)">
BC Provider
BCProvider
</button>
</div>
<div class="login-with-idir">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('bcProviderCompletedResolver', () => {
});
});

given('partyId exists, BC Provider StatusCode is COMPLETED', (done) => {
given('partyId exists, BCProvider StatusCode is COMPLETED', (done) => {
const partyId = randNumber({ min: 1 });
partyServiceSpy.accessorSpies.getters.partyId.mockReturnValue(partyId);
mockProfileStatus.status.bcProvider.statusCode = StatusCode.COMPLETED;
Expand Down Expand Up @@ -108,7 +108,7 @@ describe('bcProviderCompletedResolver', () => {
});
});

given('partyId exists, BC Provider StatusCode is AVAILABLE', (done) => {
given('partyId exists, BCProvider StatusCode is AVAILABLE', (done) => {
const partyId = randNumber({ min: 1 });
partyServiceSpy.accessorSpies.getters.partyId.mockReturnValue(partyId);
mockProfileStatus.status.bcProvider.statusCode = StatusCode.AVAILABLE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('bcProviderEditResolver', () => {
});
});

given('partyId exists, BC Provider StatusCode is AVAILABLE', (done) => {
given('partyId exists, BCProvider StatusCode is AVAILABLE', (done) => {
const partyId = randNumber({ min: 1 });
partyServiceSpy.accessorSpies.getters.partyId.mockReturnValue(partyId);
mockProfileStatus.status.bcProvider.statusCode = StatusCode.AVAILABLE;
Expand Down Expand Up @@ -108,7 +108,7 @@ describe('bcProviderEditResolver', () => {
});
});

given('partyId exists, BC Provider StatusCode is COMPLETED', (done) => {
given('partyId exists, BCProvider StatusCode is COMPLETED', (done) => {
const partyId = randNumber({ min: 1 });
partyServiceSpy.accessorSpies.getters.partyId.mockReturnValue(partyId);
mockProfileStatus.status.bcProvider.statusCode = StatusCode.COMPLETED;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,20 +223,21 @@ <h1>Frequently asked questions</h1>
(closed)="panelOpenState.set(false)">
<mat-expansion-panel-header>
<mat-panel-title
><b
>How do I reset my MFA on BCProvider?</b
></mat-panel-title
><b>How do I reset my MFA on BCProvider?</b></mat-panel-title
>
</mat-expansion-panel-header>
<ul>
<li>Click Access</li>
<li>Click BC Provider Account</li>
<li>Click BCProvider Account</li>
<li>On the right-hand side click “Reset my MFA” link</li>
<li>Click continue, system will unpair your phone</li>
<li>After completely the unpairing, you will be prompted to login</li>
<li>Select the BCprovider acccount</li>
<li>Select the BCProvider acccount</li>
<li>Enter your current password</li>
<li>After successfully logging into your account, you will be prompted to setup MFA on a phone or tablet.</li>
<li>
After successfully logging into your account, you will be prompted
to setup MFA on a phone or tablet.
</li>
</ul>
</mat-expansion-panel>
</div>
Expand All @@ -252,7 +253,7 @@ <h1>Frequently asked questions</h1>
</mat-expansion-panel-header>
<p>
BC E-Substance Reporting<br />
BC Provider<br />
BCProvider<br />
Connect Extranet Website<br />
Driver Fitness Practitioner Portal<br />
Driver Medical Fitness Testing<br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1>BCProvider Active Directory Multi-factor Authentication (MFA) Setup</h1>
<a uiAnchor scheme="mailto" [attr.href]="providerIdentitySupport"></a>.
</p>
<p>
The BCprovider uses Multi-Factor Authentication (MFA) is an additional
The BCProvider uses Multi-Factor Authentication (MFA) is an additional
layer of security that helps protect your online accounts and sensitive
information. It enhances the traditional username and password login
process by requiring at least two or more forms of verification. This
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class BcProviderPortalSection implements IPortalSection {
private router: Router,
) {
this.key = 'bcProvider';
this.heading = 'BC Provider Account';
this.heading = 'BCProvider Account';
this.description = `A reusable credential for access to health data in BC.`;
this.keyWords = profileStatus.status.bcProvider.keyWords || [];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export const linkedAccountCardText = {
[IdentityProvider.BCSC]: 'BC Services Card',
[IdentityProvider.PHSA]: 'Health Authority ID',
[IdentityProvider.IDIR]: 'IDIR Account',
[IdentityProvider.BC_PROVIDER]: 'BC Provider Account',
[IdentityProvider.BC_PROVIDER]: 'BCProvider Account',
};
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h2>BC Services Card</h2>
alt="contact" />
</div>
</div>
<h2>BC Provider</h2>
<h2>BCProvider</h2>
<p>Access a growing number of provincial health applications</p>
<div
*ngIf="hasCredential(IdentityProvider.BC_PROVIDER); else linkBCProvider"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Component, Input } from '@angular/core';
@Component({
selector: 'app-dialog-bcprovider-create',
template: ` <p>
BC Provider account <strong>{{ username }}</strong> has been created.<br />
BCProvider account <strong>{{ username }}</strong> has been created.<br />
You will now have the option to sign in to our system with these
credentials.<br />
Please note, this is not an email address. <br />You will not be able to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('IsHighAssurancePipe', () => {
expect(pipe.transform(IdentityProvider.BCSC)).toEqual(true);
});

it('returns true when BC Provider', () => {
it('returns true when BCProvider', () => {
expect(pipe.transform(IdentityProvider.BC_PROVIDER)).toEqual(true);
});

Expand Down

0 comments on commit 6e16f71

Please sign in to comment.