Skip to content

Commit

Permalink
Merge 2.3 into main (bcgov#2083)
Browse files Browse the repository at this point in the history
* Cloudfront CORS policy terraform (bcgov#1887)

* Add CORS Config for Cloudfront

* Test uses dev APIs

* Split header policies and use the non auth one for maps

* Add capacitor

* Add Android origin

* https instead of http

* Add localhost for old android

* WFNEWS-2147 : Storybook (bcgov#1892)

* Add storybook to project

* Add checkbox-button

* Add stories

* Clean up

* Reorganize stories

* Node version bump

* Remove google-services

* package-lock update (bcgov#1895)

* Build from release branches (bcgov#1896)

* Update pipeline (bcgov#1897)

* Fix build and update readme (bcgov#1898)

* Add missing flag

* Fix cloudfront headers and node version for builds (bcgov#1899)

* Add handling for no new data, timeout (bcgov#1900)

* wfnews-2133 (bcgov#1901)

* wfnews 2133 improvement (bcgov#1902)

* Wfnews 2097 (bcgov#1907)

* wip, banner part

* wfnews-2097

* add storybook

* modify storybook data

* css change after code review

* Add handling for no new data, timeout (bcgov#1914)

* wfnews-2160 Add resource mgmt service and config (bcgov#1915)

* WFNEWS-2160 Add resource management service

* wfnews-2160 Add resource mgmt service

* Add WFRM terraform config

* Clean up

* Fix wfrmSchedule config

* Append missing comma in config.jsp (bcgov#1916)

* WFNEWS-2160 Add resource management service

* wfnews-2160 Add resource mgmt service

* Add WFRM terraform config

* Clean up

* Fix wfrmSchedule config

* Append missing comma in config.jsp

* wfnews-2102 (bcgov#1912)

* wfnews-2102

* move incident tabs to separate component

* Update README.md

* Wfnews 2102 (bcgov#1917)


* make use of back button

* 2182 2183 2185 (bcgov#1918)

* Wfnews 2183 (bcgov#1919)


* fix badge wrap issue

* Wfnews 2100 (bcgov#1920)

* 2182 2183 2185

* wfnews-2100

* back button adjustment

* open lightGallery on click all photos button

* css adjustment

* zoom to extend button on header map (bcgov#1921)

* 2182 2183 2185

* wfnews-2100

* back button adjustment

* open lightGallery on click all photos button

* css adjustment

* zoom to extend in header panel

* WFNEWS-2132 RM integration (bcgov#1922)

* WFNEWS-2132 RM integration

* Remove duplicatesvg

* Adjustments

* WFNEWS-2132 fix undefined bug on editor resize (bcgov#1926)

* WFNEWS-2132 RM integration

* Remove duplicatesvg

* Adjustments

* WFNEWS-2132 fix undefined bug on editor

* WFNEWS-2188 Set correct createDate for incidents on POST/PUT (bcgov#1925)

* Wfnews 2098 new (bcgov#1923)

* 2182 2183 2185

* wfnews-2098

* switch evac layer to openmaps source

* REVERT -switch evac layer to openmaps source

* code review change

* revert appconfig.json

* 2100 non compliances (bcgov#1927)

* 2182 2183 2185

* align icons

* 2189 2190 2191

* 2189 2190 2191

* Storybook icons and tests (bcgov#1928)

* Add icons page

* Fix icon mapping

* Add interaction test

* Add rest of icons

* WFNEWS-2198 set submittedTimestamp from ROF payload (bcgov#1930)

* WFNEWS-2198 Add missing timestamp conversion (bcgov#1931)

* WFNEWS-2198 set submittedTimestamp from ROF payload

* WFNEWS-2198 Add missing timestamp conversion

* Wfnews 2115 (bcgov#1932)

* 2182 2183 2185

* area restrictions header

* revert uncessary changes

* revert uncessary changes

* fire ban header

* remove console warn

* remove console warn

* Updated version number and minSdkVersion

* fire danger header (bcgov#1934)

* WFNEWS-2110 - Evac Order and components (bcgov#1936)

* Add generic button used for evacuation info

* Create AdvisorySectionComponent

* Add ContentContainerComponent

* Implement TwoColumnContentCardsContainer

* Implement RelatedTopicsCard

* Returning home card

* Add links to RelatedTopicsCard

* Implement AtTheReceptionCentreCardComponent

* Implement WhereShouldIGoCard

* Implement WarningBanner

* Implement WhenYouLeaveCard and fix property name

* Implement OtherSourcesOfInformationCard

* Implement ConnectWithLocalAuthoritesCard

* IconInfoChip and fixes

* Implement AssociatedWildfireCard

* Add cards to page

* PR Feedback

* fire danger header (bcgov#1934)

* Add generic button used for evacuation info

* Create AdvisorySectionComponent

* Add ContentContainerComponent

* Implement TwoColumnContentCardsContainer

* Implement RelatedTopicsCard

* Returning home card

* Add links to RelatedTopicsCard

* Implement AtTheReceptionCentreCardComponent

* Implement WhereShouldIGoCard

* Implement WarningBanner

* Implement WhenYouLeaveCard and fix property name

* Implement OtherSourcesOfInformationCard

* Implement ConnectWithLocalAuthoritesCard

* IconInfoChip and fixes

* Implement AssociatedWildfireCard

* Add cards to page

* PR Feedback

* Fix import

---------

Co-authored-by: Lucas Li <[email protected]>

* WFNEWS-2199 Set aviation import to 0 (bcgov#1935)

* WFNEWS-2200 Update totals on resource fetch (bcgov#1933)

* WFNEWS-2200 Update totals on resource fetch

* WFNEWS-2200 Update totals on resource fetch

* WFNEWS-2200 Update totals on resource fetch

* WFNEWS-2200 Update totals on resource fetch

* Add block display for parent so flex works (bcgov#1937)

* Add missing call to aviationValueChange function (bcgov#1938)

* WFNEWS-2199 Set aviation import to 0

* Add missing call to aviationValueChange function

* WFNEWS-2111 :  EvacAlertDetails Implementation (bcgov#1939)

* Add block display for parent so flex works

* Implement EvacAlertDetails

* weather desktop identify preview (bcgov#1941)

* 2182 2183 2185

* weather desktop identify preview

* styling update on pop up header

* close panel and go back in weather preview

* Remove dashboard background (bcgov#1944)

* WFNEWS-2112 WFNEWS-2113 : Area Restrictions and Fire Ban details (bcgov#1942)

* Add block display for parent so flex works

* Implement EvacAlertDetails

* Add missing call to aviationValueChange function (bcgov#1938)

* WFNEWS-2199 Set aviation import to 0

* Add missing call to aviationValueChange function

* Implement AreaRestrictionDetails

* Implement FireBanDetails

* Add block display for parent so flex works

* Implement AreaRestrictionDetails

* Implement FireBanDetails

* Update documentation.json

* Small refactor and FireDangerDetails

---------

Co-authored-by: ssylver93 <[email protected]>

* weather full detail (bcgov#1943)

* 2182 2183 2185

* weather full detail

* customized scroll bar for preview panel

* storybook

* storybook for weather panel

* WFNEWS-2118 Identify panel (bcgov#1945)

* Fix merge conflict

* WFNEWS-2118 Identify panel

* Import draggable-panel.css

* Update fire icon css

* WFNEWS-2132 admin incident form stories (bcgov#1940)

* WFNEWS-2132 RM integration

* Remove duplicatesvg

* Adjustments

* WFNEWS-2132 fix undefined bug on editor

* Admin incident form stories

* More stories

* WFNEWS-2132 admin incident form stories

* WFNEWS-2132 move stories to Panel folder

* Fix merge conflict

* WFNEWS-2103 WFNEWS-2106 : Response and Maps tab (bcgov#1947)

* Add block display for parent so flex works

* Implement EvacAlertDetails

* Add missing call to aviationValueChange function (bcgov#1938)

* WFNEWS-2199 Set aviation import to 0

* Add missing call to aviationValueChange function

* Implement AreaRestrictionDetails

* Implement FireBanDetails

* Add block display for parent so flex works

* Implement AreaRestrictionDetails

* Implement FireBanDetails

* Update documentation.json

* Small refactor and FireDangerDetails

* ResponseUpdateCard

* Remove autogen documentation from repo

* Fix styling of tabs

* ContactUsCard

* ResponseTypeCard

* TextCard for General Response Disclaimer

* AssignedResourceItem

* ResourceAssignedCard

* Response Tab Integration

* DownloadItemsContainer and move files

* Fix styling and add warnings

* Fix developer profile in angular json

* ContactUsBanner

* Map download buttons

* Add block display for parent so flex works

* Implement AreaRestrictionDetails

* Implement FireBanDetails

* Update documentation.json

* Add block display for parent so flex works

* Implement EvacAlertDetails

* Implement AreaRestrictionDetails

* Implement FireBanDetails

* Small refactor and FireDangerDetails

* ResponseUpdateCard

* Remove autogen documentation from repo

* Fix styling of tabs

* ContactUsCard

* ResponseTypeCard

* TextCard for General Response Disclaimer

* AssignedResourceItem

* ResourceAssignedCard

* Response Tab Integration

* DownloadItemsContainer and move files

* Fix styling and add warnings

* Fix developer profile in angular json

* ContactUsBanner

* Map download buttons

* Fix imports

* Move image size to CSS

---------

Co-authored-by: ssylver93 <[email protected]>

* wfnews-2118 fix smk popups for base map and layers (bcgov#1946)

* wfnews-2118 fix smk popups for base map and layers

* Clean up

* Clean up

* Clean up

* WFNEWS-2111 : Rebased (bcgov#1949)

* Dynamically populate Local Authorities

* WFNEWS-2209

* Fix link

* Fix bookmarks

* Remove broken eslint rule (bcgov#1950)

* Create generate-debuggable-zip-android.yml

* Update folder for extracted Android build

* Wfnews 2126, 2128, 2129, 2119 (bcgov#1951)

* 2182 2183 2185

* fire ban and area restriction preview

* fire ban and area restriction preview

* danger rating preview and protected lands preview

* revert settings

* capfire icon added

* move formatDate to util

* refactor the code a bit

* remove documentation from commit

* remove documentation from commit

* closepanel and showpanel

* add zoomto polygon for preview

* add the campfire allowed  icon to the iconography story

* fix formateDate import

* 2215 2216 (bcgov#1953)

* 2215 2216

* partial map issue on main screen

* danger rating font and protected land preview panel zoom in fix (bcgov#1954)

* danger rating font

* wfnews-2219 protected land zoom in

* safe check

* include back to map feature for all events

* remove typo

* WFNEWS-2104 : Gallery tab (bcgov#1955)

* Add block display for parent so flex works

* Implement EvacAlertDetails

* Add missing call to aviationValueChange function (bcgov#1938)

* WFNEWS-2199 Set aviation import to 0

* Add missing call to aviationValueChange function

* Implement AreaRestrictionDetails

* Implement FireBanDetails

* Add block display for parent so flex works

* Implement AreaRestrictionDetails

* Implement FireBanDetails

* Update documentation.json

* Small refactor and FireDangerDetails

* ResponseUpdateCard

* Remove autogen documentation from repo

* Fix styling of tabs

* ContactUsCard

* ResponseTypeCard

* TextCard for General Response Disclaimer

* AssignedResourceItem

* ResourceAssignedCard

* Response Tab Integration

* DownloadItemsContainer and move files

* Fix styling and add warnings

* Fix developer profile in angular json

* ContactUsBanner

* Map download buttons

* Fix button event interaction

* Implement media gallery

* Load more button

* Fix lightgallery

* No media case

* Remove merged in story

* Add try catch around network calls

---------

Co-authored-by: ssylver93 <[email protected]>

* WFNEWS-2203 : Use ROF API field instead of comments for visible flames (bcgov#1957)

* let map fitbounds before adding tile layers (bcgov#1958)

* WFNEWS-2217 : Cap size to be consistent to other tabs (bcgov#1959)

* Preview Panels for WFNEWS-2122,2123,2124,2125,2130 (bcgov#1956)

* Preview Panels for WFNEWS-2122,2123,2124,2125,2130

* Clean up

* Update icon and css

* Suspected cause copy fix (bcgov#1961)

* Wfnews 2206 (bcgov#1962)

* let map fitbounds before adding tile layers

* detectChange after bans map render

* Fix format of date on gallery items (bcgov#1960)

* Zoom on evac select and open preview when one result identified (bcgov#1963)

* Preview Panels for WFNEWS-2122,2123,2124,2125,2130

* Clean up

* Update icon and css

* Zoom on evac select and open preview when one result identified

* Remove commented line

* Simplify current reference check on identify changes

* bug fix (bcgov#1964)

* Frozen preview panel (bcgov#1965)

* 2182 2183 2185

* bug fix

* bug fix 2

* bug fix

* bug fix

* bug fix

* Add location pin on zoom in (bcgov#1966)

* Preview Panels for WFNEWS-2122,2123,2124,2125,2130

* Clean up

* Update icon and css

* Zoom on evac select and open preview when one result identified

* Remove commented line

* Simplify current reference check on identify changes

* Add location pin on zoom in

* Clean up

* Add undefined appConfigService for road events (bcgov#1967)

* Preview Panels for WFNEWS-2122,2123,2124,2125,2130

* Clean up

* Update icon and css

* Zoom on evac select and open preview when one result identified

* Remove commented line

* Simplify current reference check on identify changes

* Add location pin on zoom in

* Clean up

* Add undefined appConfigService for closed rec sites

* zoom to extent bans (bcgov#1968)

* Fix Drive BC link bug (bcgov#1969)

* Preview Panels for WFNEWS-2122,2123,2124,2125,2130

* Clean up

* Update icon and css

* Zoom on evac select and open preview when one result identified

* Remove commented line

* Simplify current reference check on identify changes

* Add location pin on zoom in

* Clean up

* Add undefined appConfigService for closed rec sites

* Fix Drive BC link bug

* Merge prod (bcgov#1970)

* use 20px if safe-area-inset not detectable

* typo on notification title

* commented out in-app notification section

* remove bracket from notifiation message body

* try out

* safe-area in map screen got ignored

* change notification message again. set 10 sec apperance time for notification snackbar

* more styling tweak

* remove test

* emit location notification if click in app notification

* pom version update to 2.3.0

* Rollback to prod (bcgov#1893)

* Revert "WFNEWS-1171 Exclude core-js and core-js-compat (bcgov#1890)"

This reverts commit fdb4f8f.

* Revert "pom version update to 2.3.0 (bcgov#1891)"

This reverts commit eced7c4.

* Revert "refine the searchText (bcgov#1889)"

This reverts commit 8bf526f.

* Revert "Wfnews 1333 (bcgov#1888)"

This reverts commit 1bb1155.

* Add release branches to build kicker (bcgov#1894)

* WFNEWS-2165 : Fix styling for large response content (bcgov#1903)

* Add max-width to incident-overview-panel-mobile

* Apply styling to innerHTML and break words

* Update version and cloudfront (bcgov#1904)

* Fix padding and use word-wrap (bcgov#1906)

* WFNEWS-2164 Fetch missing data from public side in admin screen (bcgov#1905)

* WFNEWS-2164 Fetch missing data from public side in admin screen

* WFNEWS-2164 Use one datasource for published incident in admin

* Remove typo and clean up

---------

Co-authored-by: Sukh <[email protected]>

* WFNEWS-2164 Await Promise.allSettled call (bcgov#1909)

* WFNEWS-2164 Fetch missing data from public side in admin screen

* WFNEWS-2164 Use one datasource for published incident in admin

* Remove typo and clean up

* WFNEWS-2164 Await Promise.allSettled call

* Update promise syntax

* Update promise syntax

* wfnews-2179 (bcgov#1910)

* wfnews-2179

* remove console log

* Update copy (bcgov#1908)

* bump version in pipeline (bcgov#1911)

* WFNEWS-2164 Mobile view fix suspected cause (bcgov#1913)

* WFNEWS-2164 Fetch missing data from public side in admin screen

* WFNEWS-2164 Use one datasource for published incident in admin

* Remove typo and clean up

* WFNEWS-2164 Await Promise.allSettled call

* Update promise syntax

* Update promise syntax

* WFNEWS-2164 Mobile view fix suspected cause

* Add debuggable-android-zip action (bcgov#1952)

* Update generate-debuggable-zip-android.yml

* Zip entire angular folder

* merge prod

* merge prod

* merge prod

* conflict in admin page

---------

Co-authored-by: Sukh <[email protected]>
Co-authored-by: ssylver93 <[email protected]>
Co-authored-by: vivid-cpreston <[email protected]>

* WFNEWS-2164 missing code for admin screen (bcgov#1971)

* Rollback to prod (bcgov#1893)

* Revert "WFNEWS-1171 Exclude core-js and core-js-compat (bcgov#1890)"

This reverts commit fdb4f8f.

* Revert "pom version update to 2.3.0 (bcgov#1891)"

This reverts commit eced7c4.

* Revert "refine the searchText (bcgov#1889)"

This reverts commit 8bf526f.

* Revert "Wfnews 1333 (bcgov#1888)"

This reverts commit 1bb1155.

* Add release branches to build kicker (bcgov#1894)

* WFNEWS-2165 : Fix styling for large response content (bcgov#1903)

* Add max-width to incident-overview-panel-mobile

* Apply styling to innerHTML and break words

* Update version and cloudfront (bcgov#1904)

* WFNEWS-2164 Fetch missing data from public side in admin screen

* Fix padding and use word-wrap (bcgov#1906)

* WFNEWS-2164 Use one datasource for published incident in admin

* Remove typo and clean up

* WFNEWS-2164 Fetch missing data from public side in admin screen (bcgov#1905)

* WFNEWS-2164 Fetch missing data from public side in admin screen

* WFNEWS-2164 Use one datasource for published incident in admin

* Remove typo and clean up

---------

Co-authored-by: Sukh <[email protected]>

* WFNEWS-2164 Await Promise.allSettled call

* Update promise syntax

* Update promise syntax

* WFNEWS-2164 Await Promise.allSettled call (bcgov#1909)

* WFNEWS-2164 Fetch missing data from public side in admin screen

* WFNEWS-2164 Use one datasource for published incident in admin

* Remove typo and clean up

* WFNEWS-2164 Await Promise.allSettled call

* Update promise syntax

* Update promise syntax

* wfnews-2179 (bcgov#1910)

* wfnews-2179

* remove console log

* Update copy (bcgov#1908)

* bump version in pipeline (bcgov#1911)

* WFNEWS-2164 Mobile view fix suspected cause

* Clean up

---------

Co-authored-by: Sukh <[email protected]>
Co-authored-by: Lucas Li <[email protected]>

* hardcode debugging (bcgov#1972)

* revert hardcode (bcgov#1973)

* Fix tagging of incorrect build during TEST deploy

* Update deploy-test.yml

* Update deploy-test.yml

* Set current incident number label in admin screen (bcgov#1974)

* WFNEWS-2218 Use ionic storage to increase offline storage quota (bcgov#1975)

* Component splitting and bug fixes (bcgov#1976)

* Add event-info component

* EventInfo implementation

* SuspectedCauseCard

* Roll back info panel

* FireSizeCard

* LocationCard

* areaRestrictionsCard and evacuationsCard

* Add primaryMediaItem

* Use components in details page

* Fix print

* Fix date format

* Revert sizing

* Remove copy file

* PR feedback

* Remove redundant padding (bcgov#1980)

* Add left and right padding to related links (bcgov#1979)

* Fix alignment of header (bcgov#1978)

* Contact us dialog alignment (bcgov#1977)

* Add event-info component

* EventInfo implementation

* SuspectedCauseCard

* Roll back info panel

* FireSizeCard

* LocationCard

* areaRestrictionsCard and evacuationsCard

* Add primaryMediaItem

* Use components in details page

* Fix print

* Fix date format

* Revert sizing

* Remove copy file

* Align dialog with other uses of Contact Us

* Fix stories

* Response update card keep shaking when there is only one line of text (bcgov#1981)

* use afterViewInit instead of AfterContentChecked

* use afterViewInit instead of AfterContentChecked

* use afterViewInit instead of AfterContentChecked

* update code review

* WFNEWS-2206 : Only call for required bans and make tiles larger (bcgov#1982)

* Only call for required bans and make tiles larger

* Clean up

* Add bounds to bans layers (bcgov#1983)

* WFNEWS-2218, WFNEWS-2236, clear ionic storage to prevent duplicate ROF (bcgov#1984)

* WFNEWS-2218 Use ionic storage to increase offline storage quota

* WFNEWS-2218 return stored ROF as promise, clear storage after submission, styling for WFNEWS-2236

* Add question mark svg, update css

* Reduce tile calls (bcgov#1985)

* WFNEWS-2234 Clickable back button (bcgov#1987)

* WFNEWS-2237 Await evac response from AGOL (bcgov#1986)

* WFNEWS-2237 Await evac response from AGOL

* WFNEWS-2237 Changes after code review

* WFNEWS-2277 (bcgov#1988)

* platform based routing

* Fix redirect to not use internal browser

* Add google-services key to gitIgnore

* Use redirect for links to event page and formatting (bcgov#1989)

* 2231 (bcgov#1993)

* WFNEWS-2289 : Add ellipses to image text on mobile (bcgov#1990)

* Use redirect for links to event page and formatting

* Add ellipses to long media name on mobile

* WFNEWS-2292 : Fix margins and side effects (bcgov#1991)

* Use redirect for links to event page and formatting

* Fix margins and side effects

* Add padding to event page

* WFNEWS-2252 : Use responseDetail from Incident (bcgov#1992)

* Use redirect for links to event page and formatting

* Use resourceDetail from incident

* Remove default text and hide if no responseDetail

* Update README.md Lifecycle changed to Maturing

* wfnews-2231 (bcgov#1994)

* Wfnews 2207 (bcgov#1996)

* 2182 2183 2185

* wfnews-2231

* 2207

* WFNEWS-2288 : Fix flex for header (bcgov#1995)

* Use redirect for links to event page and formatting

* Fix header flexxing

* WFNEWS-2286 : Use mask for icon

* WFNEWS-2228 2229 Fix zoom to and highlight polygons for local authorities (bcgov#1997)

* WFNEWS-2230 position location pin correctly (bcgov#1999)

* WFNEWS-2283 : Fire ban text change (bcgov#1998)

* 2253 (bcgov#2000)

* wording typo (bcgov#2001)

* 2182 2183 2185

* 2253

* typo

* 2232 (bcgov#2004)

* WFNEWS-2229 Fix zoom in for First Nations (bcgov#2003)

* WFNEWS-2228 2229 Fix zoom to and highlight polygons for local authorities

* WFNEWS-2229 Fix zoom in for First Nations

* WFNEWS-2229 fix zoom call for poly/multipoly

* Change to use AfterContentInit

* Remove line break (bcgov#2002)

* 2293 (bcgov#2005)

* 2293

* change twitter icon in resources page

* Update target/compile android version (bcgov#2006)

* Remove line breaks (bcgov#2007)

* Remove line breaks

* Fix zoom to extent icon size iOS

* centroid and icon fix (bcgov#2008)

* add fix into smk 1.0.16001 version (bcgov#2010)

* WFNEWS-2290 : extract polygons fix for iOS (bcgov#2009)

* extract polygons fix for iOS

* Dashboard map tiles

* Wfnews 2301 2302 2303 (bcgov#2011)

* 2301

* 2301

* 2302

* wfnews-2303

* Show incidentCauseDetail on desktop public side if it exists (bcgov#2012)

* Show incidentCauseDetail on public side if it exists

* Show incidentCauseDetail on public side if it exists

* Move logic for incidentCauseDetail to TS function

* Lock storybook version (bcgov#2015)

* Wfnews 2305 (bcgov#2013)

* 2182 2183 2185

* 2301

* 2301

* 2302

* wfnews-2303

* wfnews-2306

* WFNEWS-2294 (bcgov#2014)

* Initial commit

* WFNEWS-2294

* WFNEWS-2294

* Update displayDangerRatingDescription function name

* Build fix (bcgov#2016)

* 2182 2183 2185

* plural for hectare

* WFNEWS-2294 bugs (bcgov#2017)

* Initial commit

* WFNEWS-2294

* WFNEWS-2294

* Update displayDangerRatingDescription function name

* WFNEWS-2294 bugs

* Fix for mobile config links

* Fix area restrictions link bars

* Missing full stop (bcgov#2018)

* Initial commit

* WFNEWS-2294

* WFNEWS-2294

* Update displayDangerRatingDescription function name

* WFNEWS-2294 bugs

* Fix for mobile config links

* Fix area restrictions link bars

* Misiing full stop

* Wfnews 2305 (bcgov#2020)

* 2182 2183 2185

* 2305

* Fix styling (bcgov#2019)

* wfnews-2203 revert (bcgov#2021)

* 2182 2183 2185

* clean

* version roll back

* Wfnews 2305 (bcgov#2023)

* 2182 2183 2185

* 2305

* make scrollbar always visable

* margin needed for identify-card for desktop preview (bcgov#2025)


* add margin identify card for desktop preview

* fix notification api build (bcgov#2026)

* Include webkit browsers in check (bcgov#2027)

* Create a cache behavior for statistics (bcgov#2028)

* Create a cache behavior for statistics (bcgov#2029)

* Create a cache behavior for statistics

* Use legacy cache settings

* fix forloop for extractPolygonData (bcgov#2030)

* error handler on main map layer initialize  (bcgov#2024)



* more map error handler

* Fix area restirctions buffer 2.3.0 branch (bcgov#2033)

* Pipeline docker branch fix (bcgov#2032)

* Use default branch instead of hard coded and ref_name

* Correct missed ref_name

* Correct missed ref_name

* Undo image_tag change

* Revert image_name change

* Use SHA instead

* Statistics cache policy change (bcgov#2034)

* Use default branch instead of hard coded and ref_name

* Correct missed ref_name

* Correct missed ref_name

* Undo image_tag change

* Revert image_name change

* Use SHA instead

* Remove cookies and headers

* Fix syntax errors and add origin (bcgov#2035)

* Pipeline branch fix (bcgov#2036)

* Fix syntax errors and add origin

* Undo SHA changes and find branch from release event

* Branch name fix (bcgov#2037)

* Fix syntax errors and add origin

* Undo SHA changes and find branch from release event

* fix if statement

* Fix fire bans links for mobile (bcgov#2038)

* Fix fire bans links (bcgov#2039)

* Fix fire bans links for mobile

* Admin text change

* Upgrade tomcat to 9.0.91 (bcgov#2040)

* use issuingAgency rather than static for evac detail page mobile (bcgov#2041)

* break to new line with long text in response tab (bcgov#2042)

* break to new line with long text in response tab

* break to new line with long text in response tab

* Update evac-alert-full-details.component.ts (bcgov#2043)

Remove hardcoded WMS layers, replace with AGO layers

* Update incident-header-panel.component.ts (bcgov#2044)

Remove WMS evac layers, replace with AGO evac layers

Co-authored-by: Sukh <[email protected]>

* evac-order missing issuingAgency (bcgov#2046)

* Set cookies passing to none (bcgov#2045)

* Remove cacheBust param (bcgov#2047)

* Incident header polygon precision (bcgov#2048)

* Add precision to evac polygons

* Add higher precision to polygon

* text change on MODIFIED Response type (bcgov#2049)

* Check for invalid eventNumber (bcgov#2050)

* Use function for response copy (bcgov#2051)

* Prevent switching back and forth between columns (bcgov#2052)

* Reduce log level for pointId API (bcgov#2053)

* Fire preimeter preview (bcgov#2054)

* handle select incident on fire perimeter

* handle select incident on fire perimeter

* handle select incident on fire perimeter

* handle select incident on fire perimeter

* WFNEWS-2354 WFNEWS-2356 Fix transparency for polygons (bcgov#2056)

* enter mobile full detail from fire perimeter preview panel (bcgov#2057)

* enter mobile full detail from fire perimeter preview panel

* fire-primeter preview title

---------

Co-authored-by: Sukh <[email protected]>

* 2.3.0 scaling fix (bcgov#2055)

* Update autoscaling triggers and app counts

* Increased timeout on user-facing APIs

* Update timeout values

---------

Co-authored-by: Sukh <[email protected]>

* WFNEWS-2358 : Remove array brackets (bcgov#2058)

* Bump to v2.3.6 (bcgov#2059)

* Further reduce log traffic (bcgov#2060)

* add currentYear to fetchPublishedIncident at evac detail page (bcgov#2061)

* add currentYear to fetchPublishedIncident at evac detail page

* remove debugger

* WFNEWS-2358 : Add array check (bcgov#2063)

* adding evac order layer and fire perimeter layer to incident detail page (bcgov#2064)

* adding evac order layer and fire perimeter layer to incident detail page

* avoid code duplication

* Add caching to weather endpoint (bcgov#2062)

* Reduce precision on weather calls (bcgov#2065)

* Reduce precision on weather calls

* Copy change

* Remove copy pasted text function (bcgov#2066)

* WFNEWS-2373 : Hide label on empty value (bcgov#2067)

* Hide description when empty (bcgov#2068)

* wfnews 2387 and text changes (bcgov#2069)

* wfnews-2388 (bcgov#2070)

* WFNEWS-2389 : Fix Active Wildfire count and shorten cache TTL (bcgov#2071)

* Shorten TTL of statistics cache

* Add FoN to Active Wildfire counts

* wfnews-2390 (bcgov#2072)

* wfnews-2390

* wfnews-2390

---------

Co-authored-by: Sukh <[email protected]>

* WFNEWS-2389 - Dashboard count corrections (bcgov#2073)

* Shorten TTL of statistics cache

* Add FoN to Active Wildfire counts

* Change to use DeclaredOutDate

* Add previous year stats to Wildfire Cause widgets

* Remove previousYearOut totals

* Fix totals

* WFNEWS-2389 : Stage of Control counts on dashboard (bcgov#2074)

* Shorten TTL of statistics cache

* Add FoN to Active Wildfire counts

* Change to use DeclaredOutDate

* Add previous year stats to Wildfire Cause widgets

* Remove previousYearOut totals

* Fix totals

* Fix stage of control counts

* evac zoomtoExtent should use unique EMRG_OAA_SYSID (bcgov#2075)

* 2.3.7 (bcgov#2076)

* Update target/compile android version

* Update version number to 2.3.7

* Bump to 2.3.7

* 2.3.7 (bcgov#2077)

* Bump to 2.3.7

* WFNEWS-2396 : Remove fill from perimeter polygons (bcgov#2078)

* Bump version number to 2.3.8 (bcgov#2079)

* Update provisioning profile identifier

* WFNEWS-2203 WFIM-3176 : Visible Flames boolean (bcgov#2081)

* Visible Flames boolean

* Fix dependencies

---------

Co-authored-by: vivid-cpreston <[email protected]>
Co-authored-by: Lucas Li <[email protected]>
Co-authored-by: ssylver93 <[email protected]>
Co-authored-by: Chris Preston <[email protected]>
Co-authored-by: Will Robins <[email protected]>
Co-authored-by: Dylan <[email protected]>
  • Loading branch information
7 people authored Oct 22, 2024
1 parent 4d0a1b5 commit 27e2488
Show file tree
Hide file tree
Showing 512 changed files with 32,713 additions and 8,159 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ jobs:
WFDM_API_URL: ${{ vars.WFDM_REST_URL }}
FIRE_REPORT_API_URL: ${{ vars.FIRE_REPORT_API_URL }}
NOTIFICATION_API_URL: ${{ vars.NOTIFICATION_API_URL }}
WFRM_RESOURCE_API_URL: ${{ vars.WFRM_RESOURCE_API_URL }}
WFDM_PROXY: ${{ vars.WFDM_PROXY }}
WFIM_API_URL: ${{ vars.WFIM_CLIENT_URL }}
WFNEWS_API_KEY: ${{ secrets.API_KEY }}
Expand All @@ -155,13 +156,15 @@ jobs:
EMERGENCY_ALERT_URL: ${{ vars.EMERGENCY_ALERT_URL }}
DRIVE_BC_URL: ${{ vars.DRIVE_BC_URL}}
EVAC_SERVICES_URL: ${{ vars.EVAC_SERVICES_URL }}
DANGER_SUMMARY: ${{ vars.DANGER_SUMMARY }}
HIGH_RISK_ACTIVITIES: ${{ vars.HIGH_RISK_ACTIVITIES }}
YOUTUBE_API_KEY: ${{secrets.YOUTUBE_API_KEY}}
YOUTUBE_CHANNEL_ID: ${{secrets.YOUTUBE_CHANNEL_ID}}

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down
31 changes: 17 additions & 14 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
runs-on: ubuntu-22.04
environment: PROD

env:
branch-name: ${{ github.event_name == 'release' && github.event.release.target_commitish || github.ref_name }}

outputs:
tag-value: ${{ steps.get-release-tag.outputs.tag-value }}

Expand Down Expand Up @@ -53,44 +56,44 @@ jobs:

- name: Tag client image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:main ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.IMAGE_TAG }}
- name: Tag server image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:main ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.IMAGE_TAG }}
- name: Tag liquibase image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:main ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.IMAGE_TAG }}
- name: Tag nginx image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:main ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.IMAGE_TAG }}
- name: Tag notifications-api image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:main ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.IMAGE_TAG }}
- name: Tag notification-push-api image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:main ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.IMAGE_TAG }}
- name: Tag wfss-pointid-api image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:main ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.IMAGE_TAG }}
- run: echo ::set-output name=tag-value::${{ env.IMAGE_TAG }}
Expand Down
31 changes: 17 additions & 14 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
runs-on: ubuntu-22.04
environment: TEST

env:
branch-name: ${{ github.event_name == 'release' && github.event.release.target_commitish || github.ref_name }}

outputs:
tag-value: ${{ steps.get-release-tag.outputs.tag-value }}

Expand All @@ -47,44 +50,44 @@ jobs:

- name: Tag client image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:main ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.CLIENT_IMAGE }}:${{ env.IMAGE_TAG }}
- name: Tag server image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:main ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.SERVER_IMAGE }}:${{ env.IMAGE_TAG }}
- name: Tag liquibase image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:main ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.LIQUIBASE_IMAGE }}:${{ env.IMAGE_TAG }}
- name: Tag nginx image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:main ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/${{ vars.NGINX_IMAGE }}:${{ env.IMAGE_TAG }}
- name: Tag notifications-api image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:main ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notifications-api:${{ env.IMAGE_TAG }}
- name: Tag notification-push-api image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:main ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfone-notification-push-api:${{ env.IMAGE_TAG }}
- name: Tag wfss-pointid-api image
run: |
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:main
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:main ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.IMAGE_TAG }}
docker pull ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.branch-name }}
docker tag ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.branch-name }} ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.IMAGE_TAG }}
docker push ${{vars.REGISTRY}}/${{github.repository_owner}}/nr-bcws-wfnews-wfss-pointid-api:${{ env.IMAGE_TAG }}
- run: echo ::set-output name=tag-value::${{ env.IMAGE_TAG }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/generate-debuggable-zip-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ jobs:
EMERGENCY_ALERT_URL: ${{ vars.EMERGENCY_ALERT_URL }}
DRIVE_BC_URL: ${{ vars.DRIVE_BC_URL}}
EVAC_SERVICES_URL: ${{ vars.EVAC_SERVICES_URL }}
DANGER_SUMMARY: ${{ vars.DANGER_SUMMARY }}
HIGH_RISK_ACTIVITIES: ${{ vars.HIGH_RISK_ACTIVITIES }}
YOUTUBE_API_KEY: ${{secrets.YOUTUBE_API_KEY}}
YOUTUBE_CHANNEL_ID: ${{secrets.YOUTUBE_CHANNEL_ID}}

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
WFDM_API_URL: ${{ vars.WFDM_REST_URL }}
FIRE_REPORT_API_URL: ${{ vars.FIRE_REPORT_API_URL }}
NOTIFICATION_API_URL: ${{ vars.NOTIFICATION_API_URL }}
WFRM_RESOURCE_API_URL: ${{ vars.WFRM_RESOURCE_API_URL }}
WFDM_PROXY: ${{ vars.WFDM_PROXY }}
WFIM_API_URL: ${{ vars.WFIM_CLIENT_URL }}
WFNEWS_API_KEY: ${{ secrets.API_KEY }}
Expand All @@ -137,14 +138,16 @@ jobs:
LOCAL_GOV_URL: ${{ vars.LOCAL_GOV_URL }}
EMERGENCY_ALERT_URL: ${{ vars.EMERGENCY_ALERT_URL }}
DRIVE_BC_URL: ${{ vars.DRIVE_BC_URL}}
EVAC_SERVICES_URL: ${{ vars.EVAC_SERVICES_URL }}
EVAC_SERVICES_URL: ${{ vars.EVAC_SERVICES_URL }}
DANGER_SUMMARY: ${{ vars.DANGER_SUMMARY }}
HIGH_RISK_ACTIVITIES: ${{ vars.HIGH_RISK_ACTIVITIES }}
YOUTUBE_API_KEY: ${{secrets.YOUTUBE_API_KEY}}
YOUTUBE_CHANNEL_ID: ${{secrets.YOUTUBE_CHANNEL_ID}}

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package.json'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lambda-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- uses: montudor/action-zip@v1
with:
args: zip -qq -r evacuation-orders-monitor.zip lambda/evacuation-orders-monitor/evacuation-orders
args: zip -qq -r -j evacuation-orders-monitor.zip lambda/evacuation-orders-monitor/evacuation-orders

- uses: actions/setup-node@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/terragrunt-deploy-manual-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ jobs:
WFDM_REST_URL: ${{vars.WFDM_REST_URL}}
FIRE_REPORT_API_URL: ${{vars.FIRE_REPORT_API_URL}}
NOTIFICATION_API_URL: ${{vars.NOTIFICATION_API_URL}}
WFRM_RESOURCE_API_URL: ${{vars.WFRM_RESOURCE_API_URL}}
POINT_ID_URL: ${{vars.POINT_ID_URL}}
WFIM_CLIENT_URL: ${{vars.WFIM_CLIENT_URL}}
WFIM_REST_URL: ${{vars.WFIM_REST_URL}}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/terragrunt-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ jobs:
WFDM_REST_URL: ${{vars.WFDM_REST_URL}}
FIRE_REPORT_API_URL: ${{vars.FIRE_REPORT_API_URL}}
NOTIFICATION_API_URL: ${{vars.NOTIFICATION_API_URL}}
WFRM_RESOURCE_API_URL: ${{vars.WFRM_RESOURCE_API_URL}}
POINT_ID_URL: ${{vars.POINT_ID_URL}}
WFIM_CLIENT_URL: ${{vars.WFIM_CLIENT_URL}}
WFIM_REST_URL: ${{vars.WFIM_REST_URL}}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/terragrunt-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ jobs:
WFDM_REST_URL: ${{vars.WFDM_REST_URL}}
FIRE_REPORT_API_URL: ${{vars.FIRE_REPORT_API_URL}}
NOTIFICATION_API_URL: ${{vars.NOTIFICATION_API_URL}}
WFRM_RESOURCE_API_URL: ${{vars.WFRM_RESOURCE_API_URL}}
POINT_ID_URL: ${{vars.POINT_ID_URL}}
WFIM_CLIENT_URL: ${{vars.WFIM_CLIENT_URL}}
WFIM_REST_URL: ${{vars.WFIM_REST_URL}}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ server/wfss-pointid-api/wfss-pointid-api-rest-fireweather-common/target
server/wfss-pointid-api/wfss-pointid-api-rest-wfnews-common/target
server/wfss-pointid-api/wfss-pointid-swagger-java-client/target
client/wfnews-war/src/main/angular/.npmrc
client/wfnews-war/src/main/angular/documentation.json
client/wfnews-war/src/main/angular/android/app/google-services.json
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"java.configuration.updateBuildConfiguration": "automatic",
"files.maxMemoryForLargeFilesMB": 8192,
"java.compile.nullAnalysis.mode": "automatic",
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx8G -Xms100m -javaagent:\"c:\\Users\\dhemsworth\\.vscode\\extensions\\vscjava.vscode-lombok-1.0.1\\server\\lombok.jar\""

"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx8G -Xms100m -javaagent:\"c:\\Users\\dhemsworth\\.vscode\\extensions\\vscjava.vscode-lombok-1.0.1\\server\\lombok.jar\"",
"angular.enable-strict-mode-prompt": false
}
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# BCWS Situation Report (WFNEWS)

[![Lifecycle](https://img.shields.io/badge/Lifecycle-Experimental-339999)](https://github.com/bcgov/repomountie/blob/master/doc/lifecycle-badges.md)
[![Lifecycle](https://img.shields.io/badge/Lifecycle-Maturing-007EC6)](https://github.com/bcgov/repomountie/blob/master/doc/lifecycle-badges.md)
![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)
### Sonar Status
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=bcgov_nr-bcws-wfnews&metric=bugs)](https://sonarcloud.io/summary/new_code?id=bcgov_nr-bcws-wfnews)
Expand Down Expand Up @@ -54,6 +54,21 @@ docker run --rm liquibase --url=jdbc:postgresql://<your instance ip>:5432/wfnews

Similar docker scripts are provided for running the WFNEWS API and UI respectively. Local development configurations are provided for running the Angular application outside of the Java Spring container.

### Storybook

For UI/UX development we have Storybook for developers. You can run storybook using the following command:
```
ng run WFNEWS:storybook
```

Create stories for any new or rewritten compoenents.

Node 18+ is required.

### CI/CD for DEV/TEST/PROD Deployments

The WFNEWS project is built and deployed via Github actions. A Terraform cloud team server handles running the Terraform. A CI pipeline is setup to run static analysis of the Typescript.

### Testing

This project is tested with BrowserStack
2 changes: 1 addition & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tomcat:9.0.85-jdk17-openjdk
FROM tomcat:9.0.91-jdk17-openjdk

COPY /wfnews-war/target/wfnews-war-1.0.0.war .

Expand Down
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>ca.bc.gov.nrs.wfnews</groupId>
<artifactId>wfnews-parent</artifactId>
<version>2.2.1</version>
<version>2.3.9</version>
<packaging>pom</packaging>
<name>wfnews-parent</name>
<modules>
Expand Down
2 changes: 1 addition & 1 deletion client/wfnews-ear/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>ca.bc.gov.nrs.wfnews</groupId>
<artifactId>wfnews-parent</artifactId>
<version>2.2.1</version>
<version>2.3.9</version>
</parent>
<artifactId>wfnews-ear</artifactId>
<packaging>ear</packaging>
Expand Down
Loading

0 comments on commit 27e2488

Please sign in to comment.