LEIS
System Profile
System Full Name | Locomotive Emissions Information System |
---|---|
Product Owner | Jean-Francois Poulin |
Business Owner | Director: Malick Sidibé Manager: Graham Lowrey Senior Engineer: Ursula Green |
Source Location | DSD-RAIL-LEIS - Repos (azure.com)
|
MS Teams Channel | |
SharePoint |
Technology Assessment
Database Platform and Version | Oracle 18c |
Development Language and Framework | C# .NET Framework 4 MVC 3 Web Application JavaScript Entity Framework 5 Excel |
Operating System and Version | Windows 10 |
Environment Access Information
GART Migration - Overview (azure.com)
GCKey - Frequently Asked Questions (FAQs) (clegc-gckey.gc.ca)
Server Names
Environment | GART Server | secweb.tc.gc.ca server |
---|---|---|
Development | ncrws317 10.10.80.121 | ncrws533 10.10.80.198 |
Acceptance | ncrws323 10.10.91.20 | ncrws545 10.10.91.35 |
Acceptance | ncrws324 10.10.91.21 | ncrws547 10.10.91.36 |
Production | ncrws330 10.10.81.20 | ncrws558 10.10.81.37 |
Production | ncrws331 10.10.81.21 | ncrws559 10.10.81.38 |
CSE Tool Environments
ENV | UN | MSI INSTALLERS | WEB UNC | URL | DB |
---|---|---|---|---|---|
DEV | External application: Single Sign-On (GcKey) Internal application: Entrust Identity Guard Login (EIG) | staging folders:
| website staging folders:
| External Business: https://secweb-dev.tc.canada.ca/secure/leis-siel https://gartdev.tc.gc.ca/secure/leis-siel Internal Security: Internal Business:
(ping only) External Security: https://secweb-dev.tc.canada.ca/secure/leisa-asiel
| LEIS schema: LEIS@LEISD.WORLD LEIS_USER@LEISD.WORLD LEIS_EXTB@LEISD.WORLD LEIS_AUTH schema: LEISAUTH_USER@LEISD.WORLD |
ACC | External application: Single Sign-On (GcKey) Internal application: Entrust Identity Guard Login (EIG) | staging folders:
| website staging folders:
| External Security: External Business: https://http://secweb-test.tc.canada.ca/leis-siel Internal Security: Internal Business: | LEIS schema LEIS_USER@LEISA.WORLD LEIS_EXTB@LEISA.WORLD LEIS_AUTH schema LEISAUTH_USER@LEISA.WORLD |
PROD | External application: Single Sign-On (GcKey) Internal application: Entrust Identity Guard Login (EIG) | staging folder: The Change Request team creates a staging folder with the service request number in its name. The LEIS developer places a zip folder containing the installers and website files at this staging location. folder example: \\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C255243] | website staging folder: The Change Request team creates a staging folder with the service request number in its name. The LEIS developer places a zip folder containing the installers and website files at this staging location. folder example: ‘\\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C255243]’ | External Security: External Business: Internal Security: Internal Business: | LEIS schema LEIS_USER@LEISP.WORLD LEIS_EXTB@LEISP.WORLD LEIS_AUTH schema LEISAUTH_USER@LEISP.WORLD |
GART Decommission
FW: GART Decommission: Migrating applications from gartdev.tc.gc.ca to secweb-dev.tc.canada.ca
Sent: Tuesday, October 03, 2023 4:07 PM
Good afternoon,
You are receiving this message because you have been identified as IM/IT lead in Application Portfolio Management (APM) for one or more applications hosted on https://gart.tc.gc.ca/. If information in APM is out of date, please forward this message to the current IM/IT lead for your service(s).
The GART migration FAQ has been updated based on the latest developments regarding enterprise external user authentication.
@Wieczorek, Marcin (TC/TC) has taken some time to move the following applications from https://gartdev.tc.gc.ca to https://secweb-dev.tc.canada.ca:
...
https://secweb-dev.tc.canada.ca/secure/leisa-asiel
https://secweb-dev.tc.canada.ca/secure/leis-siel
...
Please test your application(s) and send a message to Web Technical Support/Soutien Technique Web (TC) WebTechnicalSupport-SoutienTechniqueWeb@tc.gc.ca to
confirm if it is working as expected. If your application is not working, please confirm that the files in the network share (\\ncrws548\TPwwwroot\eigdev\secure) are up to date,
and review settings in configuration files. In particular:
• References to gartdev.tc.gc.ca should be replaced with secweb-dev.tc.canada.ca.
• References to ncrws317 should be replaced with ncrws533.
• Encrypted connection strings should be re-encrypted using the CSE tool while selecting "2016 Internal Secure Dev eigdev.tc.gc.ca".
If the above has been completed and your application is still not working,
please contact Web Technical Support to help diagnose and troubleshoot.
Thank you,
Christopher Parent
System Overview
LEIS Business application
The 3 main areas of the application are:
The Initial Report: railway companies are required to submit initial reports to Transport Canada on their locomotive inventory.
The Annual Report: a subsequent annual report required after the end of each calendar year. This is where railway companies provide updates on their locomotive inventory.
In-use test Report: an annual report focused on the emissions in-use test results. The railway companies
are required to annually test their locomotives emissions and enter the results in the system.
LEIS Security application
LEIS administration application used to manage organizations and users.
User Guides
Initial and Annual report external user guides:
In-Use Test Report Functional Specifications:
Architecture
***PLEASE ADD A LINK TO THE DOCUMENTATION OF MODEL
How To Run the Application Locally (New Developer Setup)
Using Visual Studio 2019. From the Team Explorer window, clone the code repository to your local computer:
From the Solution window,
Select “Set Startup Projects…” from the right-click menu.
Select “Multiple startup projects” and set the “Start” action for the following projects:
LEIS.Business.Server.Host.Test
LEIS.Business.Web
LEIS.Security.Host.Test
LEIS.Security.Web
Install the Microsoft Visual Studio Installer Projects Extension from the Manage Extensions window:
Install StreamTagFilterSetup , CLFPagePluginSetup and TC Mailer 3.0 Installer in the following order on your computer, all 3 are found at this shared location: \\ncrws523\Software\New Dev Setup Software\CLF.
Create a folder named CLF on your C:\ drive.
Install StreamTagFilterSetup
Install CLFPagePluginSetup
Install TC Mailer 3.0 Installer
Copy the style templates to the CLF folder on your computer, templates are located here: \\ncrws523\Software\New Dev Setup Software\Templates
Navigate to your local code on your computer file system and find the .vs folder inside the Development folder (.vs folders are sometimes hidden by default). Then find the applicationhost.config file.
Open the applicationhost.config file with notepad and add the two “StreamTagFilter” lines of code in the <location path="" overrideMode="Allow"><system.webServer><modules> node.
<add name="StreamTagFilter-2.0" type="Utility.IIS.StreamTagFilterModule, StreamTagFilter.NET.2.0, Version=1.0.6.2, Culture=neutral, PublicKeyToken=d3d707ec692e4024" preCondition="runtimeVersionv2.0" /> <add name="StreamTagFilter-4.0" type="Utility.IIS.StreamTagFilterModule, StreamTagFilter.NET.4.0, Version=1.0.6.2, Culture=neutral, PublicKeyToken=d3d707ec692e4024" preCondition="runtimeVersionv4.0" />
By default, the development branch is configured to run on the localhost with an internal user and points to the development database. To run the application locally as an internal user, refer to this page to create your user if you don’t have one yet: Creating an Internal User .
Once your user is created, navigate to the DebugHttpModule.cs file in:
\Development\LEIS.Business.Web\Support\DebugHttpModule.cs
\Development\LEIS.Security.Web\Support\DebugHttpModule.cs
Replace the value "TCUSERID" with your internal user TC id to run the application locally.
Start the application in Debug mode.
For full instructions on building this application in dev acc and prod please reference this page: to be continued
Good To Know
ADD ANY INFO RELEVANT TO THIS APPLICATION. SEE THE EXAMPLES BELOW.
Important Dates
The Locomotive Emissions Regulations came into force on June 9, 2017. Under these Regulations, railway companies are required to submit reports to Transport Canada.
The schedule for regulatory reporting is as follows:
Initial Report is one-time report required within 90 days after the date the Regulations came into force. The Initial Report was due September 7, 2017.
Annual Report, is an annual report required within 45 days after the end of each calendar year, beginning with 2018. The first Annual Report is due February 14, 2019.
In-use Test Report, is an annual report required within 90 days after the end of each calendar year, beginning with 2019. The first In-use Test Report is due March 31, 2020.