bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Define product hierarchy / new URL structure - COMING Spring 2022 #2007

Open severinbeauvais opened 4 years ago

severinbeauvais commented 4 years ago

1. Document what we want the product hierarchy to look like (including various home/landing pages) 2. Document what the URL structure/routing should look like 3. Implement this -- create / see child tickets for various teams/products!

Story Description:

As a user:

As a developer, I want the various applications to fit under URL paths in a logical and easy-to-configure way (re: routing between web apps).

Dependencies

Acceptance Criteria TBD

Validation Rules TBD

Ready for Sprint (DoR)

Ready to Build, Story level (DoR):

Acceptance / DoD:

severinbeauvais commented 4 years ago

Proposed Hierarchy

This proposed hierarchy is designed to mirror the URL path hierarchy and GitHub project hierarchy.

URL path
https://bcregistry.gov.bc.ca
GitHub project path
https://github.com/bcgov
Comment
/ future BC Registry home page
/api This needs to be discussed after a month
/api/legal /lear/legal-api
/api/account /sbc-auth/auth-api
/api/pay /sbc-pay/pay-api
/api/namex /namex is this correct?
/api/developer For external developer info
/api/assets The PPR and MHR can be further slashed from this path
/business This is for Business Registry homepage
/business/name /namerequest This is for Name Request
/business/create /bcrs-business-create-ui This is for incorporating a business
/business/filings /business-filings-ui This is for business filings
/business/search /sbc-search This is for search functionality
/staff Future staff tools(account maintenance, admin etc). Business or Assets can "/" from staff
/account /sbc-auth/auth-web This is for user accounts
/pay /sbc-pay/pay-ui For now, we are leaving it here, team can decide later
/assets This is the homepage for assets
severinbeauvais commented 4 years ago

@thorwolpert What should the Dev (and Test) environments be called (and do we need more URLs for that)?

Also, does the table above look OK?

severinbeauvais commented 4 years ago

@jeznorth @thorwolpert @pwei1018

We have had a few ad hoc conversations to discuss the approach here and I think we're generally in agreement. Can we finish discussing this and then document what we need to do to implement this?

Update: see #2975

pwei1018 commented 4 years ago

@saravankumarpa Can you work on this with Severin?

saravankumarpa commented 4 years ago

@severinbeauvais My two cents on this. I was under the impression that we are migrating only our front end apps to new urls. But looks like we are planning for API's as well. API's can be more of api.bcregistry.ca/foo etc... It need not to match the webapps pattern. for example Githubs API's are https://api.github.com/user etc. We need more discussion on that. Again with respect to API , some more things has to be considered . Since API manager will get involved , it will be the front facing for public API and then the APIS will be exposed via API Manager. The API's doesn't lie on the same namespaces in openshift , that might also has to be considered while naming them since openshift has restriction on the routes ;or else the proxy have to support some kind of mapping.

severinbeauvais commented 4 years ago

@thorwolpert Can you respond to Saravan's comment please?

thorwolpert commented 4 years ago

the APIs will get consolidated as part of the API Gateway work. I don't think that it is worth working towards an interim spot, as opposed to just moving to the Gateway this Spring/Summer.

trishreimer commented 4 years ago

If the URL actually changes from what it is today, we will need to advise staff and update existing web pages, job aids, materials, etc. I'm assuming a redirect will be in place to direct clients to the new URL. Based on a conversation with KM, we may want to use this as an opportunity to create a new brand for Registries, so at a minimum, I would suggest discussing the naming convention with KM.

jyoti3286 commented 4 years ago

The proposed hierarchy table has been updated based upon the discussion between Thor, Severin, Loren, Kaine, Jyoti, Sumesh, Bryan. "/api" path can be discussed in the future(post 1 month)

lmullane commented 4 years ago

@severinbeauvais @pwei1018 Isn't this done?

severinbeauvais commented 4 years ago

@lmullane We have an idea what the URL structure should look like but I'm unsure whether everybody is OK with it, whether it's complete, and whether it's properly documented anywhere.

If you look at the top of this ticket, I'd say # 1 and # 2 are sort of done, and # 3 needs to be done.

Kaineatthelab commented 4 years ago

We also never implemented the new URLs for the public, so still, need to do this transition. Since we haven't done this we could probably have another meeting around it and plan to put this in in the next 2-3 months?

lmullane commented 4 years ago

Sounds good, @Kaineatthelab @severinbeauvais

Looping in @sumesh-aot and @saravanpa-aot

sienna-oldaccountdontuse commented 4 years ago

@jyoti3286 please bring to next PO sync

jyoti3286 commented 4 years ago

@thorwolpert @sumesh-aot Whats the next steps on this item?

sienna-oldaccountdontuse commented 4 years ago

Will look at this ticket again after the registry app architecture has been decided

sienna-oldaccountdontuse commented 2 years ago

@Kaineatthelab do we want to keep using this ticket? Do we need updates to it?