docomo-nlu 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/Gemfile.lock +1 -1
  4. data/lib/docomo-nlu/config.rb +3 -3
  5. data/lib/docomo-nlu/version.rb +1 -1
  6. data/lib/generators/docomo_nlu/install/install_generator.rb +2 -2
  7. metadata +1 -96
  8. data/vcr/vcr_cassettes/account/count.yml +0 -42
  9. data/vcr/vcr_cassettes/account/create.yml +0 -44
  10. data/vcr/vcr_cassettes/account/delete.yml +0 -38
  11. data/vcr/vcr_cassettes/account/index.yml +0 -43
  12. data/vcr/vcr_cassettes/account/show.yml +0 -43
  13. data/vcr/vcr_cassettes/account/update.yml +0 -41
  14. data/vcr/vcr_cassettes/baes/login.yml +0 -44
  15. data/vcr/vcr_cassettes/base/login.yml +0 -44
  16. data/vcr/vcr_cassettes/base/login_400.yml +0 -42
  17. data/vcr/vcr_cassettes/base/logout.yml +0 -40
  18. data/vcr/vcr_cassettes/base/logout_400.yml +0 -40
  19. data/vcr/vcr_cassettes/bot/create.yml +0 -43
  20. data/vcr/vcr_cassettes/bot/create_conflict.yml +0 -45
  21. data/vcr/vcr_cassettes/bot/delete.yml +0 -38
  22. data/vcr/vcr_cassettes/bot/deploy.yml +0 -164
  23. data/vcr/vcr_cassettes/bot/download_aiml.yml +0 -51
  24. data/vcr/vcr_cassettes/bot/download_archive.yml +0 -43
  25. data/vcr/vcr_cassettes/bot/download_dat.yml +0 -43
  26. data/vcr/vcr_cassettes/bot/index.yml +0 -43
  27. data/vcr/vcr_cassettes/bot/index_not_found.yml +0 -42
  28. data/vcr/vcr_cassettes/bot/show.yml +0 -43
  29. data/vcr/vcr_cassettes/bot/upload_aiml.yml +0 -51
  30. data/vcr/vcr_cassettes/bot/upload_archive.yml +0 -46
  31. data/vcr/vcr_cassettes/bot/upload_dat.yml +0 -46
  32. data/vcr/vcr_cassettes/config/delete.yml +0 -38
  33. data/vcr/vcr_cassettes/config/index.yml +0 -120
  34. data/vcr/vcr_cassettes/config/update.yml +0 -42
  35. data/vcr/vcr_cassettes/default_predicate/create.yml +0 -42
  36. data/vcr/vcr_cassettes/default_predicate/delete.yml +0 -38
  37. data/vcr/vcr_cassettes/default_predicate/index.yml +0 -120
  38. data/vcr/vcr_cassettes/default_predicate/index_not_found.yml +0 -120
  39. data/vcr/vcr_cassettes/default_predicate/update.yml +0 -40
  40. data/vcr/vcr_cassettes/map/create.yml +0 -45
  41. data/vcr/vcr_cassettes/map/create_400.yml +0 -48
  42. data/vcr/vcr_cassettes/map/delete.yml +0 -38
  43. data/vcr/vcr_cassettes/map/index_all.yml +0 -43
  44. data/vcr/vcr_cassettes/map/index_find.yml +0 -43
  45. data/vcr/vcr_cassettes/map/index_where.yml +0 -43
  46. data/vcr/vcr_cassettes/map/save.yml +0 -45
  47. data/vcr/vcr_cassettes/map/save_400.yml +0 -48
  48. data/vcr/vcr_cassettes/map/show_find.yml +0 -43
  49. data/vcr/vcr_cassettes/map/show_where.yml +0 -43
  50. data/vcr/vcr_cassettes/organization/create.yml +0 -44
  51. data/vcr/vcr_cassettes/organization/delete.yml +0 -38
  52. data/vcr/vcr_cassettes/organization/index.yml +0 -42
  53. data/vcr/vcr_cassettes/organization/show.yml +0 -42
  54. data/vcr/vcr_cassettes/organization/update.yml +0 -40
  55. data/vcr/vcr_cassettes/organization_member/create.yml +0 -42
  56. data/vcr/vcr_cassettes/organization_member/delete.yml +0 -38
  57. data/vcr/vcr_cassettes/organization_member/index.yml +0 -42
  58. data/vcr/vcr_cassettes/organization_member/index_404.yml +0 -42
  59. data/vcr/vcr_cassettes/organization_member/index_not_found.yml +0 -42
  60. data/vcr/vcr_cassettes/predicate_name/create.yml +0 -42
  61. data/vcr/vcr_cassettes/predicate_name/delete.yml +0 -38
  62. data/vcr/vcr_cassettes/predicate_name/index.yml +0 -42
  63. data/vcr/vcr_cassettes/predicate_name/index_all.yml +0 -42
  64. data/vcr/vcr_cassettes/predicate_name/index_find.yml +0 -42
  65. data/vcr/vcr_cassettes/predicate_name/index_where.yml +0 -42
  66. data/vcr/vcr_cassettes/project/create.yml +0 -44
  67. data/vcr/vcr_cassettes/project/create_conflict.yml +0 -44
  68. data/vcr/vcr_cassettes/project/delete.yml +0 -38
  69. data/vcr/vcr_cassettes/project/index.yml +0 -227
  70. data/vcr/vcr_cassettes/project/show.yml +0 -43
  71. data/vcr/vcr_cassettes/project_member/create.yml +0 -42
  72. data/vcr/vcr_cassettes/project_member/delete.yml +0 -38
  73. data/vcr/vcr_cassettes/project_member/index.yml +0 -42
  74. data/vcr/vcr_cassettes/project_member/index_403.yml +0 -40
  75. data/vcr/vcr_cassettes/project_member/index_not_found.yml +0 -42
  76. data/vcr/vcr_cassettes/provider/create.yml +0 -44
  77. data/vcr/vcr_cassettes/provider/delete.yml +0 -38
  78. data/vcr/vcr_cassettes/provider/index.yml +0 -42
  79. data/vcr/vcr_cassettes/provider/show.yml +0 -42
  80. data/vcr/vcr_cassettes/scenario/create.yml +0 -42
  81. data/vcr/vcr_cassettes/scenario/create_conflict.yml +0 -44
  82. data/vcr/vcr_cassettes/scenario/delete.yml +0 -38
  83. data/vcr/vcr_cassettes/scenario/deploy.yml +0 -164
  84. data/vcr/vcr_cassettes/scenario/download_aiml.yml +0 -51
  85. data/vcr/vcr_cassettes/scenario/index.yml +0 -42
  86. data/vcr/vcr_cassettes/scenario/index_not_found.yml +0 -42
  87. data/vcr/vcr_cassettes/scenario/show.yml +0 -42
  88. data/vcr/vcr_cassettes/scenario/update.yml +0 -40
  89. data/vcr/vcr_cassettes/scenario/upload.yml +0 -51
  90. data/vcr/vcr_cassettes/scenario/upload_aiml.yml +0 -51
  91. data/vcr/vcr_cassettes/scenario/upload_archive.yml +0 -46
  92. data/vcr/vcr_cassettes/scenario/upload_dat.yml +0 -46
  93. data/vcr/vcr_cassettes/set/create.yml +0 -45
  94. data/vcr/vcr_cassettes/set/create_400.yml +0 -48
  95. data/vcr/vcr_cassettes/set/delete.yml +0 -38
  96. data/vcr/vcr_cassettes/set/index_all.yml +0 -42
  97. data/vcr/vcr_cassettes/set/index_find.yml +0 -42
  98. data/vcr/vcr_cassettes/set/index_where.yml +0 -42
  99. data/vcr/vcr_cassettes/set/save.yml +0 -45
  100. data/vcr/vcr_cassettes/set/save_400.yml +0 -48
  101. data/vcr/vcr_cassettes/set/show_find.yml +0 -43
  102. data/vcr/vcr_cassettes/set/show_where.yml +0 -43
@@ -1,44 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/login
6
- body:
7
- encoding: UTF-8
8
- string: '{"accountName":"test_account","password":"testaccount20180821"}'
9
- headers:
10
- Content-Type:
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
- Accept:
17
- - "*/*"
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Date:
26
- - Tue, 21 Aug 2018 08:29:04 GMT
27
- Content-Type:
28
- - application/json;charset=utf-8
29
- Content-Length:
30
- - '86'
31
- Connection:
32
- - keep-alive
33
- Server:
34
- - Apache
35
- X-Content-Type-Options:
36
- - nosniff
37
- X-Frame-Options:
38
- - SAMEORIGIN
39
- body:
40
- encoding: UTF-8
41
- string: '{"accessToken":"NLP 3a1f0a72104e93f71c5d0ec93af3d6c5b9149c349630fcf86ddc1545a7f28b4f"}'
42
- http_version:
43
- recorded_at: Tue, 21 Aug 2018 08:29:04 GMT
44
- recorded_with: VCR 4.0.0
@@ -1,42 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/login
6
- body:
7
- encoding: UTF-8
8
- string: '{"accountName":"account","password":"password"}'
9
- headers:
10
- Content-Type:
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
- Accept:
17
- - "*/*"
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 400
23
- message: Bad Request
24
- headers:
25
- Date:
26
- - Tue, 21 Aug 2018 08:29:04 GMT
27
- Content-Length:
28
- - '0'
29
- Connection:
30
- - keep-alive
31
- Server:
32
- - Apache
33
- X-Content-Type-Options:
34
- - nosniff
35
- X-Frame-Options:
36
- - SAMEORIGIN
37
- body:
38
- encoding: UTF-8
39
- string: ''
40
- http_version:
41
- recorded_at: Tue, 21 Aug 2018 08:29:04 GMT
42
- recorded_with: VCR 4.0.0
@@ -1,40 +0,0 @@
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/logout
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Authorization:
13
- - NLP 3a1f0a72104e93f71c5d0ec93af3d6c5b9149c349630fcf86ddc1545a7f28b4f
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: 200
21
- message: OK
22
- headers:
23
- Date:
24
- - Tue, 21 Aug 2018 08:29:04 GMT
25
- Content-Length:
26
- - '0'
27
- Connection:
28
- - keep-alive
29
- Server:
30
- - Apache
31
- X-Content-Type-Options:
32
- - nosniff
33
- X-Frame-Options:
34
- - SAMEORIGIN
35
- body:
36
- encoding: UTF-8
37
- string: ''
38
- http_version:
39
- recorded_at: Tue, 21 Aug 2018 08:29:04 GMT
40
- recorded_with: VCR 4.0.0
@@ -1,40 +0,0 @@
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/logout
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Authorization:
13
- - dummy
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: 400
21
- message: Bad Request
22
- headers:
23
- Date:
24
- - Tue, 21 Aug 2018 08:45:19 GMT
25
- Content-Length:
26
- - '0'
27
- Connection:
28
- - keep-alive
29
- Server:
30
- - Apache
31
- X-Content-Type-Options:
32
- - nosniff
33
- X-Frame-Options:
34
- - SAMEORIGIN
35
- body:
36
- encoding: UTF-8
37
- string: ''
38
- http_version:
39
- recorded_at: Tue, 21 Aug 2018 08:45:19 GMT
40
- recorded_with: VCR 4.0.0
@@ -1,43 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots
6
- body:
7
- encoding: UTF-8
8
- string: '{"botId":"test_bot","scenarioProjectId":"DSU","language":"ja-JP","description":"for
9
- test"}'
10
- headers:
11
- Content-Type:
12
- - application/json
13
- Authorization:
14
- - NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
15
- Accept-Encoding:
16
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
- Accept:
18
- - "*/*"
19
- User-Agent:
20
- - Ruby
21
- response:
22
- status:
23
- code: 201
24
- message: Created
25
- headers:
26
- Date:
27
- - Wed, 22 Aug 2018 07:23:35 GMT
28
- Content-Length:
29
- - '0'
30
- Connection:
31
- - keep-alive
32
- Server:
33
- - Apache
34
- X-Content-Type-Options:
35
- - nosniff
36
- X-Frame-Options:
37
- - SAMEORIGIN
38
- body:
39
- encoding: UTF-8
40
- string: ''
41
- http_version:
42
- recorded_at: Wed, 22 Aug 2018 07:23:35 GMT
43
- recorded_with: VCR 4.0.0
@@ -1,45 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots
6
- body:
7
- encoding: UTF-8
8
- string: '{"botId":"test_bot","scenarioProjectId":"DSU","language":"ja-JP","description":"for
9
- test"}'
10
- headers:
11
- Content-Type:
12
- - application/json
13
- Authorization:
14
- - NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
15
- Accept-Encoding:
16
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
- Accept:
18
- - "*/*"
19
- User-Agent:
20
- - Ruby
21
- response:
22
- status:
23
- code: 409
24
- message: Conflict
25
- headers:
26
- Date:
27
- - Wed, 22 Aug 2018 07:19:16 GMT
28
- Content-Type:
29
- - application/json;charset=utf-8
30
- Content-Length:
31
- - '42'
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: '{"error":"duplicated","keys":["test_bot"]}'
43
- http_version:
44
- recorded_at: Wed, 22 Aug 2018 07:19:16 GMT
45
- recorded_with: VCR 4.0.0
@@ -1,38 +0,0 @@
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
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
- - Wed, 22 Aug 2018 07:19:16 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: Wed, 22 Aug 2018 07:19:16 GMT
38
- recorded_with: VCR 4.0.0
@@ -1,164 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/scenarios/compile
6
- body:
7
- encoding: UTF-8
8
- string: ''
9
- headers:
10
- Content-Type:
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
- Accept:
17
- - "*/*"
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 202
23
- message: Accepted
24
- headers:
25
- Date:
26
- - Tue, 04 Sep 2018 22:07:37 GMT
27
- Content-Type:
28
- - application/json;charset=utf-8
29
- Content-Length:
30
- - '151'
31
- Connection:
32
- - keep-alive
33
- Server:
34
- - Apache
35
- X-Content-Type-Options:
36
- - nosniff
37
- X-Frame-Options:
38
- - SAMEORIGIN
39
- body:
40
- encoding: UTF-8
41
- string: '{"statusUri":"http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/NLPManagementAPI/projects/212/bots/test_bot/scenarios/compile/status"}'
42
- http_version:
43
- recorded_at: Tue, 04 Sep 2018 22:07:37 GMT
44
- - request:
45
- method: get
46
- uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/scenarios/compile/status
47
- body:
48
- encoding: US-ASCII
49
- string: ''
50
- headers:
51
- Accept:
52
- - application/json
53
- Authorization:
54
- - NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
55
- Accept-Encoding:
56
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
57
- User-Agent:
58
- - Ruby
59
- response:
60
- status:
61
- code: 200
62
- message: OK
63
- headers:
64
- Date:
65
- - Tue, 04 Sep 2018 22:07:38 GMT
66
- Content-Type:
67
- - application/json;charset=utf-8
68
- Content-Length:
69
- - '54'
70
- Connection:
71
- - keep-alive
72
- Server:
73
- - Apache
74
- X-Content-Type-Options:
75
- - nosniff
76
- X-Frame-Options:
77
- - SAMEORIGIN
78
- body:
79
- encoding: UTF-8
80
- string: '{"status":"Completed","created":"2018-09-05 07:07:37"}'
81
- http_version:
82
- recorded_at: Tue, 04 Sep 2018 22:07:38 GMT
83
- - request:
84
- method: post
85
- uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/scenarios/transfer
86
- body:
87
- encoding: UTF-8
88
- string: ''
89
- headers:
90
- Content-Type:
91
- - application/json
92
- Authorization:
93
- - NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
94
- Accept-Encoding:
95
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
96
- Accept:
97
- - "*/*"
98
- User-Agent:
99
- - Ruby
100
- response:
101
- status:
102
- code: 202
103
- message: Accepted
104
- headers:
105
- Date:
106
- - Tue, 04 Sep 2018 22:07:39 GMT
107
- Content-Type:
108
- - application/json;charset=utf-8
109
- Content-Length:
110
- - '152'
111
- Connection:
112
- - keep-alive
113
- Server:
114
- - Apache
115
- X-Content-Type-Options:
116
- - nosniff
117
- X-Frame-Options:
118
- - SAMEORIGIN
119
- body:
120
- encoding: UTF-8
121
- string: '{"statusUri":"http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/NLPManagementAPI/projects/212/bots/test_bot/scenarios/transfer/status"}'
122
- http_version:
123
- recorded_at: Tue, 04 Sep 2018 22:07:41 GMT
124
- - request:
125
- method: get
126
- uri: http://nlu-external-dev-977165653.ap-northeast-1.elb.amazonaws.com/management/v2.2/projects/212/bots/test_bot/scenarios/transfer/status
127
- body:
128
- encoding: US-ASCII
129
- string: ''
130
- headers:
131
- Accept:
132
- - application/json
133
- Authorization:
134
- - NLP f68518ed5a40907ec6b754caeaadc32b0af4920f69955c22749e38e17946ea57
135
- Accept-Encoding:
136
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
137
- User-Agent:
138
- - Ruby
139
- response:
140
- status:
141
- code: 200
142
- message: OK
143
- headers:
144
- Date:
145
- - Tue, 04 Sep 2018 22:07:42 GMT
146
- Content-Type:
147
- - application/json;charset=utf-8
148
- Content-Length:
149
- - '110'
150
- Connection:
151
- - keep-alive
152
- Server:
153
- - Apache
154
- X-Content-Type-Options:
155
- - nosniff
156
- X-Frame-Options:
157
- - SAMEORIGIN
158
- body:
159
- encoding: UTF-8
160
- string: '{"transferStatusResponses":[{"hostName":"localhost","status":"Completed","transfered":"2018-09-05
161
- 07:07:39"}]}'
162
- http_version:
163
- recorded_at: Tue, 04 Sep 2018 22:07:42 GMT
164
- recorded_with: VCR 4.0.0