Skip to content

Commit

Permalink
Merge pull request #1542 from CMS-Enterprise/MINT-3229/milestone_cate…
Browse files Browse the repository at this point in the history
…gory_resolvers

[MINT-3229]milestone category resolvers and milestone by ID
  • Loading branch information
StevenWadeOddball authored Dec 3, 2024
2 parents 42ece16 + 06fcd85 commit a2d8b26
Show file tree
Hide file tree
Showing 17 changed files with 664 additions and 196 deletions.
39 changes: 36 additions & 3 deletions MINT.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -3217,7 +3217,7 @@
"body": {
"mode": "graphql",
"graphql": {
"query": "mutation NewMTOMilestone {\n createMTOMilestoneCustom(modelPlanID: \"{{modelPlanID}}\",\n name: \"Uncategorized milestone 2\"\n # mtoCategoryID: \"\"\n) {\n id\n name\n addedFromMilestoneLibrary\n facilitatedBy\n needBy\n status\n riskIndicator\n # isDraftMilestone\n mtoCategoryID\n key\n\n # commonMilestone\n # solutions\n # category\n # subCategory\n }\n}",
"query": "mutation NewMTOMilestone {\n createMTOMilestoneCustom(modelPlanID: \"{{modelPlanID}}\",\n name: \"Uncategorized milestone 2\"\n # mtoCategoryID: \"\"\n) {\n id\n name\n addedFromMilestoneLibrary\n facilitatedBy\n needBy\n status\n riskIndicator\n # isDraftMilestone\n mtoCategoryID\n categories {\n category{\n name\n position\n }\n subCategory{\n name\n position\n }\n } \n key\n\n # commonMilestone\n # solutions\n }\n}",
"variables": ""
}
},
Expand Down Expand Up @@ -3255,7 +3255,40 @@
"body": {
"mode": "graphql",
"graphql": {
"query": "mutation NewMTOMilestone {\n createMTOMilestoneCommon(modelPlanID: \"{{modelPlanID}}\",\n commonMilestoneKey: MANAGE_CD\n) {\n id\n name\n key\n addedFromMilestoneLibrary\n facilitatedBy\n needBy\n status\n riskIndicator\n # isDraftMilestone\n mtoCategoryID\n\n # commonMilestone\n # solutions\n # category\n # subCategory\n }\n}",
"query": "mutation NewMTOMilestone {\n createMTOMilestoneCommon(modelPlanID: \"{{modelPlanID}}\",\n commonMilestoneKey: MANAGE_CD\n) {\n id\n name\n key\n addedFromMilestoneLibrary\n facilitatedBy\n needBy\n status\n riskIndicator\n # isDraftMilestone\n mtoCategoryID\n categories {\n category{\n name\n position\n }\n subCategory{\n name\n position\n }\n } \n\n # commonMilestone\n # solutions\n }\n}",
"variables": ""
}
},
"url": {
"raw": "{{url}}",
"host": [
"{{url}}"
]
}
},
"response": []
},
{
"name": "GetMTOMilestone",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "graphql",
"graphql": {
"query": "query GetMTOMilestone {\n mtoMilestone(id: \"{{mtoMilestoneID}}\") {\n id\n name\n key\n addedFromMilestoneLibrary\n facilitatedBy\n needBy\n status\n riskIndicator\n # isDraftMilestone\n mtoCategoryID\n categories {\n category{\n name\n position\n }\n subCategory{\n name\n position\n }\n } \n\n # commonMilestone\n # solutions\n # category\n # subCategory\n }\n}",
"variables": ""
}
},
Expand Down Expand Up @@ -3288,7 +3321,7 @@
"body": {
"mode": "graphql",
"graphql": {
"query": "mutation udpateMTOMilestone {\nupdateMTOMilestone(id: \"{{mtoMilestoneID}}\",\nchanges: {\n mtoCategoryID: \"{{mtoCategoryID}}\"\n facilitatedBy: [IT_LEAD,OTHER],\n riskIndicator: AT_RISK,\n status: IN_PROGRESS\n needBy: \"2024-10-31T17:20:21.959953Z\"\n}\n# commonMilestoneID: \"{{mtoCommonMilestoneID}}\"\n# ,mtoCategoryID: \"{{mtoCategoryID}}\"\n) {\n id\n name\n facilitatedBy\n needBy\n status\n riskIndicator\n # isDraftMilestone\n mtoCategoryID\n modifiedBy\n modifiedDts\n # addedFromMilestoneLibrary\n # commonMilestone\n # solutions\n # category\n # subCategory\n }\n}",
"query": "mutation udpateMTOMilestone {\nupdateMTOMilestone(id: \"{{mtoMilestoneID}}\",\nchanges: {\n mtoCategoryID: \"{{mtoCategoryID}}\"\n facilitatedBy: [IT_LEAD,OTHER],\n riskIndicator: AT_RISK,\n status: IN_PROGRESS\n needBy: \"2024-10-31T17:20:21.959953Z\"\n}\n# commonMilestoneID: \"{{mtoCommonMilestoneID}}\"\n# ,mtoCategoryID: \"{{mtoCategoryID}}\"\n) {\n id\n name\n facilitatedBy\n needBy\n status\n riskIndicator\n # isDraftMilestone\n mtoCategoryID\n categories {\n category{\n name\n }\n subCategory{\n name\n }\n }\n modifiedBy\n modifiedDts\n # addedFromMilestoneLibrary\n # commonMilestone\n # solutions\n }\n}",
"variables": ""
}
},
Expand Down
Loading

0 comments on commit a2d8b26

Please sign in to comment.