-
-
Save dotnich-io/38ddc4596e4657bbd1d513e49d9ab560 to your computer and use it in GitHub Desktop.
context-mapper-cli bug report
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
import "./domains.cml" | |
BoundedContext TenancyContext implements Tenancy { | |
type = FEATURE | |
domainVisionStatement = "Patients interact with the plaform under the umbrella of a tenancy" | |
responsibilities = "Tenancy", "Users", "Patients" | |
knowledgeLevel = CONCRETE | |
Aggregate TenantManagement { | |
Entity Tenant { | |
aggregateRoot | |
String name | |
States tenantState | |
} | |
enum States { | |
aggregateLifecycle | |
ACTIVE, | |
INACTIVE | |
} | |
} | |
} | |
BoundedContext AuthenticationContext implements Authentication { | |
type = FEATURE | |
domainVisionStatement = "Patients can authenticate themselves" | |
responsibilities = "Users" | |
Aggregate UserManagement { | |
Entity User { | |
aggregateRoot | |
String name | |
List<Device> devices | |
} | |
Entity Device { | |
String name | |
String platform | |
} | |
} | |
} | |
BoundedContext SalesTeam { | |
type = TEAM | |
} |
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
import "./stories.cml" | |
Domain Tenancy { | |
domainVisionStatement = "Everything that relates to *how* and under whose auspices patients interact with the platform" | |
Subdomain TenantManagement supports ActivateTenant { | |
type = CORE_DOMAIN | |
domainVisionStatement = "Everything related to the management of tenants" | |
} | |
Subdomain UserManagement supports NewPatientSignUp { | |
type = CORE_DOMAIN | |
domainVisionStatement = "Everything related to the management of users within a tenant" | |
} | |
Subdomain Authentication supports ExistingPatientSignIn { | |
type = SUPPORTING_DOMAIN | |
domainVisionStatement = "Everything related to the authentication of users" | |
} | |
} |
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
UserStory ActivateTenant { | |
As an "Salesperson" | |
I want to "activate" a "Tenant" | |
so that "patients can use the platform" | |
} | |
UserStory NewPatientSignUp { | |
As a "Patient" | |
I want to "signup" a "User" for an "existing Tenant" | |
I want to "register" a "Device" | |
I want to "create" a "Session" | |
so that "I can use the platform with my Device" | |
} | |
UserStory ExistingPatientSignIn { | |
As a "Patient" | |
I want to "create" a "Session" for an "existing Device" | |
so that "I can use the platform with that Device" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment