[jira] [Commented] (FLINK-7827) creating and starting a NetCat in test cases programmatically

2017-10-14 Thread bluejoe (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-7827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16204991#comment-16204991
 ] 

bluejoe commented on FLINK-7827:


yes,right

> creating and starting a NetCat in test cases programmatically
> -
>
> Key: FLINK-7827
> URL: https://issues.apache.org/jira/browse/FLINK-7827
> Project: Flink
>  Issue Type: Improvement
>  Components: DataStream API
>Reporter: bluejoe
>  Labels: httpstreaming, netcat, streaming
>
> hi, all
> I have written a MockNetCat class, which help developers start a netcat 
> programmatically, instead of manually launching
> {{nc -lk }}
> command for test
> developers can start a mock NetCat server in test cases and send data to the 
> server (simulating user input text in the nc shell)
> is this feature ok to create a PR to flink?
> use of MockNetCat is very simple, like:
> {{var nc: MockNetCat = MockNetCat.start();}}
> this starts a NetCat server, and data can be generated using following code:
> {{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (FLINK-7827) creating and starting a NetCat in test cases programmatically

2017-10-12 Thread bluejoe (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLINK-7827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bluejoe updated FLINK-7827:
---
Description: 
hi, all
I have written a MockNetCat class, which help developers start a netcat 
programmatically, instead of manually launching
{{nc -lk }}
command for test
developers can start a mock NetCat server in test cases and send data to the 
server (simulating user input text in the nc shell)

is this feature ok to create a PR to flink?

use of MockNetCat is very simple, like:
{{var nc: MockNetCat = MockNetCat.start();}}
this starts a NetCat server, and data can be generated using following code:
{{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}

  was:
hi, all
I have written a MockNetCat class, which help developers start a netcat 
programmatically, instead of manually launching
{{nc -lk }}
command for test
developers can start a mock NetCat server in test cases and send data to the 
server (simulating user input text in the nc shell)

use of MockNetCat is very simple, like:
{{var nc: MockNetCat = MockNetCat.start();}}
this starts a NetCat server, and data can be generated using following code:
{{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}


> creating and starting a NetCat in test cases programmatically
> -
>
> Key: FLINK-7827
> URL: https://issues.apache.org/jira/browse/FLINK-7827
> Project: Flink
>  Issue Type: Improvement
>  Components: DataStream API
>Reporter: bluejoe
>  Labels: httpstreaming, netcat, streaming
>
> hi, all
> I have written a MockNetCat class, which help developers start a netcat 
> programmatically, instead of manually launching
> {{nc -lk }}
> command for test
> developers can start a mock NetCat server in test cases and send data to the 
> server (simulating user input text in the nc shell)
> is this feature ok to create a PR to flink?
> use of MockNetCat is very simple, like:
> {{var nc: MockNetCat = MockNetCat.start();}}
> this starts a NetCat server, and data can be generated using following code:
> {{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (FLINK-7827) creating and starting a NetCat in test cases programmatically

2017-10-12 Thread bluejoe (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLINK-7827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bluejoe updated FLINK-7827:
---
Description: 
hi, all
I have written a MockNetCat class, which help developers start a netcat 
programmatically, instead of manually launching
{{nc -lk }}
command for test
developers can start a mock NetCat server in test cases and send data to the 
server (simulating user input text in the nc shell)

use of MockNetCat is very simple, like:
{{var nc: MockNetCat = MockNetCat.start();}}
this starts a NetCat server, and data can be generated using following code:
{{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}

  was:
hi, all
I have written a MockNetCat class, which help developers start a netcat 
programmatically, instead of manually launching
{{nc -lk }}
command for test
also I completed a MockNetCatTest class, a JUnit 4 test case which test 
MockNetCat
use of MockNetCat is very simple, like:
{{var nc: MockNetCat = MockNetCat.start();}}
this starts a NetCat server, and data can be generated using following code:
{{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}


> creating and starting a NetCat in test cases programmatically
> -
>
> Key: FLINK-7827
> URL: https://issues.apache.org/jira/browse/FLINK-7827
> Project: Flink
>  Issue Type: Improvement
>  Components: DataStream API
>Reporter: bluejoe
>  Labels: httpstreaming, netcat, streaming
>
> hi, all
> I have written a MockNetCat class, which help developers start a netcat 
> programmatically, instead of manually launching
> {{nc -lk }}
> command for test
> developers can start a mock NetCat server in test cases and send data to the 
> server (simulating user input text in the nc shell)
> use of MockNetCat is very simple, like:
> {{var nc: MockNetCat = MockNetCat.start();}}
> this starts a NetCat server, and data can be generated using following code:
> {{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (FLINK-7827) creating and starting a NetCat in test cases programmatically

2017-10-12 Thread bluejoe (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLINK-7827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bluejoe updated FLINK-7827:
---
Labels: httpstreaming netcat streaming  (was: )

> creating and starting a NetCat in test cases programmatically
> -
>
> Key: FLINK-7827
> URL: https://issues.apache.org/jira/browse/FLINK-7827
> Project: Flink
>  Issue Type: Improvement
>  Components: DataStream API
>Reporter: bluejoe
>  Labels: httpstreaming, netcat, streaming
>
> hi, all
> I have written a MockNetCat class, which help developers start a netcat 
> programmatically, instead of manually launching
> {{nc -lk }}
> command for test
> also I completed a MockNetCatTest class, a JUnit 4 test case which test 
> MockNetCat
> use of MockNetCat is very simple, like:
> {{var nc: MockNetCat = MockNetCat.start();}}
> this starts a NetCat server, and data can be generated using following code:
> {{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (FLINK-7827) creating and starting a NetCat in test cases programmatically

2017-10-12 Thread bluejoe (JIRA)
bluejoe created FLINK-7827:
--

 Summary: creating and starting a NetCat in test cases 
programmatically
 Key: FLINK-7827
 URL: https://issues.apache.org/jira/browse/FLINK-7827
 Project: Flink
  Issue Type: Improvement
  Components: DataStream API
Reporter: bluejoe


hi, all
I have written a MockNetCat class, which help developers start a netcat 
programmatically, instead of manually launching
{{nc -lk }}
command for test
also I completed a MockNetCatTest class, a JUnit 4 test case which test 
MockNetCat
use of MockNetCat is very simple, like:
{{var nc: MockNetCat = MockNetCat.start();}}
this starts a NetCat server, and data can be generated using following code:
{{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)