From 135fc9d006c5923d4a1ca4822c5a71362f5db573 Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Thu, 21 Feb 2019 14:04:39 +0200 Subject: Enable AsyncInstantiationBusinessLogic tests Issue-ID: VID-378 Change-Id: If0dd6147f1ce7fba3db01c85359f17abad8bcb07 Signed-off-by: Ittay Stern --- .../test/resources/WEB-INF/conf/system.properties | 5 + .../resources/WEB-INF/fusion/orm/Fusion.hbm.xml | 394 +++++++++++++++++++++ .../resources/WEB-INF/fusion/orm/Workflow.hbm.xml | 66 ++++ 3 files changed, 465 insertions(+) create mode 100644 vid-app-common/src/test/resources/WEB-INF/fusion/orm/Fusion.hbm.xml create mode 100644 vid-app-common/src/test/resources/WEB-INF/fusion/orm/Workflow.hbm.xml (limited to 'vid-app-common/src/test/resources/WEB-INF') diff --git a/vid-app-common/src/test/resources/WEB-INF/conf/system.properties b/vid-app-common/src/test/resources/WEB-INF/conf/system.properties index baf56d36c..ef444944d 100644 --- a/vid-app-common/src/test/resources/WEB-INF/conf/system.properties +++ b/vid-app-common/src/test/resources/WEB-INF/conf/system.properties @@ -150,12 +150,17 @@ mso.restapi.network.instance=/serviceInstances/v5//networks mso.restapi.vf.module.instance=/serviceInstances/v7//vnfs//vfModules mso.restapi.vf.module.scaleout=/serviceInstantiation/v7/serviceInstances//vnfs//vfModules/scaleOut mso.restapi.volume.group.instance=/serviceInstances/v5//vnfs//volumeGroups +mso.restapi.instance.group=/serviceInstantiation/v7/instanceGroups mso.restapi.get.orc.req=/orchestrationRequests/v5 mso.restapi.get.orc.reqs=/orchestrationRequests/v5? mso.restapi.get.man.tasks=/tasks/v1 mso.restapi.configurations=/serviceInstances/v6//configurations mso.restapi.configuration.instance=${mso.restapi.configurations} +mso.restapi.serviceInstantiationApiRoot=/serviceInstantiation/v7 +mso.restapi.serviceInstanceCreate=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances +mso.restapi.serviceInstanceAssign=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/assign + vid.truststore.filename=/opt/app/vid/etc/vid_keystore.jks mso.dme2.client.timeout=30000 mso.dme2.client.read.timeout=120000 diff --git a/vid-app-common/src/test/resources/WEB-INF/fusion/orm/Fusion.hbm.xml b/vid-app-common/src/test/resources/WEB-INF/fusion/orm/Fusion.hbm.xml new file mode 100644 index 000000000..e9eed439b --- /dev/null +++ b/vid-app-common/src/test/resources/WEB-INF/fusion/orm/Fusion.hbm.xml @@ -0,0 +1,394 @@ + + + + + + + + + + + + seq_fn_user + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + seq_fn_audit_log + + + + + + + + + + + + + seq_fn_role + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + seq_fn_menu + + + + + + + + + + + + + + + + + + + + + + + + seq_fn_menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + seq_fn_broadcast_message + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select distinct md.parentMenu.id from MenuData as md where md.label = :paramLabel and md.label is not null + + + + select distinct md.id from MenuData as md where md.label = :paramLabel + + + + select distinct md.id, md.label, md.parentMenu.id from MenuData as md where md.label is not null + + + + select distinct functionCd from MenuData + + + + select distinct code from RoleFunction + + + + from MenuData where menuSetCode = :menu_set_cd and parentMenu is null + + + FROM UrlsAccessible A where upper(A.urlsAccessibleKey.url) = upper(:current_url) + + + + select firstName, lastName from User where id = :user_id + + + + select email from User where id = :user_id + + + + select id, firstName, lastName from User where active = true order by lastName, firstName + + + + select name from Role where id = :role_id + + + + select id, name from Role order by name + + + + select orgUserId from User where id = :user_id + + + + select id from User where orgUserId = :orgUserId + + + + FROM User WHERE orgUserId = :org_user_id + + + + FROM User WHERE loginId = :login_id + + + + FROM User WHERE loginId = :login_id and loginPwd = :login_pwd + + + diff --git a/vid-app-common/src/test/resources/WEB-INF/fusion/orm/Workflow.hbm.xml b/vid-app-common/src/test/resources/WEB-INF/fusion/orm/Workflow.hbm.xml new file mode 100644 index 000000000..75361ed34 --- /dev/null +++ b/vid-app-common/src/test/resources/WEB-INF/fusion/orm/Workflow.hbm.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg