Overview
AAIR backlog item board
https://dev.azure.com/transport-canada/DSD-CIVAV Support/_boards/board/t/AAIR/Backlog items
Related documents regarding AAIR/5008
Backups of development and acceptance code deployed to serversAs agreed by the maintenance team in August 2023 backups are stored on level up from the application folder rather than inside those folders. |
---|
Backups of Production Environments: \\tctestmaster\wwwappsroot\Saf-Sec-Sur\2\_backups\CAWIS-SWIMN\prod_backup |
---|
Publishing to acceptance and production CAWIS External: use the Staging profile to publish to acceptance and production. It does not contain the admin modules. Using the incorrect profile will expose protected B info. CAWIS Internal: use the Acc profile to publish to acceptance and production Refer to the following document: |
---|
AAIR Accounts on development and acceptance:
SCENARIO | USER ID | Mark (tailmark) |
---|---|---|
Password for all accounts is Clark2005! for development and acceptance | ||
005256 | ||
Single Aircraft | 005197 | |
Owner not reported in years | 596873 | |
Regular user | 014885 | |
Fleet | 558885 | FALE |
Fleet | 003530 | One of them is GDCL |
Goes directly to Modify mode without having to press a Modify button. | 004084 | |
007278 |
AAIR – Updating the AAIR Password template:
Email templates are in the CAWIS table A42_EMAIL_CONTENT
The template for resetting the AAIR password is:
EMAIL_CONTENT_ID = 44
EMAIL_CONTENT_NAME_NM AAIR_ACCESS_CODE_REQUEST
Send_EMAIL_FUNCTION.fnc
The function for sending AAIR emails is handled in the CAWIS database: SEND_FUNCTION.fnc
To format the text, see the section -- Message header
The HTML formatting was enabled by uncommenting
utl_smtp.write_data(l_maicon, 'Content-Type: text/html' || utl_tcp.crlf);
PK_AIRCRAFT:
To update the parameters in the email text found in the LOBs (EMAIL_EBODY_LOB, EMAIL_FBODY_LOB), for example, [%5%], see PK_AIRCRAFT.pkb, The relevant stored procedure is SP_SendAccessCodeEmail, (L_EMAIL_BODY_ETXT and L_EMAIL_BODY_FTXT) of the package body. No changes were made in the package spec code.
Updating the email template:
The script below was used to update the template. Note: it is important to ensure that the correct URLs are set for dev, acc and prod, in the English and French texts.
SET DEFINE OFF; update CAWIS.A42_EMAIL_CONTENT set EMAIL_CONTENT_NAME_NM = 'AAIR_ACCESS_CODE_REQUEST', EMAIL_FROM_TXT = 'AAIR/RAINA(TC)<tc.aair-raina.tc@tc.gc.ca>', EMAIL_SUBJECT_ETXT = 'AAIR Notification - Forgotten User ID or Password', EMAIL_SUBJECT_FTXT = 'Notification du RAINA - ID utilisateur ou mot de passe oublié', LAST_MOD_BY_USER_ID ='ADMIN', IS_IMPORTANT_IND = 'N', LAST_MOD_TIMESTAMP_DTE = SYSDATE, DATE_CURRENT_DTE = SYSDATE, EMAIL_EBODY_LOB = '<pre> Good day, [%1%], Your User ID is [%6%]. Please record this User ID as it will remain the same each year. Please click the link to log into the AAIR portal: https://catcappsx.tc.gc.ca/Saf-Sec-Sur/2/cawis-swimn/a_l.aspx?a= Forgotten password? If you forgot or want to change your password, please click the link below: https://catcappsx.tc.gc.ca/Saf-Sec-Sur/2/CAWIS-SWIMN/ForPss.aspx?m=A&lang=eng&hsh=[%2%] Please be aware that: <li> The password link is valid for the next 24 hours from the receipt of this email;</li> <li> The password link can only be used once; <li> This request nullifies any previous request; <li> If you''re having trouble with the link, copy and paste it into your web browser. For security reasons, this request was received at [%5%]. If you did not initiate this request, please notify the AAIR team in writing at <a href="mailto:tc.aair-raina.tc@tc.gc.ca">tc.aair-raina.tc@tc.gc.ca</a>. Thank you, The AAIR team </pre>', EMAIL_FBODY_LOB = '<pre> Bonjour, [%1%], Votre identifiant d’utilisateur est [%6%]. Veuillez noter votre identifiant d’utilisateur car il restera le même chaque année. Cliquez sur le lien suivant pour vous connecter au portail RAINA : http://catcappsx/Saf-Sec-Sur/2/CAWIS-SWIMN/a_l.aspx?a=&lang=fra Mot de passe oublié? Si vous avez oublié ou si vous souhaitez changer votre mot de passe, veuillez cliquer sur le lien ci-dessous: https://catcappsx.tc.gc.ca/Saf-Sec-Sur/2/CAWIS-SWIMN/ForPss.aspx?m=A Sachez que: <li> Le lien vers le mot de passe est valable pendant les 24 heures qui suivent la réception de ce courriel;</li> <li> Ce lien vers le mot de passe ne peut être utilisé qu''une seule fois;</li> <li> Cette requête annule toute requête précédente;</li> <li> Si vous rencontrez des problèmes avec le lien, copiez-le et collez-le dans votre navigateur Web.</li> Pour des raisons de sécurité, cette requête a été reçue à [%5%]. Si vous n''êtes pas à l''origine de la demande, veuillez en informer l''équipe RAINA par écrit à l''adresse suivante : <a href="mailto:tc.aair-raina.tc@tc.gc.ca">tc.aair-raina.tc@tc.gc.ca</a>. Merci, L''équipe RAINA </pre>' where EMAIL_CONTENT_ID = '44'; commit;
Configuration:
See: CAWIS - configuration settings for Dev and Acc (TR47_CAWIS_GENERAL_PROPS and web.config)
Shared Mailboxes
The following shared accounts are applicable on both development and acceptance. All members of the maintenance team have access:
On development, the email address for these shared accounts is set to our shared CAWIS development mailbox.
On email box address is cawis-dev-swimn@tc.gc.ca
On acceptance the address is: cawis-acc-swimn@tc.gc.ca
On production the address is: tc.aair-raina.tc@tc.gc.ca
See: Shared Mailbox Mapping Procedure
Updated texts for AAIR Owner form with contact info only (short form)
All new messaging that should appear on various AAIR pages is contained within this document - AAIR - November notification to aircraft owners.docx
Updated contact PDFs are posted to dev and acc, were also deployed to Production
See subtask 311255 Replace existing PDF under Contact List menu with new PDF
Document locations on dev and acc
EXTERNAL DEV - \\ncrws499\cawwwappsx\saf-sec-sur\2\AWD-CN\documents
EXTERNAL ACC - \\wwwapps2test\wwwappsroot\Saf-Sec-Sur\2\AWD-CN\documents
INTERNAL DEV - \\ncrws499\catcappsx\Saf-Sec-Sur\2\AWD-CN\documents
INTERNAL ACC - \\tcapps2test\tcappsroot\saf-sec-sur\2\AWD-CN\documents
Business Rules:
see also
AIRCRAFT CANNOT BE SALE REPORTED OR INVALID ADDRESS
THE AIRCRAFT CANNOT BE A MEMBER OF A FLEET
THE AIRCRAFT CANNOT BE LISTED AS OUT-OF-SERVICE
THE AIRCRAFT CANNOT HAVE HOURS ALREADY RECORDED FOR THE REPORTING PERIOD (CURRENT YEAR - 1)
THE AIRCRAFT CANNOT BE LISTED WITH A YEAR OF MANUFACTURE EQUAL TO THE CURRENT YEAR
THE AIRCRAFT CANNOT BE ULTRALIGHT/ADVANCED ULTRALIGHT
THE AIRCRAFT CANNOT BE DEREGISTERED
Creating an AAIR Account:
Login to CAWIS Internal as a TC User.
To obtain current tail marks run the following report: 5008 Files by Owner.
Select 5008 Files from the left-side menu.
Do a quick search by tail mark:
type in 2 letters - for example "FE"
Change email address to one that you can access.
Save.
Logout.
On the external website, Login AAIR
Click forgot user id or password.
It will ask for the tail mark and email address that you changed in the 5008
CAWIS will send you an email with a link and click open link
It will ask to create a password
Save
Take note of the client id in the email.
Login AAIR: client id & password (that you created)
AAIR info from October 2023 discussions onward:
TC login uses the TC login ID but the password is not the same.
For TC Login, the same credential works on both CAWIS internal and external.
I have provided access for the TC Login option on CAWIS development and acceptance to all members of the maintenance team.
Maintenance team have access to CAWIS prod for maintenance purposes only (Only for work related to tasks submitted by the client. No changes can be made without approval from the client)
AAIR does not use our TC Login credentials.
AAIR login is unlocked on CAWIS external for development and acceptance.
The same AAIR credentials work on both CAWIS external and internal
AAIR login is currently purposely locked on prod per work that Hiren and I collaborated on in March 2023
See also https://dev.azure.com/transport-canada/DSD-CIVAV%20Support/_boards/board/t/AAIR/Backlog%20items
AAIR login is locked on all CAWIS internal instances (development, acceptance and production).
See Subtask 301363 https://dev.azure.com/transport-canada/DSD-CIVAV%20Support/_boards/board/t/AAIR/Backlog%20items
Should the option for AAIR login be displayed on CAWIS internal?
0 Comments