docomo-nlu 0.2.6 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +48 -0
- data/.reek.yml +98 -0
- data/.rubocop.rspec.yml +67 -0
- data/.rubocop.ruby.yml +419 -0
- data/.rubocop.yml +18 -16
- data/.ruby-version +1 -1
- data/Gemfile.lock +114 -130
- data/docomo-nlu.gemspec +8 -7
- data/lib/docomo-nlu.rb +4 -4
- data/lib/{docomo-nlu → docomo_nlu}/config.rb +3 -3
- data/lib/docomo_nlu/management.rb +32 -0
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/account.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/aiml_base.rb +6 -5
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/base.rb +2 -2
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/bot.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/bot_log.rb +3 -2
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/config.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/default_predicate.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/entry.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/log.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/map.rb +1 -1
- data/lib/docomo_nlu/management/multipart_base.rb +85 -0
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/ng_word.rb +3 -2
- data/lib/{docomo-nlu/management/V23/multipart_base.rb → docomo_nlu/management/ok_ng_base.rb} +19 -24
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/ok_word.rb +3 -2
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/organization.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/organization_member.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/predicate_name.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/project.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/project_member.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/property.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/provider.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/scenario.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/scenario_project.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/scenario_util.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/set.rb +1 -1
- data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/task_project.rb +1 -1
- data/lib/{docomo-nlu → docomo_nlu}/spontaneous.rb +5 -5
- data/lib/{docomo-nlu → docomo_nlu}/version.rb +1 -1
- data/vcr/vcr_cassettes/{V26 → management}/account/count.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/account/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/account/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/account/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/account/show.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/account/update.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/base/login.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/base/login_400.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/base/logout.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/base/logout_400.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/create_conflict.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/deploy.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/download_aiml.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/download_archive.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/download_dat.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/index_not_found.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/show.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/upload_aiml.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/upload_archive.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot/upload_dat.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot_log/all.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/bot_log/query.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/config/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/config/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/config/show.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/config/update.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/default_predicate/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/default_predicate/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/default_predicate/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/default_predicate/index_not_found.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/default_predicate/update.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/entry/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/entry/save.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/log/all.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/log/count.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/log/count/all.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/log/count/query.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/log/query.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/map/create.yml +6 -6
- data/vcr/vcr_cassettes/{V26 → management}/map/create_400.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/map/delete.yml +2 -2
- data/vcr/vcr_cassettes/{V26 → management}/map/index_all.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/map/index_find.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/map/index_where.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/map/save.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/map/save_400.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/map/show_find.yml +3 -3
- data/vcr/vcr_cassettes/{V26 → management}/map/show_where.yml +0 -0
- data/vcr/vcr_cassettes/management/ng_word/create.yml +46 -0
- data/vcr/vcr_cassettes/management/ng_word/create_400.yml +50 -0
- data/vcr/vcr_cassettes/management/ng_word/create_409.yml +48 -0
- data/vcr/vcr_cassettes/management/ng_word/delete.yml +38 -0
- data/vcr/vcr_cassettes/management/ng_word/download.yml +44 -0
- data/vcr/vcr_cassettes/management/ng_word/index_all.yml +44 -0
- data/vcr/vcr_cassettes/management/ng_word/index_find.yml +44 -0
- data/vcr/vcr_cassettes/management/ng_word/index_where.yml +44 -0
- data/vcr/vcr_cassettes/management/ng_word/save.yml +46 -0
- data/vcr/vcr_cassettes/management/ng_word/save_400.yml +50 -0
- data/vcr/vcr_cassettes/management/ng_word/save_409.yml +48 -0
- data/vcr/vcr_cassettes/management/ng_word/show_find.yml +44 -0
- data/vcr/vcr_cassettes/management/ok_word/create.yml +46 -0
- data/vcr/vcr_cassettes/management/ok_word/create_400.yml +50 -0
- data/vcr/vcr_cassettes/{V23/set/create_400.yml → management/ok_word/create_409.yml} +14 -14
- data/vcr/vcr_cassettes/management/ok_word/delete.yml +38 -0
- data/vcr/vcr_cassettes/management/ok_word/download.yml +44 -0
- data/vcr/vcr_cassettes/management/ok_word/index_all.yml +44 -0
- data/vcr/vcr_cassettes/management/ok_word/index_find.yml +44 -0
- data/vcr/vcr_cassettes/management/ok_word/index_where.yml +44 -0
- data/vcr/vcr_cassettes/management/ok_word/save.yml +46 -0
- data/vcr/vcr_cassettes/management/ok_word/save_400.yml +50 -0
- data/vcr/vcr_cassettes/{V23/set/save_400.yml → management/ok_word/save_409.yml} +14 -14
- data/vcr/vcr_cassettes/management/ok_word/show_find.yml +44 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization/show.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization/update.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization_member/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization_member/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization_member/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization_member/index_404.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/organization_member/index_not_found.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/predicate_name/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/predicate_name/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/predicate_name/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/predicate_name/index_all.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/predicate_name/index_find.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/predicate_name/index_where.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project/create_conflict.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project/show.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project_member/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project_member/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project_member/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project_member/index_403.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/project_member/index_not_found.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/provider/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/provider/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/provider/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/provider/show.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/create_conflict.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/deploy.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/download_aiml.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/index.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/show.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/update.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/upload_aiml.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/upload_archive.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/scenario/upload_dat.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/create.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/create_400.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/delete.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/index_all.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/index_find.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/index_where.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/save.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/save_400.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/show_find.yml +0 -0
- data/vcr/vcr_cassettes/{V26 → management}/set/show_where.yml +0 -0
- metadata +209 -278
- data/lib/docomo-nlu/management.rb +0 -88
- data/lib/docomo-nlu/management/V23/account.rb +0 -30
- data/lib/docomo-nlu/management/V23/aiml_base.rb +0 -204
- data/lib/docomo-nlu/management/V23/base.rb +0 -88
- data/lib/docomo-nlu/management/V23/bot.rb +0 -18
- data/lib/docomo-nlu/management/V23/bot_log.rb +0 -8
- data/lib/docomo-nlu/management/V23/config.rb +0 -25
- data/lib/docomo-nlu/management/V23/default_predicate.rb +0 -15
- data/lib/docomo-nlu/management/V23/entry.rb +0 -8
- data/lib/docomo-nlu/management/V23/log.rb +0 -8
- data/lib/docomo-nlu/management/V23/map.rb +0 -10
- data/lib/docomo-nlu/management/V23/ng_word.rb +0 -10
- data/lib/docomo-nlu/management/V23/ok_word.rb +0 -10
- data/lib/docomo-nlu/management/V23/organization.rb +0 -23
- data/lib/docomo-nlu/management/V23/organization_member.rb +0 -15
- data/lib/docomo-nlu/management/V23/predicate_name.rb +0 -15
- data/lib/docomo-nlu/management/V23/project.rb +0 -16
- data/lib/docomo-nlu/management/V23/project_member.rb +0 -15
- data/lib/docomo-nlu/management/V23/property.rb +0 -10
- data/lib/docomo-nlu/management/V23/provider.rb +0 -17
- data/lib/docomo-nlu/management/V23/scenario.rb +0 -29
- data/lib/docomo-nlu/management/V23/scenario_project.rb +0 -10
- data/lib/docomo-nlu/management/V23/scenario_util.rb +0 -30
- data/lib/docomo-nlu/management/V23/set.rb +0 -10
- data/lib/docomo-nlu/management/V23/task_project.rb +0 -20
- data/lib/docomo-nlu/management/V26/multipart_base.rb +0 -83
- data/vcr/vcr_cassettes/V23/account/count.yml +0 -42
- data/vcr/vcr_cassettes/V23/account/create.yml +0 -44
- data/vcr/vcr_cassettes/V23/account/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/account/index.yml +0 -43
- data/vcr/vcr_cassettes/V23/account/show.yml +0 -43
- data/vcr/vcr_cassettes/V23/account/update.yml +0 -41
- data/vcr/vcr_cassettes/V23/base/login.yml +0 -44
- data/vcr/vcr_cassettes/V23/base/login_400.yml +0 -42
- data/vcr/vcr_cassettes/V23/base/logout.yml +0 -40
- data/vcr/vcr_cassettes/V23/base/logout_400.yml +0 -40
- data/vcr/vcr_cassettes/V23/bot/create.yml +0 -43
- data/vcr/vcr_cassettes/V23/bot/create_conflict.yml +0 -45
- data/vcr/vcr_cassettes/V23/bot/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/bot/deploy.yml +0 -164
- data/vcr/vcr_cassettes/V23/bot/download_aiml.yml +0 -43
- data/vcr/vcr_cassettes/V23/bot/download_archive.yml +0 -43
- data/vcr/vcr_cassettes/V23/bot/download_dat.yml +0 -43
- data/vcr/vcr_cassettes/V23/bot/index.yml +0 -44
- data/vcr/vcr_cassettes/V23/bot/index_not_found.yml +0 -42
- data/vcr/vcr_cassettes/V23/bot/show.yml +0 -43
- data/vcr/vcr_cassettes/V23/bot/upload_aiml.yml +0 -45
- data/vcr/vcr_cassettes/V23/bot/upload_archive.yml +0 -46
- data/vcr/vcr_cassettes/V23/bot/upload_dat.yml +0 -46
- data/vcr/vcr_cassettes/V23/config/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/config/index.yml +0 -120
- data/vcr/vcr_cassettes/V23/config/update.yml +0 -42
- data/vcr/vcr_cassettes/V23/default_predicate/create.yml +0 -42
- data/vcr/vcr_cassettes/V23/default_predicate/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/default_predicate/index.yml +0 -120
- data/vcr/vcr_cassettes/V23/default_predicate/index_not_found.yml +0 -120
- data/vcr/vcr_cassettes/V23/default_predicate/update.yml +0 -40
- data/vcr/vcr_cassettes/V23/map/create.yml +0 -45
- data/vcr/vcr_cassettes/V23/map/create_400.yml +0 -48
- data/vcr/vcr_cassettes/V23/map/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/map/index_all.yml +0 -43
- data/vcr/vcr_cassettes/V23/map/index_find.yml +0 -43
- data/vcr/vcr_cassettes/V23/map/index_where.yml +0 -43
- data/vcr/vcr_cassettes/V23/map/save.yml +0 -45
- data/vcr/vcr_cassettes/V23/map/save_400.yml +0 -48
- data/vcr/vcr_cassettes/V23/map/show_find.yml +0 -43
- data/vcr/vcr_cassettes/V23/map/show_where.yml +0 -43
- data/vcr/vcr_cassettes/V23/organization/create.yml +0 -44
- data/vcr/vcr_cassettes/V23/organization/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/organization/index.yml +0 -138
- data/vcr/vcr_cassettes/V23/organization/show.yml +0 -42
- data/vcr/vcr_cassettes/V23/organization/update.yml +0 -40
- data/vcr/vcr_cassettes/V23/organization_member/create.yml +0 -42
- data/vcr/vcr_cassettes/V23/organization_member/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/organization_member/index.yml +0 -42
- data/vcr/vcr_cassettes/V23/organization_member/index_404.yml +0 -42
- data/vcr/vcr_cassettes/V23/organization_member/index_not_found.yml +0 -42
- data/vcr/vcr_cassettes/V23/predicate_name/create.yml +0 -42
- data/vcr/vcr_cassettes/V23/predicate_name/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/predicate_name/index.yml +0 -42
- data/vcr/vcr_cassettes/V23/predicate_name/index_all.yml +0 -42
- data/vcr/vcr_cassettes/V23/predicate_name/index_find.yml +0 -42
- data/vcr/vcr_cassettes/V23/predicate_name/index_where.yml +0 -42
- data/vcr/vcr_cassettes/V23/project/create.yml +0 -44
- data/vcr/vcr_cassettes/V23/project/create_conflict.yml +0 -44
- data/vcr/vcr_cassettes/V23/project/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/project/index.yml +0 -474
- data/vcr/vcr_cassettes/V23/project/show.yml +0 -43
- data/vcr/vcr_cassettes/V23/project_member/create.yml +0 -42
- data/vcr/vcr_cassettes/V23/project_member/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/project_member/index.yml +0 -42
- data/vcr/vcr_cassettes/V23/project_member/index_403.yml +0 -40
- data/vcr/vcr_cassettes/V23/project_member/index_not_found.yml +0 -42
- data/vcr/vcr_cassettes/V23/provider/create.yml +0 -44
- data/vcr/vcr_cassettes/V23/provider/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/provider/index.yml +0 -42
- data/vcr/vcr_cassettes/V23/provider/show.yml +0 -42
- data/vcr/vcr_cassettes/V23/scenario/create.yml +0 -42
- data/vcr/vcr_cassettes/V23/scenario/create_conflict.yml +0 -44
- data/vcr/vcr_cassettes/V23/scenario/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/scenario/deploy.yml +0 -164
- data/vcr/vcr_cassettes/V23/scenario/download_aiml.yml +0 -43
- data/vcr/vcr_cassettes/V23/scenario/index.yml +0 -43
- data/vcr/vcr_cassettes/V23/scenario/show.yml +0 -42
- data/vcr/vcr_cassettes/V23/scenario/update.yml +0 -40
- data/vcr/vcr_cassettes/V23/scenario/upload_aiml.yml +0 -45
- data/vcr/vcr_cassettes/V23/scenario/upload_archive.yml +0 -46
- data/vcr/vcr_cassettes/V23/scenario/upload_dat.yml +0 -46
- data/vcr/vcr_cassettes/V23/set/create.yml +0 -45
- data/vcr/vcr_cassettes/V23/set/delete.yml +0 -38
- data/vcr/vcr_cassettes/V23/set/index_all.yml +0 -43
- data/vcr/vcr_cassettes/V23/set/index_find.yml +0 -43
- data/vcr/vcr_cassettes/V23/set/index_where.yml +0 -43
- data/vcr/vcr_cassettes/V23/set/save.yml +0 -45
- data/vcr/vcr_cassettes/V23/set/show_find.yml +0 -43
- data/vcr/vcr_cassettes/V23/set/show_where.yml +0 -43
@@ -1,44 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: "<Host>/management/v2.2/projects/212/bots/test_bot/scenarios"
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"userScenarios":[{"scenarioId":"test_scenario","description":"test","compileFlag":true}]}'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Authorization:
|
13
|
-
- "<AdminAccessToken>"
|
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: 409
|
23
|
-
message: Conflict
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Wed, 14 Nov 2018 04:10:15 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json;charset=utf-8
|
29
|
-
Content-Length:
|
30
|
-
- '47'
|
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: '{"error":"duplicated","keys":["test_scenario"]}'
|
42
|
-
http_version:
|
43
|
-
recorded_at: Wed, 14 Nov 2018 04:10:16 GMT
|
44
|
-
recorded_with: VCR 4.0.0
|
@@ -1,38 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: delete
|
5
|
-
uri: "<Host>/management/v2.2/projects/212/bots/test_bot/scenarios/test_scenario"
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Authorization:
|
13
|
-
- "<AdminAccessToken>"
|
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, 14 Nov 2018 04:10:21 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, 14 Nov 2018 04:10:21 GMT
|
38
|
-
recorded_with: VCR 4.0.0
|
@@ -1,164 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: "<Host>/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
|
-
- "<AdminAccessToken>"
|
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
|
-
- Wed, 14 Nov 2018 04:10:21 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":"<Host>/NLPManagementAPI/projects/212/bots/test_bot/scenarios/compile/status"}'
|
42
|
-
http_version:
|
43
|
-
recorded_at: Wed, 14 Nov 2018 04:10:22 GMT
|
44
|
-
- request:
|
45
|
-
method: get
|
46
|
-
uri: "<Host>/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
|
-
- "<AdminAccessToken>"
|
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
|
-
- Wed, 14 Nov 2018 04:10:22 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-11-14 13:10:21"}'
|
81
|
-
http_version:
|
82
|
-
recorded_at: Wed, 14 Nov 2018 04:10:22 GMT
|
83
|
-
- request:
|
84
|
-
method: post
|
85
|
-
uri: "<Host>/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
|
-
- "<AdminAccessToken>"
|
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
|
-
- Wed, 14 Nov 2018 04:10:23 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":"<Host>/NLPManagementAPI/projects/212/bots/test_bot/scenarios/transfer/status"}'
|
122
|
-
http_version:
|
123
|
-
recorded_at: Wed, 14 Nov 2018 04:10:23 GMT
|
124
|
-
- request:
|
125
|
-
method: get
|
126
|
-
uri: "<Host>/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
|
-
- "<AdminAccessToken>"
|
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
|
-
- Wed, 14 Nov 2018 04:10:23 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-11-14
|
161
|
-
13:10:23"}]}'
|
162
|
-
http_version:
|
163
|
-
recorded_at: Wed, 14 Nov 2018 04:10:23 GMT
|
164
|
-
recorded_with: VCR 4.0.0
|
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: "<Host>/management/v2.2/projects/212/bots/test_bot/aiml/test"
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.15.3
|
12
|
-
Authorization:
|
13
|
-
- "<AdminAccessToken>"
|
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
|
-
- Wed, 14 Nov 2018 04:10:29 GMT
|
25
|
-
Content-Length:
|
26
|
-
- '403'
|
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.aiml
|
37
|
-
body:
|
38
|
-
encoding: ASCII-8BIT
|
39
|
-
string: !binary |-
|
40
|
-
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGFpbWwgdmVyc2lvbj0iMi4wLjAiIHhtbG5zPSJodHRwOi8vd3d3Lm50dGRvY29tby5jb20vYWltbC9zY2hlbWEiIHhtbG5zOmh0bWw9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL3d3dy5udHRkb2NvbW8uY29tL2FpbWwvc2NoZW1hL0FJTUwueHNkIj4KICA8Y2F0ZWdvcnk+CiAgICA8cGF0dGVybj4qPC9wYXR0ZXJuPgogICAgPHRlbXBsYXRlPgogICAgICBIZWxsbywgd29ybGQhCiAgICAgIOOBk+OCk+OBq+OBoeOBrwogICAgPC90ZW1wbGF0ZT4KICA8L2NhdGVnb3J5Pgo8L2FpbWw+Cg==
|
41
|
-
http_version:
|
42
|
-
recorded_at: Wed, 14 Nov 2018 04:10:29 GMT
|
43
|
-
recorded_with: VCR 4.0.0
|
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: "<Host>/management/v2.2/projects/212/bots/test_bot/scenarios"
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Authorization:
|
13
|
-
- "<AdminAccessToken>"
|
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
|
-
- Wed, 14 Nov 2018 04:10:14 GMT
|
25
|
-
Content-Type:
|
26
|
-
- application/json;charset=utf-8
|
27
|
-
Content-Length:
|
28
|
-
- '301'
|
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: '{"userScenarios":[{"scenarioId":"test","description":"","compileFlag":true,"compilable":true,"authoring":false,"lastModified":"2018-11-14
|
40
|
-
13:06:01"},{"scenarioId":"test_scenario","description":"test","compileFlag":true,"compilable":false,"authoring":false,"lastModified":""}],"templateScenarios":null}'
|
41
|
-
http_version:
|
42
|
-
recorded_at: Wed, 14 Nov 2018 04:10:15 GMT
|
43
|
-
recorded_with: VCR 4.0.0
|
@@ -1,42 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: "<Host>/management/v2.2/projects/212/bots/test_bot/scenarios/test_scenario"
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Authorization:
|
13
|
-
- "<AdminAccessToken>"
|
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
|
-
- Wed, 14 Nov 2018 04:10:16 GMT
|
25
|
-
Content-Type:
|
26
|
-
- application/json;charset=utf-8
|
27
|
-
Content-Length:
|
28
|
-
- '170'
|
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: '{"userScenarios":[{"scenarioId":"test_scenario","description":"test","compileFlag":true,"compilable":false,"authoring":false,"lastModified":""}],"templateScenarios":null}'
|
40
|
-
http_version:
|
41
|
-
recorded_at: Wed, 14 Nov 2018 04:10:17 GMT
|
42
|
-
recorded_with: VCR 4.0.0
|
@@ -1,40 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: put
|
5
|
-
uri: "<Host>/management/v2.2/projects/212/bots/test_bot/scenarios/"
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"userScenarios":[{"scenarioId":"test_scenario","description":"test","compileFlag":true}],"templateScenarios":null}'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Authorization:
|
13
|
-
- "<AdminAccessToken>"
|
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: 204
|
23
|
-
message: No Content
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Wed, 14 Nov 2018 04:10:18 GMT
|
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: Wed, 14 Nov 2018 04:10:19 GMT
|
40
|
-
recorded_with: VCR 4.0.0
|
@@ -1,45 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: put
|
5
|
-
uri: "<Host>/management/v2.2/projects/212/bots/test_bot/aiml"
|
6
|
-
body:
|
7
|
-
encoding: ASCII-8BIT
|
8
|
-
string: !binary |-
|
9
|
-
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTAzZmFkMDFjMTJjYWE2YzRmNmM2MjRjMTVlN2FmNWE4DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVwbG9hZEZpbGUiOyBmaWxlbmFtZT0idGVzdC5haW1sIg0KQ29udGVudC1MZW5ndGg6IDQwMw0KQ29udGVudC1UeXBlOiB0ZXh0L3BsYWluDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGFpbWwgdmVyc2lvbj0iMi4wLjAiIHhtbG5zPSJodHRwOi8vd3d3Lm50dGRvY29tby5jb20vYWltbC9zY2hlbWEiIHhtbG5zOmh0bWw9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL3d3dy5udHRkb2NvbW8uY29tL2FpbWwvc2NoZW1hL0FJTUwueHNkIj4KICA8Y2F0ZWdvcnk+CiAgICA8cGF0dGVybj4qPC9wYXR0ZXJuPgogICAgPHRlbXBsYXRlPgogICAgICBIZWxsbywgd29ybGQhCiAgICAgIOOBk+OCk+OBq+OBoeOBrwogICAgPC90ZW1wbGF0ZT4KICA8L2NhdGVnb3J5Pgo8L2FpbWw+Cg0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTAzZmFkMDFjMTJjYWE2YzRmNmM2MjRjMTVlN2FmNWE4LS0NCg0K
|
10
|
-
headers:
|
11
|
-
User-Agent:
|
12
|
-
- Faraday v0.15.3
|
13
|
-
Authorization:
|
14
|
-
- "<AdminAccessToken>"
|
15
|
-
Content-Type:
|
16
|
-
- multipart/form-data; boundary=-----------RubyMultipartPost-03fad01c12caa6c4f6c624c15e7af5a8
|
17
|
-
Content-Length:
|
18
|
-
- '696'
|
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
|
-
- Wed, 14 Nov 2018 04:10:24 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: Wed, 14 Nov 2018 04:10:25 GMT
|
45
|
-
recorded_with: VCR 4.0.0
|