forked from community/product-iots-community
parent
e8559ce216
commit
c651d105a3
@ -1,70 +0,0 @@
|
|||||||
<?org.wso2.uesxml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
||||||
~
|
|
||||||
~ WSO2 Inc. licenses this file to you 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>io.entgra.product.community</groupId>
|
|
||||||
<artifactId>distribution</artifactId>
|
|
||||||
<version>5.2.2-SNAPSHOT</version>
|
|
||||||
<relativePath>../pom.xml</relativePath>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<artifactId>entgra-emm-community</artifactId>
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
<name>Entgra EMM - Community Distribution</name>
|
|
||||||
<description>Entgra EMM Community Distribution</description>
|
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>2-dist</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>single</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
|
||||||
<encoding>UTF-8</encoding>
|
|
||||||
<filters>
|
|
||||||
<filter>${basedir}/src/assembly/filter.properties</filter>
|
|
||||||
</filters>
|
|
||||||
<escapeString>\</escapeString>
|
|
||||||
<descriptors>
|
|
||||||
<descriptor>${basedir}/src/assembly/bin.xml</descriptor>
|
|
||||||
</descriptors>
|
|
||||||
<archiverConfig>
|
|
||||||
<defaultDirectoryMode>0775</defaultDirectoryMode>
|
|
||||||
<directoryMode>0775</directoryMode>
|
|
||||||
<defaultFileMode>0644</defaultFileMode>
|
|
||||||
<fileMode>0644</fileMode>
|
|
||||||
</archiverConfig>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
</project>
|
|
@ -1,66 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
||||||
~
|
|
||||||
~ WSO2 Inc. licenses this file to you 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!DOCTYPE assembly [
|
|
||||||
<!ELEMENT assembly (id|formats|includeBaseDirectory|fileSets|dependencySets|files)*>
|
|
||||||
<!ELEMENT id (#PCDATA)>
|
|
||||||
<!ELEMENT formats (format)*>
|
|
||||||
<!ELEMENT format (#PCDATA)>
|
|
||||||
<!ELEMENT includeBaseDirectory (#PCDATA)>
|
|
||||||
<!ELEMENT fileSets (fileSet)*>
|
|
||||||
<!ELEMENT fileSet (directory|outputDirectory|excludes|includes|fileMode|filtered)*>
|
|
||||||
<!ELEMENT directory (#PCDATA)>
|
|
||||||
<!ELEMENT outputDirectory (#PCDATA)>
|
|
||||||
<!ELEMENT excludes (exclude)*>
|
|
||||||
<!ELEMENT exclude (#PCDATA)>
|
|
||||||
<!ELEMENT includes (include)*>
|
|
||||||
<!ELEMENT include (#PCDATA)>
|
|
||||||
<!ELEMENT fileMode (#PCDATA)>
|
|
||||||
<!ELEMENT filtered (#PCDATA)>
|
|
||||||
<!ELEMENT dependencySets (dependencySet)*>
|
|
||||||
<!ELEMENT dependencySet (outputDirectory|includes)*>
|
|
||||||
<!ELEMENT files (file)*>
|
|
||||||
<!ELEMENT file (source|outputDirectory|fileMode|filtered|destName)*>
|
|
||||||
<!ELEMENT source (#PCDATA)>
|
|
||||||
<!ELEMENT destName (#PCDATA)>
|
|
||||||
]>
|
|
||||||
<assembly>
|
|
||||||
<id>bin</id>
|
|
||||||
<formats>
|
|
||||||
<format>zip</format>
|
|
||||||
</formats>
|
|
||||||
<includeBaseDirectory>false</includeBaseDirectory>
|
|
||||||
|
|
||||||
<fileSets>
|
|
||||||
<fileSet>
|
|
||||||
<directory>../../p2-profile/emm/target/${entgra-iot-core}</directory>
|
|
||||||
<outputDirectory>${entgra-emm-community}</outputDirectory>
|
|
||||||
<excludes>
|
|
||||||
<exclude>**/repository/conf/deployment.toml</exclude>
|
|
||||||
</excludes>
|
|
||||||
</fileSet>
|
|
||||||
</fileSets>
|
|
||||||
|
|
||||||
<files>
|
|
||||||
<file>
|
|
||||||
<source>src/conf/deployment.toml</source>
|
|
||||||
<outputDirectory>${entgra-emm-community}/repository/conf/</outputDirectory>
|
|
||||||
</file>
|
|
||||||
</files>
|
|
||||||
|
|
||||||
</assembly>
|
|
@ -1,276 +0,0 @@
|
|||||||
[server]
|
|
||||||
hostname = "localhost"
|
|
||||||
#offset=0
|
|
||||||
base_path = "${carbon.protocol}://${carbon.host}:${carbon.management.port}"
|
|
||||||
#discard_empty_caches = false
|
|
||||||
server_role = "default"
|
|
||||||
|
|
||||||
[database_configuration]
|
|
||||||
enable_h2_console = "true"
|
|
||||||
|
|
||||||
[super_admin]
|
|
||||||
username = "admin"
|
|
||||||
password = "admin"
|
|
||||||
create_admin_account = true
|
|
||||||
|
|
||||||
[user_store]
|
|
||||||
type = "database_unique_id"
|
|
||||||
|
|
||||||
[database.apim_db]
|
|
||||||
type = "h2"
|
|
||||||
url = "jdbc:h2:./repository/database/WSO2AM_DB;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE"
|
|
||||||
username = "wso2carbon"
|
|
||||||
password = "wso2carbon"
|
|
||||||
|
|
||||||
[database.shared_db]
|
|
||||||
type = "h2"
|
|
||||||
url = "jdbc:h2:./repository/database/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE"
|
|
||||||
username = "wso2carbon"
|
|
||||||
password = "wso2carbon"
|
|
||||||
|
|
||||||
[keystore.tls]
|
|
||||||
file_name = "wso2carbon.jks"
|
|
||||||
type = "JKS"
|
|
||||||
password = "wso2carbon"
|
|
||||||
alias = "wso2carbon"
|
|
||||||
key_password = "wso2carbon"
|
|
||||||
|
|
||||||
#[keystore.primary]
|
|
||||||
#file_name = "wso2carbon.jks"
|
|
||||||
#type = "JKS"
|
|
||||||
#password = "wso2carbon"
|
|
||||||
#alias = "wso2carbon"
|
|
||||||
#key_password = "wso2carbon"
|
|
||||||
|
|
||||||
#[keystore.internal]
|
|
||||||
#file_name = "wso2carbon.jks"
|
|
||||||
#type = "JKS"
|
|
||||||
#password = "wso2carbon"
|
|
||||||
#alias = "wso2carbon"
|
|
||||||
#key_password = "wso2carbon"
|
|
||||||
|
|
||||||
[[apim.gateway.environment]]
|
|
||||||
name = "Default"
|
|
||||||
type = "hybrid"
|
|
||||||
display_in_api_console = true
|
|
||||||
description = "This is a hybrid gateway that handles both production and sandbox token traffic."
|
|
||||||
show_as_token_endpoint_url = true
|
|
||||||
service_url = "https://localhost:${mgt.transport.https.port}/services/"
|
|
||||||
username= "${admin.username}"
|
|
||||||
password= "${admin.password}"
|
|
||||||
ws_endpoint = "ws://localhost:9099"
|
|
||||||
wss_endpoint = "wss://localhost:8099"
|
|
||||||
http_endpoint = "http://localhost:${http.nio.port}"
|
|
||||||
https_endpoint = "https://localhost:${https.nio.port}"
|
|
||||||
websub_event_receiver_http_endpoint = "http://localhost:9021"
|
|
||||||
websub_event_receiver_https_endpoint = "https://localhost:8021"
|
|
||||||
|
|
||||||
[apim.sync_runtime_artifacts.gateway]
|
|
||||||
gateway_labels =["Default"]
|
|
||||||
|
|
||||||
#[apim.cache.gateway_token]
|
|
||||||
#enable = true
|
|
||||||
#expiry_time = "900s"
|
|
||||||
|
|
||||||
#[apim.cache.resource]
|
|
||||||
#enable = true
|
|
||||||
#expiry_time = "900s"
|
|
||||||
|
|
||||||
#[apim.cache.km_token]
|
|
||||||
#enable = false
|
|
||||||
#expiry_time = "15m"
|
|
||||||
|
|
||||||
#[apim.cache.recent_apis]
|
|
||||||
#enable = false
|
|
||||||
|
|
||||||
#[apim.cache.scopes]
|
|
||||||
#enable = true
|
|
||||||
|
|
||||||
#[apim.cache.publisher_roles]
|
|
||||||
#enable = true
|
|
||||||
|
|
||||||
#[apim.cache.jwt_claim]
|
|
||||||
#enable = true
|
|
||||||
#expiry_time = "15m"
|
|
||||||
|
|
||||||
#[apim.cache.tags]
|
|
||||||
#expiry_time = "2m"
|
|
||||||
|
|
||||||
[apim.analytics]
|
|
||||||
enable = false
|
|
||||||
config_endpoint = "https://localhost:8080/auth/v1"
|
|
||||||
auth_token = ""
|
|
||||||
|
|
||||||
[apim.key_manager]
|
|
||||||
#service_url = "https://localhost:${mgt.transport.https.port}/services/"
|
|
||||||
#username = "$ref{super_admin.username}"
|
|
||||||
#password = "$ref{super_admin.password}"
|
|
||||||
#pool.init_idle_capacity = 50
|
|
||||||
#pool.max_idle = 100
|
|
||||||
#key_validation_handler_type = "default"
|
|
||||||
#key_validation_handler_type = "custom"
|
|
||||||
key_validation_handler_impl = "org.wso2.carbon.apimgt.keymgt.extension.KeyValidationHandler"
|
|
||||||
|
|
||||||
#[apim.idp]
|
|
||||||
#server_url = "https://localhost:${mgt.transport.https.port}"
|
|
||||||
#authorize_endpoint = "https://localhost:${mgt.transport.https.port}/oauth2/authorize"
|
|
||||||
#oidc_logout_endpoint = "https://localhost:${mgt.transport.https.port}/oidc/logout"
|
|
||||||
#oidc_check_session_endpoint = "https://localhost:${mgt.transport.https.port}/oidc/checksession"
|
|
||||||
|
|
||||||
#[apim.jwt]
|
|
||||||
#enable = true
|
|
||||||
#encoding = "base64" # base64,base64url
|
|
||||||
#generator_impl = "org.wso2.carbon.apimgt.keymgt.token.JWTGenerator"
|
|
||||||
#claim_dialect = "http://wso2.org/claims"
|
|
||||||
#convert_dialect = false
|
|
||||||
#header = "X-JWT-Assertion"
|
|
||||||
#signing_algorithm = "SHA256withRSA"
|
|
||||||
#enable_user_claims = true
|
|
||||||
#claims_extractor_impl = "org.wso2.carbon.apimgt.impl.token.ExtendedDefaultClaimsRetriever"
|
|
||||||
|
|
||||||
[apim.oauth_config]
|
|
||||||
# ------------------Enabled for IOT/EMM ---------------------------
|
|
||||||
enable_outbound_auth_header = true
|
|
||||||
#auth_header = "Authorization"
|
|
||||||
#revoke_endpoint = "https://localhost:${https.nio.port}/revoke"
|
|
||||||
#enable_token_encryption = false
|
|
||||||
#enable_token_hashing = false
|
|
||||||
|
|
||||||
#[apim.devportal]
|
|
||||||
#url = "https://localhost:${mgt.transport.https.port}/devportal"
|
|
||||||
#enable_application_sharing = false
|
|
||||||
#if application_sharing_type, application_sharing_impl both defined priority goes to application_sharing_impl
|
|
||||||
#application_sharing_type = "default" #changed type, saml, default #todo: check the new config for rest api
|
|
||||||
#application_sharing_impl = "org.wso2.carbon.apimgt.impl.SAMLGroupIDExtractorImpl"
|
|
||||||
#display_multiple_versions = false
|
|
||||||
#display_deprecated_apis = false
|
|
||||||
#enable_comments = true
|
|
||||||
#enable_ratings = true
|
|
||||||
#enable_forum = true
|
|
||||||
#enable_anonymous_mode=true
|
|
||||||
#enable_cross_tenant_subscriptions = true
|
|
||||||
#default_reserved_username = "apim_reserved_user"
|
|
||||||
|
|
||||||
[apim.cors]
|
|
||||||
allow_origins = "*"
|
|
||||||
allow_methods = ["GET","PUT","POST","DELETE","PATCH","OPTIONS"]
|
|
||||||
allow_headers = ["authorization","Access-Control-Allow-Origin","Content-Type","SOAPAction","apikey","Internal-Key"]
|
|
||||||
allow_credentials = false
|
|
||||||
|
|
||||||
#[apim.throttling]
|
|
||||||
#enable_data_publishing = true
|
|
||||||
#enable_policy_deploy = true
|
|
||||||
#enable_blacklist_condition = true
|
|
||||||
#enable_persistence = true
|
|
||||||
#throttle_decision_endpoints = ["tcp://localhost:5672","tcp://localhost:5672"]
|
|
||||||
|
|
||||||
#[apim.throttling.blacklist_condition]
|
|
||||||
#start_delay = "5m"
|
|
||||||
#period = "1h"
|
|
||||||
|
|
||||||
#[apim.throttling.jms]
|
|
||||||
#start_delay = "5m"
|
|
||||||
|
|
||||||
#[apim.throttling.event_sync]
|
|
||||||
#hostName = "0.0.0.0"
|
|
||||||
#port = 11224
|
|
||||||
|
|
||||||
#[apim.throttling.event_management]
|
|
||||||
#hostName = "0.0.0.0"
|
|
||||||
#port = 10005
|
|
||||||
|
|
||||||
#[[apim.throttling.url_group]]
|
|
||||||
#traffic_manager_urls = ["tcp://localhost:9611","tcp://localhost:9611"]
|
|
||||||
#traffic_manager_auth_urls = ["ssl://localhost:9711","ssl://localhost:9711"]
|
|
||||||
#type = "loadbalance"
|
|
||||||
|
|
||||||
#[[apim.throttling.url_group]]
|
|
||||||
#traffic_manager_urls = ["tcp://localhost:9611","tcp://localhost:9611"]
|
|
||||||
#traffic_manager_auth_urls = ["ssl://localhost:9711","ssl://localhost:9711"]
|
|
||||||
#type = "failover"
|
|
||||||
|
|
||||||
#[apim.workflow]
|
|
||||||
#enable = false
|
|
||||||
#service_url = "https://localhost:9445/bpmn"
|
|
||||||
#username = "$ref{super_admin.username}"
|
|
||||||
#password = "$ref{super_admin.password}"
|
|
||||||
#callback_endpoint = "https://localhost:${mgt.transport.https.port}/api/am/admin/v0.17/workflows/update-workflow-status"
|
|
||||||
#token_endpoint = "https://localhost:${https.nio.port}/token"
|
|
||||||
#client_registration_endpoint = "https://localhost:${mgt.transport.https.port}/client-registration/v0.17/register"
|
|
||||||
#client_registration_username = "$ref{super_admin.username}"
|
|
||||||
#client_registration_password = "$ref{super_admin.password}"
|
|
||||||
|
|
||||||
#data bridge config
|
|
||||||
#[transport.receiver]
|
|
||||||
#type = "binary"
|
|
||||||
#worker_threads = 10
|
|
||||||
#session_timeout = "30m"
|
|
||||||
#keystore.file_name = "$ref{keystore.tls.file_name}"
|
|
||||||
#keystore.password = "$ref{keystore.tls.password}"
|
|
||||||
#tcp_port = 9611
|
|
||||||
#ssl_port = 9711
|
|
||||||
#ssl_receiver_thread_pool_size = 100
|
|
||||||
#tcp_receiver_thread_pool_size = 100
|
|
||||||
#ssl_enabled_protocols = ["TLSv1","TLSv1.1","TLSv1.2"]
|
|
||||||
#ciphers = ["SSL_RSA_WITH_RC4_128_MD5","SSL_RSA_WITH_RC4_128_SHA"]
|
|
||||||
|
|
||||||
#[apim.notification]
|
|
||||||
#from_address = "APIM.com"
|
|
||||||
#username = "APIM"
|
|
||||||
#password = "APIM+123"
|
|
||||||
#hostname = "localhost"
|
|
||||||
#port = 3025
|
|
||||||
#enable_start_tls = false
|
|
||||||
#enable_authentication = true
|
|
||||||
|
|
||||||
#[apim.token.revocation]
|
|
||||||
#notifier_impl = "org.wso2.carbon.apimgt.keymgt.events.TokenRevocationNotifierImpl"
|
|
||||||
#enable_realtime_notifier = true
|
|
||||||
#realtime_notifier.ttl = 5000
|
|
||||||
#enable_persistent_notifier = true
|
|
||||||
#persistent_notifier.hostname = "https://localhost:2379/v2/keys/jti/"
|
|
||||||
#persistent_notifier.ttl = 5000
|
|
||||||
#persistent_notifier.username = "root"
|
|
||||||
#persistent_notifier.password = "root"
|
|
||||||
|
|
||||||
[[event_handler]]
|
|
||||||
name="userPostSelfRegistration"
|
|
||||||
subscriptions=["POST_ADD_USER"]
|
|
||||||
|
|
||||||
[service_provider]
|
|
||||||
sp_name_regex = "^[\\sa-zA-Z0-9._-]*$"
|
|
||||||
|
|
||||||
[database.local]
|
|
||||||
url = "jdbc:h2:./repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE"
|
|
||||||
|
|
||||||
[[event_listener]]
|
|
||||||
id = "token_revocation"
|
|
||||||
type = "org.wso2.carbon.identity.core.handler.AbstractIdentityHandler"
|
|
||||||
name = "org.wso2.is.notification.ApimOauthEventInterceptor"
|
|
||||||
order = 1
|
|
||||||
[event_listener.properties]
|
|
||||||
notification_endpoint = "https://localhost:${mgt.transport.https.port}/internal/data/v1/notify"
|
|
||||||
username = "${admin.username}"
|
|
||||||
password = "${admin.password}"
|
|
||||||
'header.X-WSO2-KEY-MANAGER' = "default"
|
|
||||||
|
|
||||||
[apim.sync_runtime_artifacts.gateway.skip_list]
|
|
||||||
apis = ["_TokenAPI_.xml", "_API_Key_Management_.xml", "admin--Android-Mutual-SSL-Configuration-Management.xml", "admin--Android-Mutual-SSL-Device-Management.xml", "admin--Android-Mutual-SSL-Event-Receiver.xml"]
|
|
||||||
sequences = ["_api_registration_fault_.xml"]
|
|
||||||
|
|
||||||
[transport.https.properties]
|
|
||||||
maxHttpHeaderSize="16384"
|
|
||||||
|
|
||||||
[transport.http.properties]
|
|
||||||
maxHttpHeaderSize="16384"
|
|
||||||
|
|
||||||
[oauth.grant_type.jwt_bearer]
|
|
||||||
grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.ExtendedJWTGrantHandler"
|
|
||||||
|
|
||||||
[[oauth.custom_grant_type]]
|
|
||||||
name="access_token"
|
|
||||||
grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.AccessTokenGrantHandler"
|
|
||||||
grant_validator="org.wso2.carbon.device.mgt.oauth.extensions.validators.AccessTokenGrantValidator"
|
|
||||||
|
|
||||||
[oauth.token_renewal]
|
|
||||||
renew_refresh_token=false
|
|
@ -1,237 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (C) 2018 - 2023 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
|
||||||
~
|
|
||||||
~ Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
|
||||||
~
|
|
||||||
~ Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
|
||||||
~ you may not use this file except in compliance with the License.
|
|
||||||
~ You may obtain a copy of the License at
|
|
||||||
~
|
|
||||||
~ https://entgra.io/licenses/entgra-commercial/1.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.
|
|
||||||
-->
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
<parent>
|
|
||||||
<groupId>io.entgra.product.community</groupId>
|
|
||||||
<artifactId>integration-test</artifactId>
|
|
||||||
<version>5.2.2-SNAPSHOT</version>
|
|
||||||
<relativePath>../pom.xml</relativePath>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<artifactId>io.entgra.product.community.iot.test.integration</artifactId>
|
|
||||||
<name>Entgra IoT Community - Integration Test Module</name>
|
|
||||||
<description>Integration Tests for Entgra IoT Community Product</description>
|
|
||||||
<packaging>jar</packaging>
|
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
|
||||||
<inherited>false</inherited>
|
|
||||||
<configuration>
|
|
||||||
<argLine>-Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m</argLine>
|
|
||||||
|
|
||||||
<suiteXmlFiles>
|
|
||||||
<suiteXmlFile>src/test/resources/testng-server-mgt.xml</suiteXmlFile>
|
|
||||||
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
|
|
||||||
</suiteXmlFiles>
|
|
||||||
|
|
||||||
<skipTests>${skipTests}</skipTests>
|
|
||||||
|
|
||||||
<systemProperties>
|
|
||||||
<property>
|
|
||||||
<name>maven.test.haltafterfailure</name>
|
|
||||||
<value>false</value>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>java.io.tmpdir</name>
|
|
||||||
<value>${project.build.directory}/</value>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>carbon.zip</name>
|
|
||||||
<value>
|
|
||||||
${basedir}/../../distribution/iot-community/target/${entgra-iot-community}.zip
|
|
||||||
</value>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>framework.resource.location</name>
|
|
||||||
<value>
|
|
||||||
${basedir}/src/test/resources/
|
|
||||||
</value>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>server.list</name>
|
|
||||||
<value>
|
|
||||||
IOT
|
|
||||||
</value>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>usedefaultlisteners</name>
|
|
||||||
<value>false</value>
|
|
||||||
</property>
|
|
||||||
<sec.verifier.dir>${project.build.directory}/security-verifier/</sec.verifier.dir>
|
|
||||||
<instr.file>${basedir}/src/test/resources/instrumentation.txt</instr.file>
|
|
||||||
<filters.file>${basedir}/src/test/resources/filters.txt</filters.file>
|
|
||||||
</systemProperties>
|
|
||||||
<workingDirectory>${basedir}/target</workingDirectory>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>copy-secVerifier</id>
|
|
||||||
<phase>compile</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-dependencies</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${project.build.directory}/security-verifier</outputDirectory>
|
|
||||||
<includeTypes>aar</includeTypes>
|
|
||||||
<includeArtifactIds>SecVerifier</includeArtifactIds>
|
|
||||||
<stripVersion>true</stripVersion>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
|
||||||
<version>2.4</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<goals>
|
|
||||||
<goal>test-jar</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
|
||||||
<version>2.6</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>copy-resources-jks</id>
|
|
||||||
<phase>compile</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${basedir}/src/test/resources/keystores/products
|
|
||||||
</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>
|
|
||||||
${project.build.directory}/tobeCopied/${entgra-iot-community}/repository/resources/security/
|
|
||||||
</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**/*.jks</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-stratos-jks</id>
|
|
||||||
<phase>compile</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${basedir}/src/test/resources/keystores/stratos
|
|
||||||
</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>
|
|
||||||
${project.build.directory}/tobeCopied/${entgra-iot-community}/repository/resources/security/
|
|
||||||
</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**/*.jks</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-axis2files</id>
|
|
||||||
<phase>compile</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${basedir}/src/test/resources/axis2config
|
|
||||||
</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>
|
|
||||||
${project.build.directory}/tobeCopied/${entgra-iot-community}/repository/conf/axis2/
|
|
||||||
</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**/*.xml</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-resources-mar</id>
|
|
||||||
<phase>compile</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${basedir}/src/test/resources/client/modules
|
|
||||||
</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>
|
|
||||||
${project.build.directory}/tobeCopied/${entgra-iot-community}/repository/deployment/client/modules
|
|
||||||
</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**/*.mar</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automation</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.automation.engine</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automation</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.automation.test.utils</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automationutils</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.integration.common.extensions</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.google.code.gson</groupId>
|
|
||||||
<artifactId>gson</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wso2.carbon.automation</groupId>
|
|
||||||
<artifactId>org.wso2.carbon.automation.extensions</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
<properties>
|
|
||||||
<skipTests>true</skipTests>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
</project>
|
|
@ -1,24 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
|
||||||
~
|
|
||||||
~ Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
|
||||||
~
|
|
||||||
~ Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
|
||||||
~ you may not use this file except in compliance with the License.
|
|
||||||
~ You may obtain a copy of the License at
|
|
||||||
~
|
|
||||||
~ https://entgra.io/licenses/entgra-commercial/1.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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
|
|
||||||
|
|
||||||
<suite name="mdm-suite">
|
|
||||||
|
|
||||||
</suite>
|
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,22 +1,20 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.wso2.iot.integration.common.extensions;
|
package org.wso2.iot.integration.common.extensions;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,18 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 - 2022 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
* Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
*
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
* Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
* in compliance with the License.
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* https://entgra.io/licenses/entgra-commercial/1.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
@ -1,19 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
<!--
|
||||||
~ Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
~ Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
~
|
~
|
||||||
~ Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
~
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
~ Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
~ in compliance with the License.
|
||||||
~ you may not use this file except in compliance with the License.
|
|
||||||
~ You may obtain a copy of the License at
|
~ You may obtain a copy of the License at
|
||||||
~
|
~
|
||||||
~ https://entgra.io/licenses/entgra-commercial/1.0
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
~
|
~
|
||||||
~ Unless required by applicable law or agreed to in writing,
|
~ Unless required by applicable law or agreed to in writing,
|
||||||
~ software distributed under the License is distributed on an
|
~ software distributed under the License is distributed on an
|
||||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
~ KIND, either express or implied. See the License for the
|
~ KIND, either express or implied. See the License for the
|
||||||
~ specific language governing permissions and limitations
|
~ specific language governing permissions and limitations
|
||||||
~ under the License.
|
~ under the License.
|
||||||
-->
|
-->
|
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
~ Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
~
|
~
|
||||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
~ Version 2.0 (the "License"); you may not use this file except
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
~ in compliance with the License.
|
~ in compliance with the License.
|
||||||
~ You may obtain a copy of the License at
|
~ You may obtain a copy of the License at
|
@ -1,18 +1,17 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
# Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
#
|
#
|
||||||
# Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
#
|
# Version 2.0 (the "License"); you may not use this file except
|
||||||
# Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
# in compliance with the License.
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
# You may obtain a copy of the License at
|
||||||
#
|
#
|
||||||
# https://entgra.io/licenses/entgra-commercial/1.0
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
#
|
#
|
||||||
# Unless required by applicable law or agreed to in writing,
|
# Unless required by applicable law or agreed to in writing,
|
||||||
# software distributed under the License is distributed on an
|
# software distributed under the License is distributed on an
|
||||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
# KIND, either express or implied. See the License for the
|
# KIND, either express or implied. See the License for the
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
#
|
#
|
@ -0,0 +1,23 @@
|
|||||||
|
<!--
|
||||||
|
~ Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
|
~
|
||||||
|
~ Entgra (Pvt) Ltd. licenses this file to you 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
|
||||||
|
|
||||||
|
<suite name="mdm-suite">
|
||||||
|
|
||||||
|
</suite>
|
@ -1,22 +1,20 @@
|
|||||||
<!--
|
<!--
|
||||||
~ Copyright (C) 2018 - 2020 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
|
~ Copyright (c) 2018-2023, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
||||||
~
|
~
|
||||||
~ Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
|
~ Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
||||||
~
|
~ Version 2.0 (the "License"); you may not use this file except
|
||||||
~ Licensed under the Entgra Commercial License, Version 1.0 (the "License");
|
~ in compliance with the License.
|
||||||
~ you may not use this file except in compliance with the License.
|
|
||||||
~ You may obtain a copy of the License at
|
~ You may obtain a copy of the License at
|
||||||
~
|
~
|
||||||
~ https://entgra.io/licenses/entgra-commercial/1.0
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
~
|
~
|
||||||
~ Unless required by applicable law or agreed to in writing,
|
~ Unless required by applicable law or agreed to in writing,
|
||||||
~ software distributed under the License is distributed on an
|
~ software distributed under the License is distributed on an
|
||||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
~ KIND, either express or implied. See the License for the
|
~ KIND, either express or implied. See the License for the
|
||||||
~ specific language governing permissions and limitations
|
~ specific language governing permissions and limitations
|
||||||
~ under the License.
|
~ under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
|
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
|
||||||
|
|
||||||
<suite name="iot-suite-initializer" verbose="10">
|
<suite name="iot-suite-initializer" verbose="10">
|
@ -1,142 +0,0 @@
|
|||||||
<?org.wso2.uesxml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
||||||
~
|
|
||||||
~ WSO2 Inc. licenses this file to you 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>io.entgra.product.community</groupId>
|
|
||||||
<artifactId>p2-profile</artifactId>
|
|
||||||
<version>5.2.2-SNAPSHOT</version>
|
|
||||||
<relativePath>../pom.xml</relativePath>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<artifactId>entgra-emm-p2-profile</artifactId>
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
<name>Entgra EMM - p2 profile</name>
|
|
||||||
<description>Entgra EMM p2 profile</description>
|
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<inherited>false</inherited>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>1-unpack-entgra-iots</id>
|
|
||||||
<phase>test</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>unpack</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>io.entgra.product.community</groupId>
|
|
||||||
<artifactId>entgra-iot-core</artifactId>
|
|
||||||
<type>zip</type>
|
|
||||||
<overWrite>true</overWrite>
|
|
||||||
<outputDirectory>target</outputDirectory>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.wso2.maven</groupId>
|
|
||||||
<artifactId>carbon-p2-plugin</artifactId>
|
|
||||||
<version>${carbon.p2.plugin.version}</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>2-p2-repo-generation</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>p2-repo-gen</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
|
|
||||||
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
|
|
||||||
<publishArtifacts>true</publishArtifacts>
|
|
||||||
<publishArtifactRepository>true</publishArtifactRepository>
|
|
||||||
<featureArtifacts>
|
|
||||||
<featureArtifactDef>
|
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.mobile.android.feature:${carbon.device.mgt.plugin.version}
|
|
||||||
</featureArtifactDef>
|
|
||||||
<!--<featureArtifactDef>-->
|
|
||||||
<!--org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.notification.listener.feature:${carbon.device.mgt.plugin.version}-->
|
|
||||||
<!--</featureArtifactDef>-->
|
|
||||||
</featureArtifacts>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>feature-install</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>p2-profile-gen</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<profile>default</profile>
|
|
||||||
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
|
|
||||||
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
|
|
||||||
<destination>${basedir}/target/${entgra-iot-core}/repository/components</destination>
|
|
||||||
<deleteOldProfileFiles>true</deleteOldProfileFiles>
|
|
||||||
<features>
|
|
||||||
<feature>
|
|
||||||
<id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
|
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
|
||||||
</feature>
|
|
||||||
<!--<feature>-->
|
|
||||||
<!--<id>org.wso2.carbon.device.mgt.notification.listener.feature.group</id>-->
|
|
||||||
<!--<version>${carbon.device.mgt.plugin.version}</version>-->
|
|
||||||
<!--</feature>-->
|
|
||||||
</features>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
||||||
<artifactId>replacer</artifactId>
|
|
||||||
<version>1.5.3</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>replace</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<filesToInclude>
|
|
||||||
${basedir}/target/${entgra-iot-core}/repository/components/default/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
|
||||||
</filesToInclude>
|
|
||||||
<replacements>
|
|
||||||
<replacement>
|
|
||||||
<token>false</token>
|
|
||||||
<value>true</value>
|
|
||||||
</replacement>
|
|
||||||
</replacements>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
</project>
|
|
@ -1,206 +0,0 @@
|
|||||||
<?org.wso2.uesxml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
||||||
~
|
|
||||||
~ WSO2 Inc. licenses this file to you 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>io.entgra.product.community</groupId>
|
|
||||||
<artifactId>p2-profile</artifactId>
|
|
||||||
<version>5.2.2-SNAPSHOT</version>
|
|
||||||
<relativePath>../pom.xml</relativePath>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<artifactId>entgra-iot-p2-profile</artifactId>
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
<name>Entgra IoT - p2 profile</name>
|
|
||||||
<description>Entgra IoT p2 profile</description>
|
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<inherited>false</inherited>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>1-unpack-entgra-iots</id>
|
|
||||||
<phase>test</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>unpack</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>io.entgra.product.community</groupId>
|
|
||||||
<artifactId>entgra-iot-core</artifactId>
|
|
||||||
<type>zip</type>
|
|
||||||
<overWrite>true</overWrite>
|
|
||||||
<outputDirectory>target</outputDirectory>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-emqx-exhook</id>
|
|
||||||
<phase>test</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
|
|
||||||
<artifactId>io.entgra.device.mgt.plugins.emqx.exhook</artifactId>
|
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
|
||||||
<type>jar</type>
|
|
||||||
<overWrite>true</overWrite>
|
|
||||||
<classifier>jar-with-dependencies</classifier>
|
|
||||||
<outputDirectory>${project.basedir}/target/${entgra-iot-core}/repository/components/lib/</outputDirectory>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
<overWriteReleases>false</overWriteReleases>
|
|
||||||
<overWriteSnapshots>true</overWriteSnapshots>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-emqx-initializer</id>
|
|
||||||
<phase>test</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
|
|
||||||
<artifactId>io.entgra.device.mgt.plugins.emqx.initializer</artifactId>
|
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
|
||||||
<type>jar</type>
|
|
||||||
<overWrite>true</overWrite>
|
|
||||||
<outputDirectory>${project.basedir}/target/${entgra-iot-core}/repository/components/dropins/</outputDirectory>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
<overWriteReleases>false</overWriteReleases>
|
|
||||||
<overWriteSnapshots>true</overWriteSnapshots>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.wso2.maven</groupId>
|
|
||||||
<artifactId>carbon-p2-plugin</artifactId>
|
|
||||||
<version>${carbon.p2.plugin.version}</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>2-p2-repo-generation</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>p2-repo-gen</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
|
|
||||||
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
|
|
||||||
<publishArtifacts>true</publishArtifacts>
|
|
||||||
<publishArtifactRepository>true</publishArtifactRepository>
|
|
||||||
<featureArtifacts>
|
|
||||||
<featureArtifactDef>
|
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.adapter.feature:${carbon.device.mgt.plugin.version}
|
|
||||||
</featureArtifactDef>
|
|
||||||
<featureArtifactDef>
|
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.notification.listener.feature:${carbon.device.mgt.plugin.version}
|
|
||||||
</featureArtifactDef>
|
|
||||||
<featureArtifactDef>
|
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.extension.siddhi.device.feature:${carbon.device.mgt.plugin.version}
|
|
||||||
</featureArtifactDef>
|
|
||||||
<featureArtifactDef>
|
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.extension.siddhi.execution.json.feature:${carbon.device.mgt.plugin.version}
|
|
||||||
</featureArtifactDef>
|
|
||||||
<featureArtifactDef>
|
|
||||||
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.iot.analytics.feature:${carbon.device.mgt.plugin.version}
|
|
||||||
</featureArtifactDef>
|
|
||||||
</featureArtifacts>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>feature-install</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>p2-profile-gen</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<profile>default</profile>
|
|
||||||
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
|
|
||||||
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
|
|
||||||
<destination>${basedir}/target/${entgra-iot-core}/repository/components</destination>
|
|
||||||
<deleteOldProfileFiles>true</deleteOldProfileFiles>
|
|
||||||
<features>
|
|
||||||
<feature>
|
|
||||||
<id>org.wso2.carbon.device.mgt.adapter.feature.group</id>
|
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
|
||||||
</feature>
|
|
||||||
<feature>
|
|
||||||
<id>org.wso2.carbon.device.mgt.notification.listener.feature.group</id>
|
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
|
||||||
</feature>
|
|
||||||
<feature>
|
|
||||||
<id>org.wso2.extension.siddhi.device.feature.group</id>
|
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
|
||||||
</feature>
|
|
||||||
<feature>
|
|
||||||
<id>org.wso2.extension.siddhi.execution.json.feature.group</id>
|
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
|
||||||
</feature>
|
|
||||||
<feature>
|
|
||||||
<id>org.wso2.carbon.device.mgt.iot.analytics.feature.group</id>
|
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
|
||||||
</feature>
|
|
||||||
</features>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
||||||
<artifactId>replacer</artifactId>
|
|
||||||
<version>1.5.3</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>replace</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<filesToInclude>
|
|
||||||
${basedir}/target/${entgra-iot-core}/repository/components/default/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
|
||||||
</filesToInclude>
|
|
||||||
<replacements>
|
|
||||||
<replacement>
|
|
||||||
<token>false</token>
|
|
||||||
<value>true</value>
|
|
||||||
</replacement>
|
|
||||||
</replacements>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
</project>
|
|
Loading…
Reference in new issue