Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Flow & Processes
LINK: https://milkbox.atlassian.net/wiki/spaces/MBKB/pages/1933737985/MFB+-+Create+Funnel+infrastructure
- Postman
Workspace: MB Funnel Builder
Environment: Domains API Production
- Mission Control (mc.milkbox.com))
Milkbox Common > Domains
- Procedure (Workspace: MB Funnel Builder, ENV: Domains API|Production)
1. Postman > Domains API > Auth (POST)
- Fetch API Token
2. PostMan > Domains API > POST > Create Domain (POST)
- Create Domains
3. Mission Control
- Grab ID from Milkbox Common
- Search the domain and grab the UUI from URL
4. PostMan > Domains API > GET > Get Specific Domain (GET)
- Get Specific Domain Info
- Grab the following objects:
- mfb
- Change sandbox to "false"
- records array
- entry
> will create register.domainname.com
- type
> always CNAME
- product
> always mfb
- optional params:
- ttl
- name
- value
5. PostMan > Domains API > PATCH > Update Domain (PATCH)
- add the mfb & records array
- example:
{
"mfb": {
"external_domain_verification": {
"cloudflare": {
"verification_errors": []
}
},
"sandbox": false, <---------------- set to false
"infra_status": "active",
"sub_domain_associations": []
},
"records": [
{
"_id": "61e95da89970ea000958b64e", <---------------- remove this line when copying
"entry": "register",
"type": "CNAME",
"ttl": null,
"name": "",
"product": "mfb",
"value": [
""
]
},
.... and any additional CNAME objects
]
}
6. TravisCI > terraform_template
- Run the latest release to deploy.
- https://app.travis-ci.com/github/milkboxltd/terraform_templates/branches
** API Documentation: https://mc.milkbox.com/docs/api (MFB Production API Docs)
** Documentation: https://milkbox.atlassian.net/wiki/spaces/MBKB/pages/1933737985/MFB+-+Create+Funnel+infrastructure
[06/04 09:48] Mahees Ishaq
First Name = Clare
Last Name = Barbara
Organization name = MilkPay
Phone # 35699018987
Palazzo Stagno
Sqaq stagno
Hal Qormi
QRM 1552
Malta
operations@milk-pay.com
invoices@milk-pay.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment