Skip to content

Commit 4e421ba

Browse files
committed
doc: wording updates and new images
1 parent 75a4fdb commit 4e421ba

File tree

6 files changed

+23
-10
lines changed

6 files changed

+23
-10
lines changed

docs/hcc.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,39 @@
1919

2020
The recommended workflow for Health Connect Cloud is to: create an interface branch, make changes, sync them to GitLab, create a merge request, review and approve the merge request, and then pull the changes into a protected namespace.
2121

22-
# TODO: attach git strategy powerpoint images
22+
Step 1: Create a feature branch based on main
23+
![Step 1: Create a feature branch based on main](images/hcc/hcc-step-1.png)
24+
Step 2: Make changes in the user's namespace
25+
![Step 2: Make changes in the user's namespace](images/hcc/hcc-step-2.png)
26+
Step 3: Sync to get latest from main and push to GitLab
27+
![Step 3: Sync to get latest from main and push to GitLab](images/hcc/hcc-step-3.png)
28+
Step 4: Merge request and repeat 2-3
29+
![Step 4: Merge request and repeat 2-3](images/hcc/hcc-step-4.png)
30+
Step 5: Deploy to the protected namespace
31+
![Step 5: Deploy to the protected namespace](images/hcc/hcc-step-5.png)
2332

2433
A Health Connect Cloud Dev deployment will have at least one Protected Namespace and should also have a dedicated User Namespace for each user. These namespaces can be configured via the Cloud Portal for the selected Health Connect Cloud deployment. It is important for changes to originate in User Namespaces. Protected Namespaces in the Dev deployment must always be kept up to date with the development branch of the associated GitLab repo, either through a CI/CD pipeline or by use of the Git Pull page from Embedded Git.
25-
# TODO: picture of GitLab/deployment/branch relationship
2634

2735
# Prerequisites: InterSystems Responsibilities
28-
- Create GitLab Repository for the Organization
29-
- Grant appropriate access and privileges to the GitLab Repository
30-
- Onboard Customers on Source Control Tools for Health Connect Cloud
31-
- Update Change Control Documentation and Videos
36+
- Create the GitLab repository for the organization
37+
- Grant appropriate access and privileges to the GitLab repository
38+
- Onboard customers on source control tools for Health Connect Cloud
39+
- Maintain change control documentation and videos
3240
- [Official Change Control Documentation](https://docs.intersystems.com)
3341
- [Learning Videos](https://learning.intersystems.com/course/view.php?name=HCCSourceControlUI)
3442

3543
# InterSystems-Recommended Workflow - Embedded Git and GitLab
3644

3745
## Notes on Customer Responsibilities
38-
TODO: flesh this out: configuration, communication, policy/process constraints around approvals, onboarding of users/namespaces
46+
- Define policies for approving merge requests in GitLab.
47+
- Decide on a mapping configuration that will define the locations of different item types in the Git repository.
48+
- Onboard new developers to the Dev Deployment. This will involve creating new users, creating new User Namespaces, and configuring Git for those new namespaces.
3949

4050
## Example Use Case 1: Inbound HL7 Service
4151
> As a Health Connect Cloud user, I want to add a new inbound HL7 service to receive HL7 messages from a lab.
4252
4353
- Log in
44-
- Go to production configuration page for your User Namespace
54+
- Go to the production configuration page for your User Namespace
4555
- Create an interface branch
4656
- Add and test the service
4757
- Sync: After this operation, the User Namespace has everything from the Protected Namespace in addition to changes made in the interface branch, and all of the modified files have been pushed to GitLab.
@@ -83,11 +93,13 @@ This will bring up the sync interface, where you are able to see all the of the
8393

8494
![Sync Interface](images/hcc/syncinterface.png)
8595

86-
Use the link in the output of the sync in order to create a merge request in the git remote (don't worry if you close out of the sync tab, you can also navigate to GitLab manually). Here, you should make sure that you are merging your interface branch into the development environment, and notify / add the relevant reviewers. Once this merge request is approved, it will be merged into the development branch, so that all of your changes will now be a part of development.
87-
8896
### Merge Request Creation
97+
Use the link in the output of the sync in order to create a merge request in the git remote (don't worry if you close out of the sync tab, you can also navigate to GitLab manually). Here, you should make sure that you are merging your interface branch into the development environment, and notify / add the relevant reviewers.
98+
TODO: add image of link in sync output
8999

100+
TODO: add image of GitLab merge request fields
90101
### Merge Request Approval
102+
Once this merge request is approved, it will be merged into the development branch, so that all of your changes will now be a part of development.
91103

92104
### CI/CD Deployment
93105

@@ -110,6 +122,7 @@ When creating a new namespace on the Health Connect instance, you will need to e
110122
- Configure the mappings in the settings. From the Settings page in the source control menu, view the Mappings configuration and confirm it matches the other namespaces. Below is a sample of a common mapping configuration.
111123

112124
![Mappings Configuration](images/hcc/configuremappings.png)
125+
TODO: fix this, show NoFolders for HL7 and LUT. remove the LastPass icon as well
113126

114127
- Configure the default merge branch. From the Settings page in the source control menu, the "Default merge branch" input should match that configured for other namespaces.
115128

docs/images/hcc/hcc-step-1.png

25.8 KB
Loading

docs/images/hcc/hcc-step-2.png

24.1 KB
Loading

docs/images/hcc/hcc-step-3.png

28.4 KB
Loading

docs/images/hcc/hcc-step-4.png

29.5 KB
Loading

docs/images/hcc/hcc-step-5.png

25.1 KB
Loading

0 commit comments

Comments
 (0)