"2.5.0";return!1}(e)?function(e){let t=`${rf.HVIGOR_ENGINE_PACKAGE_NAME}@${e.hvigorVersion}`;const n=e.dependencies;if(n){Object.getOwnPropertyNames(n).sort().forEach((e=>{t+=`,${e}@${n[e]}`}))}return(0,of.hash)(t)}(e):(0,of.hash)(tf.default.cwd());return ef.resolve(ff.HVIGOR_USER_HOME,"project_caches",t)}(df),Df=function(){const e=ef.resolve(pf,rf.WORK_SPACE,rf.DEFAULT_PACKAGE_JSON);return Ql.existsSync(e)?(0,sf.parseJsonFile)(e):{dependencies:{}}}(),function(){const e=ef.resolve(ff.HVIGOR_USER_HOME,rf.DEFAULT_HVIGOR_CONFIG_JSON_FILE_NAME);if(Ql.existsSync(e))(0,sf.parseJsonFile)(e)}(),!(0,lf.hasNpmPackInPaths)(rf.HVIGOR_ENGINE_PACKAGE_NAME,[ef.join(pf,rf.WORK_SPACE)])||(0,lf.offlinePluginConversion)(ff.HVIGOR_PROJECT_ROOT_DIR,df.hvigorVersion)!==Df.dependencies[rf.HVIGOR_ENGINE_PACKAGE_NAME]||!function(){function e(e){const t=null==e?void 0:e.dependencies;return void 0===t?0:Object.getOwnPropertyNames(t).length}const t=e(df),n=e(Df);if(t+1!==n)return!1;for(const e in null==df?void 0:df.dependencies)if(!(0,lf.hasNpmPackInPaths)(e,[ef.join(pf,rf.WORK_SPACE)])||!hf(e,df,Df))return!1;return!0}())try{const e=tf.default.hrtime();(0,af.checkNpmConifg)(),function(){(0,cf.logInfo)("Hvigor installing...");for(const e in df.dependencies)df.dependencies[e]&&(df.dependencies[e]=(0,lf.offlinePluginConversion)(ff.HVIGOR_PROJECT_ROOT_DIR,df.dependencies[e]));const e={dependencies:{...df.dependencies}};e.dependencies[rf.HVIGOR_ENGINE_PACKAGE_NAME]=(0,lf.offlinePluginConversion)(ff.HVIGOR_PROJECT_ROOT_DIR,df.hvigorVersion);const t=ef.join(pf,rf.WORK_SPACE);try{Ql.mkdirSync(t,{recursive:!0});const n=ef.resolve(t,rf.DEFAULT_PACKAGE_JSON);Ql.writeFileSync(n,JSON.stringify(e))}catch(e){(0,cf.logErrorAndExit)(e)}(function(){const e=["config","set","store-dir",ff.HVIGOR_PNPM_STORE_PATH],t={cwd:ef.join(pf,rf.WORK_SPACE),stdio:["inherit","inherit","inherit"]};(0,lf.executeCommand)(ff.HVIGOR_WRAPPER_PNPM_SCRIPT_PATH,e,t)})(),function(){const e=["install"];(0,uf.isCI)()&&e.push("--no-frozen-lockfile");const t={cwd:ef.join(pf,rf.WORK_SPACE),stdio:["inherit","inherit","inherit"]};(0,lf.executeCommand)(ff.HVIGOR_WRAPPER_PNPM_SCRIPT_PATH,e,t)}(),(0,cf.logInfo)("Hvigor install success.")}();const t=tf.default.hrtime(e);nf.hvigorTrace.HVIGOR_INSTALL_TIME=1e9*t[0]+t[1]}catch(e){!function(){const e=ef.join(pf,rf.WORK_SPACE);if((0,cf.logInfo)("Hvigor cleaning..."),!Ql.existsSync(e))return;const t=Ql.readdirSync(e);if(!t||0===t.length)return;const n=ef.resolve(pf,"node_modules","@ohos","hvigor","bin","hvigor.js");Ql.existsSync(n)&&(0,lf.executeCommand)(tf.default.argv[0],[n,"--stop-daemon"],{});try{t.forEach((t=>{Ql.rmSync(ef.resolve(e,t),{recursive:!0})}))}catch(t){(0,cf.logErrorAndExit)(`The hvigor build tool cannot be installed. Please manually clear the workspace directory and synchronize the project again.\n\n Workspace Path: ${e}.`)}}()}return pf},function(){js.environmentHandler(),js.isPnpmInstalled()||(js.checkNpmConifg(),js.executeInstallPnpm());const t=Xl();P(e.join(t,S))}();
\ No newline at end of file
diff --git a/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/hvigorfile.ts b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/hvigorfile.ts
new file mode 100644
index 0000000000000000000000000000000000000000..d3faa0dfe81db594303c70fbdb7e859d48a30bfe
--- /dev/null
+++ b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/hvigorfile.ts
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2024 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently.
+export { appTasks } from '@ohos/hvigor-ohos-plugin';
\ No newline at end of file
diff --git a/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/hvigorw b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/hvigorw
new file mode 100644
index 0000000000000000000000000000000000000000..b5289af7edd200e0a800ad9588c5b436937140b5
--- /dev/null
+++ b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/hvigorw
@@ -0,0 +1,60 @@
+# Copyright (C) 2024 Huawei Device Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#!/bin/bash
+
+# ----------------------------------------------------------------------------
+# Hvigor startup script, version 1.0.0
+#
+# Required ENV vars:
+# ------------------
+# NODE_HOME - location of a Node home dir
+# or
+# Add /usr/local/nodejs/bin to the PATH environment variable
+# ----------------------------------------------------------------------------
+
+HVIGOR_APP_HOME=$(dirname $(readlink -f $0))
+HVIGOR_WRAPPER_SCRIPT=${HVIGOR_APP_HOME}/hvigor/hvigor-wrapper.js
+warn() {
+ echo ""
+ echo -e "\033[1;33m`date '+[%Y-%m-%d %H:%M:%S]'`$@\033[0m"
+}
+
+error() {
+ echo ""
+ echo -e "\033[1;31m`date '+[%Y-%m-%d %H:%M:%S]'`$@\033[0m"
+}
+
+fail() {
+ error "$@"
+ exit 1
+}
+
+# Determine node to start hvigor wrapper script
+if [ -n "${NODE_HOME}" ];then
+ EXECUTABLE_NODE="${NODE_HOME}/bin/node"
+ if [ ! -x "$EXECUTABLE_NODE" ];then
+ fail "ERROR: NODE_HOME is set to an invalid directory,check $NODE_HOME\n\nPlease set NODE_HOME in your environment to the location where your nodejs installed"
+ fi
+else
+ EXECUTABLE_NODE="node"
+ which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' command found in your path"
+fi
+
+# Check hvigor wrapper script
+if [ ! -r "$HVIGOR_WRAPPER_SCRIPT" ];then
+ fail "ERROR: Couldn't find hvigor/hvigor-wrapper.js in ${HVIGOR_APP_HOME}"
+fi
+
+# start hvigor-wrapper script
+exec "${EXECUTABLE_NODE}" \
+ "${HVIGOR_WRAPPER_SCRIPT}" "$@"
diff --git a/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/hvigorw.bat b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/hvigorw.bat
new file mode 100644
index 0000000000000000000000000000000000000000..628ce47d0d23f1baf11d382fd9b1d95476991c46
--- /dev/null
+++ b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/hvigorw.bat
@@ -0,0 +1,64 @@
+@rem Copyright (C) 2024 Huawei Device Co., Ltd.
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@echo off
+@rem
+@rem -------------------------------------------------------------------
+@rem Hvigor startup script for Windows, version 1.0.0
+@rem
+@rem Required ENV vars:
+@rem ------------------
+@rem NODE_HOME - location of a Node home dir
+@rem or
+@rem Add %NODE_HOME%/bin to the PATH environment variable
+@rem -------------------------------------------------------------------
+@rem
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set NODE_EXE_PATH=""
+set APP_HOME=.
+set WRAPPER_MODULE_PATH=%APP_HOME%\hvigor\hvigor-wrapper.js
+set NODE_EXE=node.exe
+
+@rem set NODE_OPTS="--max-old-space-size=4096"
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+if not defined NODE_OPTS set NODE_OPTS="--"
+
+@rem Find node.exe
+if defined NODE_HOME (
+ set NODE_HOME=%NODE_HOME:"=%
+ set "PATH=%PATH%;%NODE_HOME%"
+ set NODE_EXE_PATH=%NODE_HOME%/%NODE_EXE%
+)
+%NODE_EXE% --version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" (
+ "%NODE_EXE%" "%NODE_OPTS%" "%WRAPPER_MODULE_PATH%" %*
+) else if exist "%NODE_EXE_PATH%" (
+ "%NODE_EXE_PATH%" "%NODE_OPTS%" "%WRAPPER_MODULE_PATH%" %*
+) else (
+ echo.
+ echo ERROR: NODE_HOME is not set and no 'node' command could be found in your PATH.
+ echo.
+ echo Please set the NODE_HOME variable in your environment to match the
+ echo location of your NodeJs installation.
+)
+
+if "%ERRORLEVEL%" == "0"(
+ if "%OS%" == "Windows_NT" endlocal
+) else (
+ exit /b %ERRORLEVEL%
+)
diff --git a/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/oh-package.json5 b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/oh-package.json5
new file mode 100644
index 0000000000000000000000000000000000000000..c2f5ca0694c7b95524f242bd3712c2f7bb498882
--- /dev/null
+++ b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/oh-package.json5
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2024 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+{
+ "license": "",
+ "devDependencies": {
+ "@ohos/hypium": "1.0.6"
+ },
+ "author": "",
+ "name": "myapplication",
+ "description": "Please describe the basic information.",
+ "main": "",
+ "version": "1.0.0",
+ "dependencies": {}
+}
diff --git a/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/signature/openharmony_sx.p7b b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/signature/openharmony_sx.p7b
new file mode 100644
index 0000000000000000000000000000000000000000..4ff3c63e5fa88368321743dfa3b5f61af3c6f1cc
Binary files /dev/null and b/function/bms/bundlemanager/hitsqueryinhouse/hitsgetdeveloperidsnormal/signature/openharmony_sx.p7b differ
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/BUILD.gn b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..8d2eae048ddadd03266da46ef874a14d2f2072db
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/BUILD.gn
@@ -0,0 +1,33 @@
+# Copyright (c) 2021 Huawei Device Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+import("//test/xts/tools/build/suite.gni")
+
+ohos_hap_assist_suite("Hits_CrowdTesting") {
+ hap_profile = "./src/main/config.json"
+ hap_name = "HitsCrowdTestingTest"
+ testonly = true
+ deps = [
+ ":hjs_demo_js_assets",
+ ":hjs_demo_resources",
+ ]
+ certificate_profile = "./signature/openharmony_sx.p7b"
+ subsystem_name = "bundlemanager"
+ part_name = "bundle_framework"
+}
+ohos_js_assets("hjs_demo_js_assets") {
+ source_dir = "./src/main/js/default"
+}
+ohos_resources("hjs_demo_resources") {
+ sources = [ "./src/main/js/resources" ]
+ hap_profile = "./src/main/config.json"
+}
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/Test.json b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/Test.json
new file mode 100644
index 0000000000000000000000000000000000000000..7a88763ed8d2ac31dd30211b9574f47273e84549
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/Test.json
@@ -0,0 +1,3 @@
+{
+ "description": "Configuration for hjunit demo Tests",
+}
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/signature/openharmony_sx.p7b b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/signature/openharmony_sx.p7b
new file mode 100644
index 0000000000000000000000000000000000000000..e1b060089d8e5dfc9026ec1db0e8e11c04bbc226
Binary files /dev/null and b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/signature/openharmony_sx.p7b differ
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/config.json b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/config.json
new file mode 100644
index 0000000000000000000000000000000000000000..d64fbc6110a6296618810b2fc9e92daf662d98a7
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/config.json
@@ -0,0 +1,63 @@
+{
+ "app": {
+ "bundleName": "com.hits.crowdtesting",
+ "vendor": "example",
+ "version": {
+ "code": 1,
+ "name": "1.0"
+ },
+ "apiVersion": {
+ "compatible": 5,
+ "target": 5,
+ "releaseType": "Beta1"
+ }
+ },
+ "deviceConfig": {},
+ "module": {
+ "package": "com.hits.crowdtesting",
+ "name": ".MyApplication1",
+ "deviceType": [
+ "default",
+ "tablet",
+ "2in1"
+ ],
+ "distro": {
+ "deliveryWithInstall": true,
+ "moduleName": "entry",
+ "moduleType": "entry"
+ },
+ "abilities": [
+ {
+ "skills": [
+ {
+ "entities": [
+ "entity.system.home"
+ ],
+ "actions": [
+ "action.system.home"
+ ]
+ }
+ ],
+ "name": ".MainAbility",
+ "icon": "$media:icon",
+ "description": "$string:mainability_description",
+ "label": "$string:app_name",
+ "type": "page",
+ "isVisible": "true",
+ "launchType": "standard"
+ }
+ ],
+ "js": [
+ {
+ "pages": [
+ "pages/index/index"
+ ],
+ "name": "default",
+ "window": {
+ "designWidth": 720,
+ "autoDesignWidth": false
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/app.js b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/app.js
new file mode 100644
index 0000000000000000000000000000000000000000..c158442201abb1888ae8fb1d57f150c5ec26c36b
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/app.js
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2021 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export default {
+ onCreate() {
+ console.info('AceApplication onCreate');
+ },
+ onDestroy() {
+ console.info('AceApplication onDestroy');
+ }
+};
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/i18n/en-US.json b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/i18n/en-US.json
new file mode 100644
index 0000000000000000000000000000000000000000..e63c70d978a3a53be988388c87182f81785e170c
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/i18n/en-US.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "Hello",
+ "world": "World"
+ }
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/i18n/zh-CN.json b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/i18n/zh-CN.json
new file mode 100644
index 0000000000000000000000000000000000000000..de6ee5748322f44942c1b003319d8e66c837675f
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/i18n/zh-CN.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "您好",
+ "world": "世界"
+ }
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/pages/index/index.css b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/pages/index/index.css
new file mode 100644
index 0000000000000000000000000000000000000000..01ad739b27f208ff04f21924695104bd27c59df0
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/pages/index/index.css
@@ -0,0 +1,24 @@
+/*
+* Copyright (c) 2022 Huawei Device Co., Ltd.
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+.container {
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+
+.title {
+ font-size: 100px;
+}
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/pages/index/index.hml b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/pages/index/index.hml
new file mode 100644
index 0000000000000000000000000000000000000000..a0035ad59db40d40ae6de91eea56aac3a1b5f708
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/default/pages/index/index.hml
@@ -0,0 +1,20 @@
+
+
+
+
+ This is a passage
+
+
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/resources/base/element/string.json b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/resources/base/element/string.json
new file mode 100644
index 0000000000000000000000000000000000000000..42d35ea0b36004721fb7567ea02f97834d53e296
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/resources/base/element/string.json
@@ -0,0 +1,12 @@
+{
+ "string": [
+ {
+ "name": "app_name",
+ "value": "bmsfirstright"
+ },
+ {
+ "name": "mainability_description",
+ "value": "JS_Phone_Empty Feature Ability"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/resources/base/media/icon.png b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/resources/base/media/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c
Binary files /dev/null and b/function/bms/bundlemanager/sceneProject/bmcrowdtesting/src/main/js/resources/base/media/icon.png differ
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/BUILD.gn b/function/bms/bundlemanager/sceneProject/bmosintegrationone/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..6e1203e59674136d14472e8a474e0f39b8b72a05
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationone/BUILD.gn
@@ -0,0 +1,33 @@
+# Copyright (c) 2021 Huawei Device Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+import("//test/xts/tools/build/suite.gni")
+
+ohos_hap_assist_suite("Hits_OsIntegration_One") {
+ hap_profile = "./src/main/config.json"
+ hap_name = "HitsOsIntegrationOneHap"
+ testonly = true
+ deps = [
+ ":hjs_demo_js_assets",
+ ":hjs_demo_resources",
+ ]
+ certificate_profile = "./signature/openharmony_sx.p7b"
+ subsystem_name = "bundlemanager"
+ part_name = "bundle_framework"
+}
+ohos_js_assets("hjs_demo_js_assets") {
+ source_dir = "./src/main/js/default"
+}
+ohos_resources("hjs_demo_resources") {
+ sources = [ "./src/main/js/resources" ]
+ hap_profile = "./src/main/config.json"
+}
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/Test.json b/function/bms/bundlemanager/sceneProject/bmosintegrationone/Test.json
new file mode 100644
index 0000000000000000000000000000000000000000..7a88763ed8d2ac31dd30211b9574f47273e84549
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationone/Test.json
@@ -0,0 +1,3 @@
+{
+ "description": "Configuration for hjunit demo Tests",
+}
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/signature/openharmony_sx.p7b b/function/bms/bundlemanager/sceneProject/bmosintegrationone/signature/openharmony_sx.p7b
new file mode 100644
index 0000000000000000000000000000000000000000..f11d4c13c5ac6e1b3166010b1893c8b4346d5faf
Binary files /dev/null and b/function/bms/bundlemanager/sceneProject/bmosintegrationone/signature/openharmony_sx.p7b differ
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/config.json b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/config.json
new file mode 100644
index 0000000000000000000000000000000000000000..e3bcc9fd78ebac9b5cd2f19ab4b4c065e7d9faa9
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/config.json
@@ -0,0 +1,63 @@
+{
+ "app": {
+ "bundleName": "com.hits.osintegrationone",
+ "vendor": "example",
+ "version": {
+ "code": 1,
+ "name": "1.0"
+ },
+ "apiVersion": {
+ "compatible": 5,
+ "target": 5,
+ "releaseType": "Beta1"
+ }
+ },
+ "deviceConfig": {},
+ "module": {
+ "package": "com.hits.osintegrationone",
+ "name": ".MyApplication1",
+ "deviceType": [
+ "default",
+ "tablet",
+ "2in1"
+ ],
+ "distro": {
+ "deliveryWithInstall": true,
+ "moduleName": "entry",
+ "moduleType": "entry"
+ },
+ "abilities": [
+ {
+ "skills": [
+ {
+ "entities": [
+ "entity.system.home"
+ ],
+ "actions": [
+ "action.system.home"
+ ]
+ }
+ ],
+ "name": ".MainAbility",
+ "icon": "$media:icon",
+ "description": "$string:mainability_description",
+ "label": "$string:app_name",
+ "type": "page",
+ "isVisible": "true",
+ "launchType": "standard"
+ }
+ ],
+ "js": [
+ {
+ "pages": [
+ "pages/index/index"
+ ],
+ "name": "default",
+ "window": {
+ "designWidth": 720,
+ "autoDesignWidth": false
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/app.js b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/app.js
new file mode 100644
index 0000000000000000000000000000000000000000..c158442201abb1888ae8fb1d57f150c5ec26c36b
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/app.js
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2021 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export default {
+ onCreate() {
+ console.info('AceApplication onCreate');
+ },
+ onDestroy() {
+ console.info('AceApplication onDestroy');
+ }
+};
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/i18n/en-US.json b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/i18n/en-US.json
new file mode 100644
index 0000000000000000000000000000000000000000..e63c70d978a3a53be988388c87182f81785e170c
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/i18n/en-US.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "Hello",
+ "world": "World"
+ }
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/i18n/zh-CN.json b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/i18n/zh-CN.json
new file mode 100644
index 0000000000000000000000000000000000000000..de6ee5748322f44942c1b003319d8e66c837675f
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/i18n/zh-CN.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "您好",
+ "world": "世界"
+ }
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/pages/index/index.css b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/pages/index/index.css
new file mode 100644
index 0000000000000000000000000000000000000000..01ad739b27f208ff04f21924695104bd27c59df0
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/pages/index/index.css
@@ -0,0 +1,24 @@
+/*
+* Copyright (c) 2022 Huawei Device Co., Ltd.
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+.container {
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+
+.title {
+ font-size: 100px;
+}
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/pages/index/index.hml b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/pages/index/index.hml
new file mode 100644
index 0000000000000000000000000000000000000000..a0035ad59db40d40ae6de91eea56aac3a1b5f708
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/default/pages/index/index.hml
@@ -0,0 +1,20 @@
+
+
+
+
+ This is a passage
+
+
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/resources/base/element/string.json b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/resources/base/element/string.json
new file mode 100644
index 0000000000000000000000000000000000000000..42d35ea0b36004721fb7567ea02f97834d53e296
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/resources/base/element/string.json
@@ -0,0 +1,12 @@
+{
+ "string": [
+ {
+ "name": "app_name",
+ "value": "bmsfirstright"
+ },
+ {
+ "name": "mainability_description",
+ "value": "JS_Phone_Empty Feature Ability"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/resources/base/media/icon.png b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/resources/base/media/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c
Binary files /dev/null and b/function/bms/bundlemanager/sceneProject/bmosintegrationone/src/main/js/resources/base/media/icon.png differ
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/BUILD.gn b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..ae77ff2dfc4b4964fc0782a40990cfb9a1f1d7dd
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/BUILD.gn
@@ -0,0 +1,33 @@
+# Copyright (c) 2021 Huawei Device Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+import("//test/xts/tools/build/suite.gni")
+
+ohos_hap_assist_suite("Hits_OsIntegration_Two") {
+ hap_profile = "./src/main/config.json"
+ hap_name = "HitsOsIntegrationTwoHap"
+ testonly = true
+ deps = [
+ ":hjs_demo_js_assets",
+ ":hjs_demo_resources",
+ ]
+ certificate_profile = "./signature/openharmony_sx.p7b"
+ subsystem_name = "bundlemanager"
+ part_name = "bundle_framework"
+}
+ohos_js_assets("hjs_demo_js_assets") {
+ source_dir = "./src/main/js/default"
+}
+ohos_resources("hjs_demo_resources") {
+ sources = [ "./src/main/js/resources" ]
+ hap_profile = "./src/main/config.json"
+}
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/Test.json b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/Test.json
new file mode 100644
index 0000000000000000000000000000000000000000..7a88763ed8d2ac31dd30211b9574f47273e84549
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/Test.json
@@ -0,0 +1,3 @@
+{
+ "description": "Configuration for hjunit demo Tests",
+}
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/signature/openharmony_sx.p7b b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/signature/openharmony_sx.p7b
new file mode 100644
index 0000000000000000000000000000000000000000..6db0d29fc3a99649570dbd2f3258bce64cf79476
Binary files /dev/null and b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/signature/openharmony_sx.p7b differ
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/config.json b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/config.json
new file mode 100644
index 0000000000000000000000000000000000000000..92edd6ee4d5324e1625726c0d5d5b5eb2b10be09
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/config.json
@@ -0,0 +1,63 @@
+{
+ "app": {
+ "bundleName": "com.hits.osintegrationtwo",
+ "vendor": "example",
+ "version": {
+ "code": 1,
+ "name": "1.0"
+ },
+ "apiVersion": {
+ "compatible": 5,
+ "target": 5,
+ "releaseType": "Beta1"
+ }
+ },
+ "deviceConfig": {},
+ "module": {
+ "package": "com.hits.osintegrationtwo",
+ "name": ".MyApplication1",
+ "deviceType": [
+ "default",
+ "tablet",
+ "2in1"
+ ],
+ "distro": {
+ "deliveryWithInstall": true,
+ "moduleName": "entry",
+ "moduleType": "entry"
+ },
+ "abilities": [
+ {
+ "skills": [
+ {
+ "entities": [
+ "entity.system.home"
+ ],
+ "actions": [
+ "action.system.home"
+ ]
+ }
+ ],
+ "name": ".MainAbility",
+ "icon": "$media:icon",
+ "description": "$string:mainability_description",
+ "label": "$string:app_name",
+ "type": "page",
+ "isVisible": "true",
+ "launchType": "standard"
+ }
+ ],
+ "js": [
+ {
+ "pages": [
+ "pages/index/index"
+ ],
+ "name": "default",
+ "window": {
+ "designWidth": 720,
+ "autoDesignWidth": false
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/app.js b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/app.js
new file mode 100644
index 0000000000000000000000000000000000000000..c158442201abb1888ae8fb1d57f150c5ec26c36b
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/app.js
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2021 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export default {
+ onCreate() {
+ console.info('AceApplication onCreate');
+ },
+ onDestroy() {
+ console.info('AceApplication onDestroy');
+ }
+};
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/i18n/en-US.json b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/i18n/en-US.json
new file mode 100644
index 0000000000000000000000000000000000000000..e63c70d978a3a53be988388c87182f81785e170c
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/i18n/en-US.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "Hello",
+ "world": "World"
+ }
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/i18n/zh-CN.json b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/i18n/zh-CN.json
new file mode 100644
index 0000000000000000000000000000000000000000..de6ee5748322f44942c1b003319d8e66c837675f
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/i18n/zh-CN.json
@@ -0,0 +1,6 @@
+{
+ "strings": {
+ "hello": "您好",
+ "world": "世界"
+ }
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/pages/index/index.css b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/pages/index/index.css
new file mode 100644
index 0000000000000000000000000000000000000000..01ad739b27f208ff04f21924695104bd27c59df0
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/pages/index/index.css
@@ -0,0 +1,24 @@
+/*
+* Copyright (c) 2022 Huawei Device Co., Ltd.
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+.container {
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+
+.title {
+ font-size: 100px;
+}
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/pages/index/index.hml b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/pages/index/index.hml
new file mode 100644
index 0000000000000000000000000000000000000000..a0035ad59db40d40ae6de91eea56aac3a1b5f708
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/default/pages/index/index.hml
@@ -0,0 +1,20 @@
+
+
+
+
+ This is a passage
+
+
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/resources/base/element/string.json b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/resources/base/element/string.json
new file mode 100644
index 0000000000000000000000000000000000000000..42d35ea0b36004721fb7567ea02f97834d53e296
--- /dev/null
+++ b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/resources/base/element/string.json
@@ -0,0 +1,12 @@
+{
+ "string": [
+ {
+ "name": "app_name",
+ "value": "bmsfirstright"
+ },
+ {
+ "name": "mainability_description",
+ "value": "JS_Phone_Empty Feature Ability"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/resources/base/media/icon.png b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/resources/base/media/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c
Binary files /dev/null and b/function/bms/bundlemanager/sceneProject/bmosintegrationtwo/src/main/js/resources/base/media/icon.png differ