[SERVER-34592] IDL should natively support commands that take the fully-qualified ns as the command parameter Created: 20/Apr/18  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: IDL
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Mathias Stearn Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 1
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Participants:

 Description   

Example command: _configsvrCreateCollection



 Comments   
Comment by Mark Benvenuto [ 11/Oct/18 ]

Today, the namespace in commands supports ignored, typed, and concatenate_with_db. The proposal is to add a new choice that would require the command parameter to be a fully qualified namespace. This means "db.collection" instead of just the "collection" that concatenate_with_db supports. In this case, the $db field is ignored.

    SampleFullNamespaceCommand:
        description: A sample command with a fully-qualified namespace
        namespace: full_namespace
        fields:
            field1: int

Here is what would be sent to the server in such a case:

{ SampleFullNamespaceCommand : "db.collection", field1 : 123 }

Comment by Mark Benvenuto [ 09/Oct/18 ]

What do you need IDL to support in this ticket? Is typed command support sufficient?

Generated at Thu Feb 08 04:37:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.