naming
VerifiedEnrichment0.2.0Use when: When names follow a scheme (cloud resources, environments, tables) and people and agents should name new things the same way first time.
How things are named: name patterns that write down each naming convention, filled from fields on the nodes themselves (an environment's code, a region's short code, a component's short name). One rule: every environment has a code. Other packs ship naming patterns and calculate names with derived definitions, and every calculated name is called `handle`, so one label choice shows them all.
Add it
Open it in trumly cloud to start a project with this pack already in. In an existing project, open the editor's Packs tab, choose naming, then Add. Nodes you change after adding are kept when the pack is upgraded.
From a known source. Reviewed by us, and the publisher is known.
Explore is a read-only demo in your browser: nothing to sign in to, and nothing is saved.
- Namespace
nam--- Size
- 4 nodes
- Needs
- core@^1.0.0, about@^1.1.0
- Works with
- design@^1.0.0
- Enriches
- about, design
- Publisher
- trumly
- Versions
0.2.0·0.1.0- Checksum
4fe0baf9c9a3c4aa…
Examples 1
- Naming the ops API on AWSA starting point
Environment codes and AWS naming in use: production shows prd, and the RDS database and the Fargate services get their calculated handles (ops-prd-euw2-db, ops-prd-euw2-svc).
Show the 33 nodes
- Jobs listed
acceptance-criterionacceptance-criterion-jobs-listed - Ops staff
actoractor-ops-staff - Job volume stays modest
assumptionassumption-job-volume - View job status
capabilitycapability-view-job-status - AWS
cloud-providercloud-provider-aws - ECS Fargate
cloud-servicecloud-service-fargate - RDS for PostgreSQL
cloud-servicecloud-service-rds - Ops API
componentcomponent-ops-api - Job
conceptconcept-job - Vertical scaling
consequenceconsequence-one-engine - Data stays in UK/EU
constraintconstraint-uk-eu-data - Short titles
conventionconvention-short-titles - Ops db
datastoredatastore-ops-db - Managed document store
decision-optiondecision-option-document-store - Managed PostgreSQL
decision-optiondecision-option-managed-postgres - Database choice
decisiondecision-use-postgres - AWS database handle
derivedderived-aws-name-db - AWS service handle
derivedderived-aws-name-svc - Production
environmentenvironment-production - Timely ops visibility
goalgoal-timely-visibility - Live job status
incrementincrement-live-status - Ops API
interfaceinterface-ops-api - Job status age
metricmetric-status-freshness - AWS resources
name-patternnames-aws - Ops API
overviewoverview - Prefer managed services
principleprinciple-prefer-managed - London
regionregion-london - List jobs
requirementrequirement-list-jobs - Job volume growth
riskrisk-job-volume-growth - Dev
teamteam-dev - Platform
teamteam-platform - Build status API
work-packagework-package-build-status-api - Private zone
network-zonezone-private
- Jobs listed
Patterns 1
Small fragments you lift into a project of your own. In the editor or through an agent, insert one under its root node.
- Naming – Environment codesA short code for each environment (prd, dev, sit, stg) that every other name pattern uses for its environment-code part. Set it as the `code` field on each environment; the naming pack shows it as the environment's handle so it can be labelled and searched.Hangs from a
codes.
Planes 1
- Names
Types 1
- name-patternUse for the template one kind of thing is named by, such as Azure resources or storage accounts. Write the value as ordinary text and put a name in curly brackets wherever something from the node should go, the same way a calculated value reads it: {field}, {link/field}, {^link/field}, {@type/name}. Attach it with describes to the types, plane or nodes it names.
Calculated values 1
- handle
{code}The short code of an environment, from its code field.
Rules 1
- WarningEvery environment has a short code for use in names