From f9dd8204409f60b28bf21d4daa852b53492d5d6c Mon Sep 17 00:00:00 2001 From: mishraomp Date: Thu, 18 Jan 2024 00:32:36 +0000 Subject: [PATCH] Adding or updating the confluence pages --- confluence/pages/Coding_Patterns_&_Practices/README.md | 2 +- confluence/pages/Coding_Patterns_&_Practices/data.json | 2 +- confluence/pages/Source_Code_Repositories/README.md | 2 +- confluence/pages/Source_Code_Repositories/data.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/confluence/pages/Coding_Patterns_&_Practices/README.md b/confluence/pages/Coding_Patterns_&_Practices/README.md index b2177e9..2025137 100644 --- a/confluence/pages/Coding_Patterns_&_Practices/README.md +++ b/confluence/pages/Coding_Patterns_&_Practices/README.md @@ -1 +1 @@ -
Status

Document

StakeholdersNRIDS Architecture, Development & Digital Services, NRM Product Teams
DescriptionThe purpose of this page is to outline some coding practices when developing an application. Practices used by a team should be documented in the repository.
OutcomeConsistent point of reference for onboarding new product teams into the NRM's.
OwnerNRIDS (DDS, Architecture)


Languages Supported

Currently, most agile teams use one of these 4 languages and it is encouraged to stay within these languages, it may expand in the future. ( Typescript/JavaScript, Java On Native, Python, Go)


Native Deployments

Some Languages are interpreted by their runtime ex:(java on JVM, python, javascript, etc..) whereas some languages are compiled (Golang, Rust).

Use native(static binary) deployments wherever available. for ex: it is a MUST for teams using Java to deploy using GraalVM native image without the overhead of JVM interpreter. 

Focus on the scale-out vs scale-up as deployments are into containers or serverless.


Code Design Patterns and Principles

Folder Structure and Naming Conventions

Secret and Environment Variable Handling

Secure APIs

Error Handling


Code Formatters and Plugins

Infrastructure as Code

Pipeline

The below was created using the QuickStart OpenShift as a reference. Please refer to the repo for the most up to date information.

trueBranching Strategyfalseautotoptrue10111

GitHub PRs - Commits

PR Review and Practices

Dependency Management


\ No newline at end of file +
Status

Document

StakeholdersNRIDS Architecture, Development & Digital Services, NRM Product Teams
DescriptionThe purpose of this page is to outline some coding practices when developing an application. Practices used by a team should be documented in the repository.
OutcomeConsistent point of reference for onboarding new product teams into the NRM's.
OwnerNRIDS (DDS, Architecture)


Languages Supported

Currently, most agile teams use one of these 4 languages and it is encouraged to stay within these languages, it may expand in the future. ( Typescript/JavaScript, Java On Native, Python, Go)


Native Deployments

Some Languages are interpreted by their runtime ex:(java on JVM, python, javascript, etc..) whereas some languages are compiled (Golang, Rust).

Use native(static binary) deployments wherever available. for ex: it is a MUST for teams using Java to deploy using GraalVM native image without the overhead of JVM interpreter. 

Focus on the scale-out vs scale-up as deployments are into containers or serverless.


Code Design Patterns and Principles

Folder Structure and Naming Conventions

Secret and Environment Variable Handling

Secure APIs

Error Handling


Code Formatters and Plugins

Infrastructure as Code

Pipeline

The below was created using the QuickStart OpenShift as a reference. Please refer to the repo for the most up to date information.

trueBranching Strategyfalseautotoptrue10111

GitHub PRs - Commits

PR Review and Practices

Dependency Management


\ No newline at end of file diff --git a/confluence/pages/Coding_Patterns_&_Practices/data.json b/confluence/pages/Coding_Patterns_&_Practices/data.json index 73e3402..0ac416c 100644 --- a/confluence/pages/Coding_Patterns_&_Practices/data.json +++ b/confluence/pages/Coding_Patterns_&_Practices/data.json @@ -1 +1 @@ -{"id":"160074735","type":"page","status":"current","title":"Coding Patterns & Practices","body":{"storage":{"value":"
Status

Document

StakeholdersNRIDS Architecture, Development & Digital Services, NRM Product Teams
DescriptionThe purpose of this page is to outline some coding practices when developing an application. Practices used by a team should be documented in the repository.
OutcomeConsistent point of reference for onboarding new product teams into the NRM's.
OwnerNRIDS (DDS, Architecture)


Languages Supported

Currently, most agile teams use one of these 4 languages and it is encouraged to stay within these languages, it may expand in the future. ( Typescript/JavaScript, Java On Native, Python, Go)


Native Deployments

Some Languages are interpreted by their runtime ex:(java on JVM, python, javascript, etc..) whereas some languages are compiled (Golang, Rust).

Use native(static binary) deployments wherever available. for ex: it is a MUST for teams using Java to deploy using GraalVM native image without the overhead of JVM interpreter. 

Focus on the scale-out vs scale-up as deployments are into containers or serverless.


Code Design Patterns and Principles

Folder Structure and Naming Conventions

Secret and Environment Variable Handling

Secure APIs

Error Handling


Code Formatters and Plugins

Infrastructure as Code

Pipeline

The below was created using the QuickStart OpenShift as a reference. Please refer to the repo for the most up to date information.

trueBranching Strategyfalseautotoptrue10111

GitHub PRs - Commits

PR Review and Practices

Dependency Management


","representation":"storage","_expandable":{"content":"/rest/api/content/160074735"}},"_expandable":{"editor":"","view":"","export_view":"","styled_view":"","anonymous_export_view":""}},"extensions":{"position":10},"_links":{"webui":"/pages/viewpage.action?pageId=160074735","edit":"/pages/resumedraft.action?draftId=160074735","tinyui":"/x/74uKCQ","collection":"/rest/api/content","base":"https://apps.nrs.gov.bc.ca/int/confluence","context":"/int/confluence","self":"https://apps.nrs.gov.bc.ca/int/confluence/rest/api/content/160074735"},"_expandable":{"container":"/rest/api/space/AR","metadata":"","operations":"","children":"/rest/api/content/160074735/child","restrictions":"/rest/api/content/160074735/restriction/byOperation","history":"/rest/api/content/160074735/history","ancestors":"","version":"","descendants":"/rest/api/content/160074735/descendant","space":"/rest/api/space/AR"}} \ No newline at end of file +{"id":"160074735","type":"page","status":"current","title":"Coding Patterns & Practices","body":{"storage":{"value":"
Status

Document

StakeholdersNRIDS Architecture, Development & Digital Services, NRM Product Teams
DescriptionThe purpose of this page is to outline some coding practices when developing an application. Practices used by a team should be documented in the repository.
OutcomeConsistent point of reference for onboarding new product teams into the NRM's.
OwnerNRIDS (DDS, Architecture)


Languages Supported

Currently, most agile teams use one of these 4 languages and it is encouraged to stay within these languages, it may expand in the future. ( Typescript/JavaScript, Java On Native, Python, Go)


Native Deployments

Some Languages are interpreted by their runtime ex:(java on JVM, python, javascript, etc..) whereas some languages are compiled (Golang, Rust).

Use native(static binary) deployments wherever available. for ex: it is a MUST for teams using Java to deploy using GraalVM native image without the overhead of JVM interpreter. 

Focus on the scale-out vs scale-up as deployments are into containers or serverless.


Code Design Patterns and Principles

Folder Structure and Naming Conventions

Secret and Environment Variable Handling

Secure APIs

Error Handling


Code Formatters and Plugins

Infrastructure as Code

Pipeline

The below was created using the QuickStart OpenShift as a reference. Please refer to the repo for the most up to date information.

trueBranching Strategyfalseautotoptrue10111

GitHub PRs - Commits

PR Review and Practices

Dependency Management


","representation":"storage","_expandable":{"content":"/rest/api/content/160074735"}},"_expandable":{"editor":"","view":"","export_view":"","styled_view":"","anonymous_export_view":""}},"extensions":{"position":10},"_links":{"webui":"/pages/viewpage.action?pageId=160074735","edit":"/pages/resumedraft.action?draftId=160074735","tinyui":"/x/74uKCQ","collection":"/rest/api/content","base":"https://apps.nrs.gov.bc.ca/int/confluence","context":"/int/confluence","self":"https://apps.nrs.gov.bc.ca/int/confluence/rest/api/content/160074735"},"_expandable":{"container":"/rest/api/space/AR","metadata":"","operations":"","children":"/rest/api/content/160074735/child","restrictions":"/rest/api/content/160074735/restriction/byOperation","history":"/rest/api/content/160074735/history","ancestors":"","version":"","descendants":"/rest/api/content/160074735/descendant","space":"/rest/api/space/AR"}} \ No newline at end of file diff --git a/confluence/pages/Source_Code_Repositories/README.md b/confluence/pages/Source_Code_Repositories/README.md index ae564ca..ba31d2e 100644 --- a/confluence/pages/Source_Code_Repositories/README.md +++ b/confluence/pages/Source_Code_Repositories/README.md @@ -1 +1 @@ -
Status

GreenDocument

Stakeholders

 

DescriptionGeneral guidance and recommendations for source code repositories
Outcome
OwnerIITD Architecture

Source Code Repository Types

Repository Type

When to Use

Key Contacts

Notes

SubversionNever
Subversion is deprecated, do not create any new repositories.
BitBucketClosed, internal
Manual, complex, (currently) in-house.  Works with RFC/RFD process and JIRA.  Very customizable.
GithubWhenever possible

Ideal for automation, open source.  Industry leader in most significant areas.  Very unconstrained. 

see https://github.com/bcgov/BC-Policy-Framework-For-GitHub


GitHub:

For practices on using GitHub see:


BitBucket:


Subversion (SVN):

Source Code Repository Naming

Diagrams

Source Code Repository Topics

Mono Repo vs Multi Repo?

Source Code Repository License & Ownership

\ No newline at end of file +
Status

GreenDocument

Stakeholders

 

DescriptionGeneral guidance and recommendations for source code repositories
Outcome
OwnerIITD Architecture

Source Code Repository Types

Repository Type

When to Use

Key Contacts

Notes

SubversionNever
Subversion is deprecated, do not create any new repositories.
BitBucketClosed, internal
Manual, complex, (currently) in-house.  Works with RFC/RFD process and JIRA.  Very customizable.
GithubWhenever possible

Ideal for automation, open source.  Industry leader in most significant areas.  Very unconstrained. 

see https://github.com/bcgov/BC-Policy-Framework-For-GitHub


GitHub:

For practices on using GitHub see:


BitBucket:


Subversion (SVN):

Source Code Repository Naming

Diagrams

Source Code Repository Topics

Mono Repo vs Multi Repo?

Source Code Repository License & Ownership

\ No newline at end of file diff --git a/confluence/pages/Source_Code_Repositories/data.json b/confluence/pages/Source_Code_Repositories/data.json index 66df1c0..86adf0d 100644 --- a/confluence/pages/Source_Code_Repositories/data.json +++ b/confluence/pages/Source_Code_Repositories/data.json @@ -1 +1 @@ -{"id":"115081594","type":"page","status":"current","title":"Source Code Repositories","body":{"storage":{"value":"
Status

GreenDocument

Stakeholders

 

DescriptionGeneral guidance and recommendations for source code repositories
Outcome
OwnerIITD Architecture

Source Code Repository Types

Repository Type

When to Use

Key Contacts

Notes

SubversionNever
Subversion is deprecated, do not create any new repositories.
BitBucketClosed, internal
Manual, complex, (currently) in-house.  Works with RFC/RFD process and JIRA.  Very customizable.
GithubWhenever possible

Ideal for automation, open source.  Industry leader in most significant areas.  Very unconstrained. 

see https://github.com/bcgov/BC-Policy-Framework-For-GitHub


GitHub:

For practices on using GitHub see:


BitBucket:


Subversion (SVN):

Source Code Repository Naming

Diagrams

Source Code Repository Topics

Mono Repo vs Multi Repo?

Source Code Repository License & Ownership

","representation":"storage","_expandable":{"content":"/rest/api/content/115081594"}},"_expandable":{"editor":"","view":"","export_view":"","styled_view":"","anonymous_export_view":""}},"extensions":{"position":35},"_links":{"webui":"/display/AR/Source+Code+Repositories","edit":"/pages/resumedraft.action?draftId=115081594","tinyui":"/x/egHcBg","collection":"/rest/api/content","base":"https://apps.nrs.gov.bc.ca/int/confluence","context":"/int/confluence","self":"https://apps.nrs.gov.bc.ca/int/confluence/rest/api/content/115081594"},"_expandable":{"container":"/rest/api/space/AR","metadata":"","operations":"","children":"/rest/api/content/115081594/child","restrictions":"/rest/api/content/115081594/restriction/byOperation","history":"/rest/api/content/115081594/history","ancestors":"","version":"","descendants":"/rest/api/content/115081594/descendant","space":"/rest/api/space/AR"}} \ No newline at end of file +{"id":"115081594","type":"page","status":"current","title":"Source Code Repositories","body":{"storage":{"value":"
Status

GreenDocument

Stakeholders

 

DescriptionGeneral guidance and recommendations for source code repositories
Outcome
OwnerIITD Architecture

Source Code Repository Types

Repository Type

When to Use

Key Contacts

Notes

SubversionNever
Subversion is deprecated, do not create any new repositories.
BitBucketClosed, internal
Manual, complex, (currently) in-house.  Works with RFC/RFD process and JIRA.  Very customizable.
GithubWhenever possible

Ideal for automation, open source.  Industry leader in most significant areas.  Very unconstrained. 

see https://github.com/bcgov/BC-Policy-Framework-For-GitHub


GitHub:

For practices on using GitHub see:


BitBucket:


Subversion (SVN):

Source Code Repository Naming

Diagrams

Source Code Repository Topics

Mono Repo vs Multi Repo?

Source Code Repository License & Ownership

","representation":"storage","_expandable":{"content":"/rest/api/content/115081594"}},"_expandable":{"editor":"","view":"","export_view":"","styled_view":"","anonymous_export_view":""}},"extensions":{"position":35},"_links":{"webui":"/display/AR/Source+Code+Repositories","edit":"/pages/resumedraft.action?draftId=115081594","tinyui":"/x/egHcBg","collection":"/rest/api/content","base":"https://apps.nrs.gov.bc.ca/int/confluence","context":"/int/confluence","self":"https://apps.nrs.gov.bc.ca/int/confluence/rest/api/content/115081594"},"_expandable":{"container":"/rest/api/space/AR","metadata":"","operations":"","children":"/rest/api/content/115081594/child","restrictions":"/rest/api/content/115081594/restriction/byOperation","history":"/rest/api/content/115081594/history","ancestors":"","version":"","descendants":"/rest/api/content/115081594/descendant","space":"/rest/api/space/AR"}} \ No newline at end of file