Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add making/rsc #7392

Merged
merged 1 commit into from Oct 26, 2022
Merged

Conversation

CrystalMethod
Copy link
Contributor

making/rsc: RSocket Client CLI (RSC) that aims to be a curl for RSocket

$ aqua g -i making/rsc

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

$ rsc
Uri is required.

usage: rsc [options] uri

Non-option arguments:
[String: uri]

Option                                Description
------                                -----------
--ab, --authBearer [String]           Enable Authentication Metadata
                                        Extension (Bearer).
--authBasic [String]                  [DEPRECATED] Enable Authentication
                                        Metadata Extension (Basic). This
                                        Metadata exists only for the
                                        backward compatibility with Spring
                                        Security 5.2
--channel                             Shortcut of --im REQUEST_CHANNEL
--completion [ShellType]              Output shell completion code for the
                                        specified shell (bash, zsh, fish,
                                        powershell)
-d, --data [String]                   Data. Use '-' to read data from
                                        standard input. (default: )
--dataMimeType, --dmt [String]        MimeType for data (default:
                                        application/json)
--debug                               Enable FrameLogger
--delayElements [Long]                Enable delayElements(delay) in milli
                                        seconds
--dumpOpts                            Dump options as a file that can be
                                        loaded by --optsFile option
--fnf                                 Shortcut of --im FIRE_AND_FORGET
-h, --help [String]                   Print help
--im, --interactionModel              InteractionModel (default:
  [InteractionModel]                    REQUEST_RESPONSE)
-l, --load [String]                   Load a file as Data. (e.g. ./foo.txt,
                                        /tmp/foo.txt, https://example.com)
--limitRate [Integer]                 Enable limitRate(rate)
--log [String]                        Enable log()
-m, --metadata [String]               Metadata (default: )
--metadataMimeType, --mmt [String]    MimeType for metadata (default:
                                        application/json)
--optsFile [String]                   Configure options from a YAML file (e.
                                        g. ./opts.yaml, /tmp/opts.yaml,
                                        https://example.com/opts.yaml)
--printB3                             Print B3 propagation info. Ignored
                                        unless --trace is set.
-q, --quiet                           Disable the output on next
-r, --route [String]                  Enable Routing Metadata Extension
--request                             Shortcut of --im REQUEST_RESPONSE
--resume [Integer]                    Enable resume. Resume session duration
                                        can be configured in seconds.
--retry [Integer]                     Enable retry. Retry every 1 second
                                        with the given max attempts.
--sd, --setupData [String]            Data for Setup payload
--setupMetadata, --sm [String]        Metadata for Setup payload
--setupMetadataMimeType, --smmt       Metadata MimeType for Setup payload
  [String]                              (default: application/json)
--showSystemProperties                Show SystemProperties for troubleshoot
--stacktrace                          Show Stacktrace when an exception
                                        happens
--stream                              Shortcut of --im REQUEST_STREAM
--take [Integer]                      Enable take(n)
--trace [TracingMetadataCodec$Flags]  Enable Tracing (Zipkin) Metadata
                                        Extension. Unless sampling state
                                        (UNDECIDED, NOT_SAMPLE, SAMPLE,
                                        DEBUG) is specified, DEBUG is used
                                        if no state is specified.
--trustCert [String]                  PEM file for a trusted certificate. (e.
                                        g. ./foo.crt, /tmp/foo.crt, https:
                                        //example.com/foo.crt)
-u, --as, --authSimple [String]       Enable Authentication Metadata
                                        Extension (Simple). The format must
                                        be 'username:password'.
-v, --version                         Print version
-w, --wiretap                         Enable wiretap
--wsHeader, --wsh [String]            Header for web socket connection
--zipkinUrl [String]                  Zipkin URL to send a span (e.g. http:
                                        //localhost:9411). Ignored unless --
                                        trace is set.

[making/rsc](https://github.com/making/rsc): RSocket Client CLI (RSC) that aims to be a curl for RSocket

```console
$ aqua g -i making/rsc
```

## How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

```console
$
```

If files such as configuration file are needed, please share them.

```
```

Reference

-
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Oct 26, 2022
@suzuki-shunsuke suzuki-shunsuke added this to the v3.82.0 milestone Oct 26, 2022
@suzuki-shunsuke
Copy link
Member

Thanks!

@suzuki-shunsuke suzuki-shunsuke merged commit ddb9f61 into aquaproj:main Oct 26, 2022
@suzuki-shunsuke
Copy link
Member

@CrystalMethod CrystalMethod deleted the feat/making/rsc branch November 23, 2022 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants