-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
436 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: cdr.hsdp.crossplane.io/v1alpha1 | ||
kind: Organization | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: cdr/v1alpha1/organization | ||
labels: | ||
testing.upbound.io/example-name: root_org | ||
name: root-org | ||
spec: | ||
forProvider: | ||
fhirStore: ${data.hsdp_cdr_fhir_store.sandbox.endpoint} | ||
name: Root ORG | ||
orgIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
version: r4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
apiVersion: cdr.hsdp.crossplane.io/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: cdr/v1alpha1/subscription | ||
labels: | ||
testing.upbound.io/example-name: patient_changes | ||
name: patient-changes | ||
spec: | ||
forProvider: | ||
criteria: Patient | ||
deleteEndpoint: https://webhook.myapp.io/patient_deleted | ||
end: "2030-12-31T23:59:59Z" | ||
endpoint: https://webhook.myapp.io/patient | ||
fhirStore: ${hsdp_cdr_org.test.fhir_store} | ||
headers: | ||
- 'Authorization: Basic cm9uOnN3YW5zb24=' | ||
reason: Notification for patient changes | ||
version: r4 | ||
|
||
--- | ||
|
||
apiVersion: cdr.hsdp.crossplane.io/v1alpha1 | ||
kind: Organization | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: cdr/v1alpha1/subscription | ||
labels: | ||
testing.upbound.io/example-name: test | ||
name: test | ||
spec: | ||
forProvider: | ||
fhirStore: ${data.hsdp_cdr_fhir_store.sandbox.endpoint} | ||
name: Hospital | ||
orgIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: test | ||
version: r4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: dbs.hsdp.crossplane.io/v1alpha1 | ||
kind: SqsSubscriber | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dbs/v1alpha1/sqssubscriber | ||
labels: | ||
testing.upbound.io/example-name: my-subscriber | ||
name: my-subscriber | ||
spec: | ||
forProvider: | ||
deliveryDelaySeconds: 0 | ||
description: My subscriber | ||
messageRetentionPeriodSeconds: 0 | ||
nameInfix: my-subscriber | ||
queueType: Standard | ||
receiveWaitTimeSeconds: 0 | ||
serverSideEncryption: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: dicom.hsdp.crossplane.io/v1alpha1 | ||
kind: Notification | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dicom/v1alpha1/notification | ||
labels: | ||
testing.upbound.io/example-name: topic | ||
name: topic | ||
spec: | ||
forProvider: | ||
configUrl: ${hsdp_dicom_store_config.dicom.config_url} | ||
defaultOrganizationIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: tenant1 | ||
endpointUrl: ${var.notification_endpoint_url} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: dicom.hsdp.crossplane.io/v1alpha1 | ||
kind: ObjectStore | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dicom/v1alpha1/objectstore | ||
labels: | ||
testing.upbound.io/example-name: store2 | ||
name: store2 | ||
spec: | ||
forProvider: | ||
configUrl: ${var.dicom_base_url} | ||
description: Store 2 | ||
organizationIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
s3credsAccess: | ||
- bucketName: yyyy-yyyy-yyy-yyyy | ||
endpoint: https://xxx.com | ||
folderPath: /store1 | ||
productKeySecretRef: | ||
key: example-key | ||
name: example-secret | ||
namespace: upbound-system | ||
serviceAccount: | ||
- accessTokenEndpoint: ${data.hsdp_config.iam.url}/oauth2/access_token | ||
privateKeySecretRef: | ||
key: example-key | ||
name: example-secret | ||
namespace: upbound-system | ||
serviceId: [email protected] | ||
tokenEndpoint: ${data.hsdp_config.iam.url}/authorize/oauth2/token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: dicom.hsdp.crossplane.io/v1alpha1 | ||
kind: Repository | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dicom/v1alpha1/repository | ||
labels: | ||
testing.upbound.io/example-name: repo1 | ||
name: repo1 | ||
spec: | ||
forProvider: | ||
configUrl: ${hsdp_dicom_store_config.dicom.config_url} | ||
notification: | ||
- organizationId: ${hsdp_iam_org.tenant1.id} | ||
objectStoreId: ${hsdp_dicom_object_store.store1.id} | ||
organizationIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: root_org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: dicom.hsdp.crossplane.io/v1alpha1 | ||
kind: StoreConfig | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dicom/v1alpha1/storeconfig | ||
labels: | ||
testing.upbound.io/example-name: dicom | ||
name: dicom | ||
spec: | ||
forProvider: | ||
cdrServiceAccount: | ||
- privateKey: ${hsdp_iam_service.cdr.private_key} | ||
serviceId: ${hsdp_iam_service.cdr.service_id} | ||
configUrl: ${var.dicom_base_url} | ||
fhirStore: | ||
- mpiEndpoint: https://foo.bar/xxx | ||
organizationIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/application | ||
labels: | ||
testing.upbound.io/example-name: testapp | ||
name: testapp | ||
spec: | ||
forProvider: | ||
description: Test application | ||
name: TESTAPP | ||
propositionIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: testprop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: Client | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/client | ||
labels: | ||
testing.upbound.io/example-name: testclient | ||
name: testclient | ||
spec: | ||
forProvider: | ||
applicationIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: testtapp | ||
clientId: testclient | ||
defaultScopes: | ||
- cn | ||
- introspect | ||
description: Test client | ||
globalReferenceId: some-ref-here | ||
name: TESTCLIENT | ||
passwordSecretRef: | ||
key: attribute.result | ||
name: example-password | ||
namespace: upbound-system | ||
redirectionUris: | ||
- https://foo.bar/auth | ||
- https://testapp.cloud.pcftest.com/auth | ||
responseTypes: | ||
- code | ||
- code id_token | ||
scopes: | ||
- cn | ||
- introspect | ||
- profile | ||
type: Public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: EmailTemplate | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/emailtemplate | ||
labels: | ||
testing.upbound.io/example-name: password_changed | ||
name: password-changed | ||
spec: | ||
forProvider: | ||
format: HTML | ||
managingOrganizationSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: hsdp_iam_org | ||
message: | | ||
Dear {{user.givenName}}, | ||
Your password was recently changed. If this was not initiated | ||
by you please contact support immediately. | ||
Kind regards, | ||
IAM Team | ||
subject: Your IAM account password was changed | ||
type: PASSWORD_CHANGED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: Group | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/group | ||
labels: | ||
testing.upbound.io/example-name: tdr_users | ||
name: tdr-users | ||
spec: | ||
forProvider: | ||
description: Group for TDR Users with Contract and Dataitem roles | ||
devices: [] | ||
managingOrganizationSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: devorg | ||
name: TDR Users | ||
roleRef: | ||
- name: TDRALL | ||
serviceRef: | ||
- name: test | ||
userRef: | ||
- name: admin | ||
- name: developer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: Organization | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/organization | ||
labels: | ||
testing.upbound.io/example-name: testorg | ||
name: testorg | ||
spec: | ||
forProvider: | ||
description: Test Organization | ||
name: TestOrg | ||
parentOrgId: ${hsdp_iam_org.myorg.id} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: PasswordPolicy | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/passwordpolicy | ||
labels: | ||
testing.upbound.io/example-name: mypolicy | ||
name: mypolicy | ||
spec: | ||
forProvider: | ||
complexity: | ||
- maxLength: 32 | ||
minLength: 8 | ||
minLowercase: 1 | ||
minNumerics: 1 | ||
minSpecialChars: 1 | ||
minUppercase: 1 | ||
expiryPeriodInDays: 180 | ||
historyCount: 5 | ||
managingOrganizationSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: hsdp_iam_org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: Proposition | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/proposition | ||
labels: | ||
testing.upbound.io/example-name: testprop | ||
name: testprop | ||
spec: | ||
forProvider: | ||
description: Test Proposition | ||
name: TestProposition | ||
organizationIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: devorg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: Role | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/role | ||
labels: | ||
testing.upbound.io/example-name: TDRALL | ||
name: tdrall | ||
spec: | ||
forProvider: | ||
description: Role for TDR users with ALL access | ||
managingOrganizationSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: testdev | ||
name: TDRALL | ||
permissions: | ||
- DATAITEM.CREATEONBEHALF | ||
- DATAITEM.READ | ||
- DATAITEM.DELETEONBEHALF | ||
- DATAITEM.DELETE | ||
- CONTRACT.CREATE | ||
- DATAITEM.READONBEHALF | ||
- CONTRACT.READ | ||
- DATAITEM.CREATE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: RoleSharingPolicy | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/rolesharingpolicy | ||
labels: | ||
testing.upbound.io/example-name: policy | ||
name: policy | ||
spec: | ||
forProvider: | ||
purpose: Share SOME role with another organization | ||
roleIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: shared | ||
sharingPolicy: AllowChildren | ||
targetOrganizationIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: another_org | ||
|
||
--- | ||
|
||
apiVersion: iam.hsdp.crossplane.io/v1alpha1 | ||
kind: Role | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: iam/v1alpha1/rolesharingpolicy | ||
labels: | ||
testing.upbound.io/example-name: shared | ||
name: shared | ||
spec: | ||
forProvider: | ||
description: A role we want to share across ORGs | ||
managingOrganizationSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: my_org | ||
name: SOME Role | ||
permissions: | ||
- PATIENT.READ | ||
- PRACTITIONER.READ |
Oops, something went wrong.