|
553 | 553 | }, |
554 | 554 | { |
555 | 555 | "name": "src-mcp-from-api", |
556 | | - "files": ["apiInformation.json", "mcpServerInformation.json"], |
| 556 | + "files": ["apiInformation.json"], |
557 | 557 | "spotChecks": { |
558 | 558 | "apiInformation.json": { |
559 | 559 | "properties.displayName": "KS MCP from Existing API", |
560 | 560 | "properties.path": "ks/mcp-from-api", |
561 | 561 | "properties.type": "mcp", |
562 | | - "properties.subscriptionRequired": false |
563 | | - }, |
564 | | - "mcpServerInformation.json": { |
| 562 | + "properties.subscriptionRequired": false, |
565 | 563 | "properties.mcpTools": "exists" |
566 | 564 | } |
567 | 565 | }, |
568 | 566 | "notes": "MCP API exposing operations of an existing REST API as MCP tools via mcpTools (each tool's operationId references the backing REST API; this MCP API has no operations of its own)" |
569 | 567 | }, |
570 | 568 | { |
571 | 569 | "name": "src-mcp-existing-server", |
572 | | - "files": ["apiInformation.json", "mcpServerInformation.json", "policy.xml"], |
| 570 | + "files": ["apiInformation.json", "policy.xml"], |
573 | 571 | "spotChecks": { |
574 | 572 | "apiInformation.json": { |
575 | 573 | "properties.displayName": "KS MCP Existing Server Demo", |
576 | 574 | "properties.path": "ks/mcp-existing", |
577 | 575 | "properties.type": "mcp", |
578 | 576 | "properties.subscriptionRequired": false, |
579 | | - "properties.backendId": "src-backend-mcp-learn" |
580 | | - }, |
581 | | - "mcpServerInformation.json": { |
582 | | - "properties.mcpProperties.endpoints.mcp.uriTemplate": "/mcp", |
583 | | - "properties.backendId": "src-backend-mcp-learn" |
| 577 | + "properties.backendId": "src-backend-mcp-learn", |
| 578 | + "properties.mcpProperties.endpoints.mcp.uriTemplate": "/mcp" |
584 | 579 | } |
585 | 580 | }, |
586 | 581 | "notes": "Working existing-server MCP demo. APIM exposes a public Microsoft Learn MCP server through a policy-based MCP proxy so the API is extractable and demoable end to end." |
|
671 | 666 | } |
672 | 667 | ] |
673 | 668 | }, |
| 669 | + "groups": { |
| 670 | + "minCount": 1, |
| 671 | + "expected": [ |
| 672 | + { |
| 673 | + "name": "src-ws-group-internal", |
| 674 | + "files": ["groupInformation.json"], |
| 675 | + "spotChecks": { |
| 676 | + "groupInformation.json": { |
| 677 | + "properties.displayName": "Kitchen Sink Workspace Group", |
| 678 | + "properties.type": "custom" |
| 679 | + } |
| 680 | + } |
| 681 | + } |
| 682 | + ] |
| 683 | + }, |
674 | 684 | "backends": { |
675 | 685 | "minCount": 1, |
676 | 686 | "expected": [ |
|
691 | 701 | "expected": [ |
692 | 702 | { |
693 | 703 | "name": "src-ws-product", |
694 | | - "files": ["productInformation.json", "apis.json", "tags.json"], |
| 704 | + "files": ["productInformation.json", "apis.json", "tags.json", "groups.json"], |
695 | 705 | "spotChecks": { |
696 | 706 | "productInformation.json": { |
697 | 707 | "properties.displayName": "Workspace Product", |
698 | 708 | "properties.subscriptionRequired": false, |
699 | 709 | "properties.state": "published" |
| 710 | + }, |
| 711 | + "groups.json": { |
| 712 | + "minLength": 2, |
| 713 | + "contains": ["administrators", "src-ws-group-internal"], |
| 714 | + "containsEntry": [ |
| 715 | + { "name": "administrators", "scope": "service" }, |
| 716 | + { "name": "src-ws-group-internal", "scope": "workspace" } |
| 717 | + ] |
700 | 718 | } |
701 | 719 | } |
702 | 720 | } |
|
0 commit comments