docomo-nlu 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +32 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +198 -0
- data/README.md +38 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/docomo-nlu.gemspec +37 -0
- data/lib/docomo-nlu.rb +11 -0
- data/lib/docomo-nlu/config.rb +25 -0
- data/lib/docomo-nlu/management.rb +28 -0
- data/lib/docomo-nlu/management/account.rb +32 -0
- data/lib/docomo-nlu/management/aiml_base.rb +126 -0
- data/lib/docomo-nlu/management/base.rb +87 -0
- data/lib/docomo-nlu/management/bot.rb +18 -0
- data/lib/docomo-nlu/management/config.rb +25 -0
- data/lib/docomo-nlu/management/default_predicate.rb +15 -0
- data/lib/docomo-nlu/management/map.rb +10 -0
- data/lib/docomo-nlu/management/multipart_base.rb +82 -0
- data/lib/docomo-nlu/management/ng_word.rb +10 -0
- data/lib/docomo-nlu/management/ok_word.rb +10 -0
- data/lib/docomo-nlu/management/organization.rb +23 -0
- data/lib/docomo-nlu/management/organization_member.rb +15 -0
- data/lib/docomo-nlu/management/predicate_name.rb +15 -0
- data/lib/docomo-nlu/management/project.rb +16 -0
- data/lib/docomo-nlu/management/project_member.rb +15 -0
- data/lib/docomo-nlu/management/property.rb +10 -0
- data/lib/docomo-nlu/management/provider.rb +17 -0
- data/lib/docomo-nlu/management/scenario.rb +18 -0
- data/lib/docomo-nlu/management/scenario_project.rb +10 -0
- data/lib/docomo-nlu/management/scenario_util.rb +30 -0
- data/lib/docomo-nlu/management/set.rb +10 -0
- data/lib/docomo-nlu/management/task_project.rb +20 -0
- data/lib/docomo-nlu/spontaneous.rb +8 -0
- data/lib/docomo-nlu/spontaneous/dialogue.rb +58 -0
- data/lib/docomo-nlu/spontaneous/registration.rb +58 -0
- data/lib/docomo-nlu/version.rb +5 -0
- data/lib/generators/docomo_nlu/install/install_generator.rb +11 -0
- data/lib/generators/templates/template.rb +7 -0
- data/vcr/vcr_cassettes/account/count.yml +42 -0
- data/vcr/vcr_cassettes/account/create.yml +44 -0
- data/vcr/vcr_cassettes/account/delete.yml +38 -0
- data/vcr/vcr_cassettes/account/index.yml +43 -0
- data/vcr/vcr_cassettes/account/show.yml +43 -0
- data/vcr/vcr_cassettes/account/update.yml +41 -0
- data/vcr/vcr_cassettes/baes/login.yml +44 -0
- data/vcr/vcr_cassettes/base/login.yml +44 -0
- data/vcr/vcr_cassettes/base/login_400.yml +42 -0
- data/vcr/vcr_cassettes/base/logout.yml +40 -0
- data/vcr/vcr_cassettes/base/logout_400.yml +40 -0
- data/vcr/vcr_cassettes/bot/create.yml +43 -0
- data/vcr/vcr_cassettes/bot/create_conflict.yml +45 -0
- data/vcr/vcr_cassettes/bot/delete.yml +38 -0
- data/vcr/vcr_cassettes/bot/deploy.yml +164 -0
- data/vcr/vcr_cassettes/bot/download_aiml.yml +51 -0
- data/vcr/vcr_cassettes/bot/download_archive.yml +43 -0
- data/vcr/vcr_cassettes/bot/download_dat.yml +43 -0
- data/vcr/vcr_cassettes/bot/index.yml +43 -0
- data/vcr/vcr_cassettes/bot/index_not_found.yml +42 -0
- data/vcr/vcr_cassettes/bot/show.yml +43 -0
- data/vcr/vcr_cassettes/bot/upload_aiml.yml +51 -0
- data/vcr/vcr_cassettes/bot/upload_archive.yml +46 -0
- data/vcr/vcr_cassettes/bot/upload_dat.yml +46 -0
- data/vcr/vcr_cassettes/config/delete.yml +38 -0
- data/vcr/vcr_cassettes/config/index.yml +120 -0
- data/vcr/vcr_cassettes/config/update.yml +42 -0
- data/vcr/vcr_cassettes/default_predicate/create.yml +42 -0
- data/vcr/vcr_cassettes/default_predicate/delete.yml +38 -0
- data/vcr/vcr_cassettes/default_predicate/index.yml +120 -0
- data/vcr/vcr_cassettes/default_predicate/index_not_found.yml +120 -0
- data/vcr/vcr_cassettes/default_predicate/update.yml +40 -0
- data/vcr/vcr_cassettes/map/create.yml +45 -0
- data/vcr/vcr_cassettes/map/create_400.yml +48 -0
- data/vcr/vcr_cassettes/map/delete.yml +38 -0
- data/vcr/vcr_cassettes/map/index_all.yml +43 -0
- data/vcr/vcr_cassettes/map/index_find.yml +43 -0
- data/vcr/vcr_cassettes/map/index_where.yml +43 -0
- data/vcr/vcr_cassettes/map/save.yml +45 -0
- data/vcr/vcr_cassettes/map/save_400.yml +48 -0
- data/vcr/vcr_cassettes/map/show_find.yml +43 -0
- data/vcr/vcr_cassettes/map/show_where.yml +43 -0
- data/vcr/vcr_cassettes/organization/create.yml +44 -0
- data/vcr/vcr_cassettes/organization/delete.yml +38 -0
- data/vcr/vcr_cassettes/organization/index.yml +42 -0
- data/vcr/vcr_cassettes/organization/show.yml +42 -0
- data/vcr/vcr_cassettes/organization/update.yml +40 -0
- data/vcr/vcr_cassettes/organization_member/create.yml +42 -0
- data/vcr/vcr_cassettes/organization_member/delete.yml +38 -0
- data/vcr/vcr_cassettes/organization_member/index.yml +42 -0
- data/vcr/vcr_cassettes/organization_member/index_404.yml +42 -0
- data/vcr/vcr_cassettes/organization_member/index_not_found.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/create.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/delete.yml +38 -0
- data/vcr/vcr_cassettes/predicate_name/index.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/index_all.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/index_find.yml +42 -0
- data/vcr/vcr_cassettes/predicate_name/index_where.yml +42 -0
- data/vcr/vcr_cassettes/project/create.yml +44 -0
- data/vcr/vcr_cassettes/project/create_conflict.yml +44 -0
- data/vcr/vcr_cassettes/project/delete.yml +38 -0
- data/vcr/vcr_cassettes/project/index.yml +227 -0
- data/vcr/vcr_cassettes/project/show.yml +43 -0
- data/vcr/vcr_cassettes/project_member/create.yml +42 -0
- data/vcr/vcr_cassettes/project_member/delete.yml +38 -0
- data/vcr/vcr_cassettes/project_member/index.yml +42 -0
- data/vcr/vcr_cassettes/project_member/index_403.yml +40 -0
- data/vcr/vcr_cassettes/project_member/index_not_found.yml +42 -0
- data/vcr/vcr_cassettes/provider/create.yml +44 -0
- data/vcr/vcr_cassettes/provider/delete.yml +38 -0
- data/vcr/vcr_cassettes/provider/index.yml +42 -0
- data/vcr/vcr_cassettes/provider/show.yml +42 -0
- data/vcr/vcr_cassettes/scenario/create.yml +42 -0
- data/vcr/vcr_cassettes/scenario/create_conflict.yml +44 -0
- data/vcr/vcr_cassettes/scenario/delete.yml +38 -0
- data/vcr/vcr_cassettes/scenario/deploy.yml +164 -0
- data/vcr/vcr_cassettes/scenario/download_aiml.yml +51 -0
- data/vcr/vcr_cassettes/scenario/index.yml +42 -0
- data/vcr/vcr_cassettes/scenario/index_not_found.yml +42 -0
- data/vcr/vcr_cassettes/scenario/show.yml +42 -0
- data/vcr/vcr_cassettes/scenario/update.yml +40 -0
- data/vcr/vcr_cassettes/scenario/upload.yml +51 -0
- data/vcr/vcr_cassettes/scenario/upload_aiml.yml +51 -0
- data/vcr/vcr_cassettes/scenario/upload_archive.yml +46 -0
- data/vcr/vcr_cassettes/scenario/upload_dat.yml +46 -0
- data/vcr/vcr_cassettes/set/create.yml +45 -0
- data/vcr/vcr_cassettes/set/create_400.yml +48 -0
- data/vcr/vcr_cassettes/set/delete.yml +38 -0
- data/vcr/vcr_cassettes/set/index_all.yml +42 -0
- data/vcr/vcr_cassettes/set/index_find.yml +42 -0
- data/vcr/vcr_cassettes/set/index_where.yml +42 -0
- data/vcr/vcr_cassettes/set/save.yml +45 -0
- data/vcr/vcr_cassettes/set/save_400.yml +48 -0
- data/vcr/vcr_cassettes/set/show_find.yml +43 -0
- data/vcr/vcr_cassettes/set/show_where.yml +43 -0
- metadata +336 -0
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/archive
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "-------------RubyMultipartPost-b2b875476ea2d12a20dd162e897c50a5\r\nContent-Disposition:
|
9
|
+
form-data; name=\"uploadFile\"; filename=\"test.zip\"\r\nContent-Length: 26\r\nContent-Type:
|
10
|
+
text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\n#<File:0x00007fdf7a9681e0>\r\n-------------RubyMultipartPost-b2b875476ea2d12a20dd162e897c50a5--\r\n\r\n"
|
11
|
+
headers:
|
12
|
+
User-Agent:
|
13
|
+
- Faraday v0.15.2
|
14
|
+
Authorization:
|
15
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
16
|
+
Content-Type:
|
17
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-b2b875476ea2d12a20dd162e897c50a5
|
18
|
+
Content-Length:
|
19
|
+
- '317'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- "*/*"
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 201
|
27
|
+
message: Created
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Tue, 04 Sep 2018 23:06:19 GMT
|
31
|
+
Content-Length:
|
32
|
+
- '0'
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Server:
|
36
|
+
- Apache
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Frame-Options:
|
40
|
+
- SAMEORIGIN
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: ''
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 04 Sep 2018 23:06:19 GMT
|
46
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/dat
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "-------------RubyMultipartPost-2ef4fe02be70a6b515d11188cbc2dc2f\r\nContent-Disposition:
|
9
|
+
form-data; name=\"uploadFile\"; filename=\"test.dat\"\r\nContent-Length: 26\r\nContent-Type:
|
10
|
+
text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\n#<File:0x00007fdf7aa53960>\r\n-------------RubyMultipartPost-2ef4fe02be70a6b515d11188cbc2dc2f--\r\n\r\n"
|
11
|
+
headers:
|
12
|
+
User-Agent:
|
13
|
+
- Faraday v0.15.2
|
14
|
+
Authorization:
|
15
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
16
|
+
Content-Type:
|
17
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-2ef4fe02be70a6b515d11188cbc2dc2f
|
18
|
+
Content-Length:
|
19
|
+
- '317'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- "*/*"
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 201
|
27
|
+
message: Created
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Tue, 04 Sep 2018 23:05:43 GMT
|
31
|
+
Content-Length:
|
32
|
+
- '0'
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Server:
|
36
|
+
- Apache
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Frame-Options:
|
40
|
+
- SAMEORIGIN
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: ''
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 04 Sep 2018 23:05:43 GMT
|
46
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/sets
|
6
|
+
body:
|
7
|
+
encoding: ASCII-8BIT
|
8
|
+
string: !binary |-
|
9
|
+
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTM3MjFhZGZjN2UwNzU4NzQ5OTJkYmQwNmMwMTc2NTkxDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVwbG9hZEZpbGUiOyBmaWxlbmFtZT0idGVzdC5zZXQiDQpDb250ZW50LUxlbmd0aDogOTENCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbg0KQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5DQoNCuadseS6rArjg4jjgqbjgq3jg6fjg7wK6YO95YaFCuWkp+WdggrjgarjgpPjgbAK56We5aWI5bedCuaoqua1nArmqKrpoIjos4AK5rmY5Y2XCuWwj+eUsOWOnwoNCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlwYXJ0UG9zdC0zNzIxYWRmYzdlMDc1ODc0OTkyZGJkMDZjMDE3NjU5MS0tDQoNCg==
|
10
|
+
headers:
|
11
|
+
User-Agent:
|
12
|
+
- Faraday v0.15.2
|
13
|
+
Authorization:
|
14
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
15
|
+
Content-Type:
|
16
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-3721adfc7e075874992dbd06c0176591
|
17
|
+
Content-Length:
|
18
|
+
- '382'
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- "*/*"
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 201
|
26
|
+
message: Created
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Fri, 31 Aug 2018 02:59:23 GMT
|
30
|
+
Content-Length:
|
31
|
+
- '0'
|
32
|
+
Connection:
|
33
|
+
- keep-alive
|
34
|
+
Server:
|
35
|
+
- Apache
|
36
|
+
X-Content-Type-Options:
|
37
|
+
- nosniff
|
38
|
+
X-Frame-Options:
|
39
|
+
- SAMEORIGIN
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: ''
|
43
|
+
http_version:
|
44
|
+
recorded_at: Fri, 31 Aug 2018 02:59:23 GMT
|
45
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/sets
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "-------------RubyMultipartPost-e72a64744471fb0820825a6145c3ed72\r\nContent-Disposition:
|
9
|
+
form-data; name=\"uploadFile\"; filename=\"error.set\"\r\nContent-Length:
|
10
|
+
6\r\nContent-Type: text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\nok\nok\n\r\n-------------RubyMultipartPost-e72a64744471fb0820825a6145c3ed72--\r\n\r\n"
|
11
|
+
headers:
|
12
|
+
User-Agent:
|
13
|
+
- Faraday v0.15.2
|
14
|
+
Authorization:
|
15
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
16
|
+
Content-Type:
|
17
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-e72a64744471fb0820825a6145c3ed72
|
18
|
+
Content-Length:
|
19
|
+
- '297'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- "*/*"
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 409
|
27
|
+
message: Conflict
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Fri, 31 Aug 2018 03:07:44 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json;charset=utf-8
|
33
|
+
Content-Length:
|
34
|
+
- '36'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
Server:
|
38
|
+
- Apache
|
39
|
+
X-Content-Type-Options:
|
40
|
+
- nosniff
|
41
|
+
X-Frame-Options:
|
42
|
+
- SAMEORIGIN
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"error":"duplicated","keys":["ok"]}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Fri, 31 Aug 2018 03:07:44 GMT
|
48
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/sets/test
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 204
|
21
|
+
message: No Content
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Fri, 31 Aug 2018 02:59:23 GMT
|
25
|
+
Connection:
|
26
|
+
- keep-alive
|
27
|
+
Server:
|
28
|
+
- Apache
|
29
|
+
X-Content-Type-Options:
|
30
|
+
- nosniff
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: ''
|
36
|
+
http_version:
|
37
|
+
recorded_at: Fri, 31 Aug 2018 02:59:23 GMT
|
38
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/sets/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.15.2
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Fri, 31 Aug 2018 02:59:23 GMT
|
25
|
+
Content-Length:
|
26
|
+
- '124'
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Server:
|
30
|
+
- Apache
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Content-Disposition:
|
36
|
+
- attachment;filename*=UTF-8''test_bot_ja-JP_set.zip
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: "PK\x03\x04\x14\0\b\0\b\0k_\x1FM\0\0\0\0\0\0\0\0\0\0\0\0\x04\0\0\0set\\\x03\0PK\a\b\0\0\0\0\x02\0\0\0\0\0\0\0PK\x01\x02\x14\0\x14\0\b\0\b\0k_\x1FM\0\0\0\0\x02\0\0\0\0\0\0\0\x04\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0set\\PK\x05\x06\0\0\0\0\x01\0\x01\02\0\0\04\0\0\0\0\0"
|
40
|
+
http_version:
|
41
|
+
recorded_at: Fri, 31 Aug 2018 02:59:23 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/sets/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.15.2
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Fri, 31 Aug 2018 02:59:23 GMT
|
25
|
+
Content-Length:
|
26
|
+
- '124'
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Server:
|
30
|
+
- Apache
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Content-Disposition:
|
36
|
+
- attachment;filename*=UTF-8''test_bot_ja-JP_set.zip
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: "PK\x03\x04\x14\0\b\0\b\0k_\x1FM\0\0\0\0\0\0\0\0\0\0\0\0\x04\0\0\0set\\\x03\0PK\a\b\0\0\0\0\x02\0\0\0\0\0\0\0PK\x01\x02\x14\0\x14\0\b\0\b\0k_\x1FM\0\0\0\0\x02\0\0\0\0\0\0\0\x04\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0set\\PK\x05\x06\0\0\0\0\x01\0\x01\02\0\0\04\0\0\0\0\0"
|
40
|
+
http_version:
|
41
|
+
recorded_at: Fri, 31 Aug 2018 02:59:23 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/sets/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.15.2
|
12
|
+
Authorization:
|
13
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Fri, 31 Aug 2018 02:59:23 GMT
|
25
|
+
Content-Length:
|
26
|
+
- '124'
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Server:
|
30
|
+
- Apache
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Content-Disposition:
|
36
|
+
- attachment;filename*=UTF-8''test_bot_ja-JP_set.zip
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: "PK\x03\x04\x14\0\b\0\b\0k_\x1FM\0\0\0\0\0\0\0\0\0\0\0\0\x04\0\0\0set\\\x03\0PK\a\b\0\0\0\0\x02\0\0\0\0\0\0\0PK\x01\x02\x14\0\x14\0\b\0\b\0k_\x1FM\0\0\0\0\x02\0\0\0\0\0\0\0\x04\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0set\\PK\x05\x06\0\0\0\0\x01\0\x01\02\0\0\04\0\0\0\0\0"
|
40
|
+
http_version:
|
41
|
+
recorded_at: Fri, 31 Aug 2018 02:59:23 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/sets
|
6
|
+
body:
|
7
|
+
encoding: ASCII-8BIT
|
8
|
+
string: !binary |-
|
9
|
+
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LWVhMmMzY2RkM2M4Y2EzYjFiYzQzZTE0N2Y2MDk5NzkyDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVwbG9hZEZpbGUiOyBmaWxlbmFtZT0idGVzdC5zZXQiDQpDb250ZW50LUxlbmd0aDogOTENCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbg0KQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5DQoNCuadseS6rArjg4jjgqbjgq3jg6fjg7wK6YO95YaFCuWkp+WdggrjgarjgpPjgbAK56We5aWI5bedCuaoqua1nArmqKrpoIjos4AK5rmY5Y2XCuWwj+eUsOWOnwoNCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlwYXJ0UG9zdC1lYTJjM2NkZDNjOGNhM2IxYmM0M2UxNDdmNjA5OTc5Mi0tDQoNCg==
|
10
|
+
headers:
|
11
|
+
User-Agent:
|
12
|
+
- Faraday v0.15.2
|
13
|
+
Authorization:
|
14
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
15
|
+
Content-Type:
|
16
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-ea2c3cdd3c8ca3b1bc43e147f6099792
|
17
|
+
Content-Length:
|
18
|
+
- '382'
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- "*/*"
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 201
|
26
|
+
message: Created
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Fri, 31 Aug 2018 02:59:23 GMT
|
30
|
+
Content-Length:
|
31
|
+
- '0'
|
32
|
+
Connection:
|
33
|
+
- keep-alive
|
34
|
+
Server:
|
35
|
+
- Apache
|
36
|
+
X-Content-Type-Options:
|
37
|
+
- nosniff
|
38
|
+
X-Frame-Options:
|
39
|
+
- SAMEORIGIN
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: ''
|
43
|
+
http_version:
|
44
|
+
recorded_at: Fri, 31 Aug 2018 02:59:23 GMT
|
45
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/sets
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "-------------RubyMultipartPost-d372b37739fbedb06bcc692e8125ccae\r\nContent-Disposition:
|
9
|
+
form-data; name=\"uploadFile\"; filename=\"error.set\"\r\nContent-Length:
|
10
|
+
6\r\nContent-Type: text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\nok\nok\n\r\n-------------RubyMultipartPost-d372b37739fbedb06bcc692e8125ccae--\r\n\r\n"
|
11
|
+
headers:
|
12
|
+
User-Agent:
|
13
|
+
- Faraday v0.15.2
|
14
|
+
Authorization:
|
15
|
+
- NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
|
16
|
+
Content-Type:
|
17
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-d372b37739fbedb06bcc692e8125ccae
|
18
|
+
Content-Length:
|
19
|
+
- '297'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- "*/*"
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 409
|
27
|
+
message: Conflict
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Fri, 31 Aug 2018 03:07:44 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json;charset=utf-8
|
33
|
+
Content-Length:
|
34
|
+
- '36'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
Server:
|
38
|
+
- Apache
|
39
|
+
X-Content-Type-Options:
|
40
|
+
- nosniff
|
41
|
+
X-Frame-Options:
|
42
|
+
- SAMEORIGIN
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"error":"duplicated","keys":["ok"]}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Fri, 31 Aug 2018 03:07:44 GMT
|
48
|
+
recorded_with: VCR 4.0.0
|