Could not find lane 'ios debug'. Available lanes: ios beta - fastlane

when I added a new fastlane like this in Fastfile:
default_platform(:ios)
platform :ios do
desc "Push a new beta build to pgy"
before_all do
ENV["CACHE_GIT_URL"] = ENV["GIT_URL"]
end
lane :debug do
xcode_select "/Applications/Xcode.app"
match(
type: "adhoc"
)
build_app(
workspace: "Runner.xcworkspace",
scheme: "Runner",
export_method: "ad-hoc",
skip_archive: true
)
pgyer(
api_key: ENV['PGY_API_KEY'],
user_key: ENV['PGY_USER_KEY']
)
end
lane :beta do
xcode_select "/Applications/Xcode_12.4.app"
if is_ci
create_keychain(
name: ENV['MATCH_KEYCHAIN_NAME'],
password: ENV["MATCH_KEYCHAIN_PASSWORD"],
default_keychain: true,
unlock: true,
timeout: 3600,
lock_when_sleeps: false
)
end
match(
app_identifier: ENV["APP_IDENTIFIER"],
git_url: ENV["GIT_URL"],
type: "adhoc",
readonly: is_ci,
keychain_name: ENV['MATCH_KEYCHAIN_NAME'],
keychain_password: ENV["MATCH_KEYCHAIN_PASSWORD"]
)
build_app(
workspace: "Runner.xcworkspace",
scheme: "Runner",
export_method: "ad-hoc",
skip_archive: true
)
pgyer(
api_key: ENV['PGY_API_KEY'],
user_key: ENV['PGY_USER_KEY']
)
end
end
I added a new lane called debug, but when I run the command:
bundle exec fastlane debug
shows error:
$ bundle exec fastlane debug ‹ruby-2.7.2›
[✔] 🚀
+-----------------------+---------+--------+
| Used plugins |
+-----------------------+---------+--------+
| Plugin | Version | Action |
+-----------------------+---------+--------+
| fastlane-plugin-pgyer | 0.2.2 | pgyer |
+-----------------------+---------+--------+
[16:51:14]: ------------------------------
[16:51:14]: --- Step: default_platform ---
[16:51:14]: ------------------------------
+------------------+-----+
| Lane Context |
+------------------+-----+
| DEFAULT_PLATFORM | ios |
+------------------+-----+
[16:51:14]: Could not find lane 'ios debug'. Available lanes: ios beta
+------+------------------+-------------+
| fastlane summary |
+------+------------------+-------------+
| Step | Action | Time (in s) |
+------+------------------+-------------+
| 1 | default_platform | 0 |
+------+------------------+-------------+
[16:51:14]: fastlane finished with errors
[!] Could not find lane 'ios debug'. Available lanes: ios beta
what should I do to fix it?

Related

Using CASE in PostgreSQL to search for each values in column and return the output with filter

There is a column with different values like below :
Ava avtar 18.1.100-33_HF305143
app agent 19.9.0.99 (root-2021-323)
BOOST:1.3.0.0-12345 FUSE:2.9.4 ora_dw05_plm10
BOOST:1.3.0.0-12345 FUSE:2.9.4 tar
BOOST:1.3.0.0-12345 FUSE:2.9.4 scp
BOOST:1.3.0.0-12345 FUSE:2.9.7 /usr/pgsql-10/bin/pg_dump
BOOST:1.3.0.1-12345 CBFS 6.1 CVMountd.exe
PP-19.9.0-13-18087
______ ddrmaint 7.5.0-183
________ app agent 4.5.0.0 (52)
In the output when I query using select, I should get as below after filter the column :
Ava avtar 18.1.100
app agent 19.9.0.99
BOOST:1.3.0.0-12345 FUSE:2.9.4
BOOST:1.3.0.0-12345 FUSE:2.9.4
BOOST:1.3.0.0-12345 FUSE:2.9.4
BOOST:1.3.0.0-12345 FUSE:2.9.7
BOOST:1.3.0.1-12345 CBFS 6.1
PP-19.9.0-13
______ ddrmaint 7.5.0
________ app agent 4.5.0.0
I'm trying to use select with CASE for this and not going forward. Please let me know the solution for the same.
select
CASE
WHEN 'PP-19.9.0-13-18087' ~ 'PP' THEN split_part('PP-19.9.0-13-18087', '-', 1)
WHEN 'BOOST:1.3.0.0-12345 FUSE:2.9.4 scp' ~ 'BOOST' THEN split_part('BOOST:1.3.0.0-12345 FUSE:2.9.4 scp', ':', 1)
END
Here is a solution using various tools:split_part, substr, left, reverse.
create table t ( value varchar(100));
insert into t values
('Ava avtar 18.1.100-33_HF305143'),
('app agent 19.9.0.99 (root-2021-323)'),
('BOOST:1.3.0.0-12345 FUSE:2.9.4 ora_dw05_plm10'),
('BOOST:1.3.0.0-12345 FUSE:2.9.4 tar'),
('BOOST:1.3.0.0-12345 FUSE:2.9.4 scp'),
('BOOST:1.3.0.0-12345 FUSE:2.9.7 /usr/pgsql-10/bin/pg_dump'),
('BOOST:1.3.0.1-12345 CBFS 6.1 CVMountd.exe'),
('PP-19.9.0-13-18087'),
('______ ddrmaint 7.5.0-183'),
('________ app agent 4.5.0.0 (52)');
✓
10 rows affected
select
value,
length(value),
case left(value,2)
when 'Av' then split_part(value, '-', 1)
when 'ap' then split_part(value, '(', 1)
when 'BO' then case
when value ~ 'BOOST:1(\.\d)+ FUSE' then left(value,30)
else left(value,28)
end
when 'PP' then reverse(substr(reverse(value),strpos(reverse(value),'-')+1,length(value)))
when '__' then case
when value ~ 'ddrmaint' then left(value,21)
else left(value,26)
end
else value
end as processed_value
from t
value | length | processed_value
:------------------------------------------------------- | -----: | :---------------------------
Ava avtar 18.1.100-33_HF305143 | 30 | Ava avtar 18.1.100
app agent 19.9.0.99 (root-2021-323) | 35 | app agent 19.9.0.99
BOOST:1.3.0.0-12345 FUSE:2.9.4 ora_dw05_plm10 | 45 | BOOST:1.3.0.0-12345 FUSE:2.9
BOOST:1.3.0.0-12345 FUSE:2.9.4 tar | 34 | BOOST:1.3.0.0-12345 FUSE:2.9
BOOST:1.3.0.0-12345 FUSE:2.9.4 scp | 34 | BOOST:1.3.0.0-12345 FUSE:2.9
BOOST:1.3.0.0-12345 FUSE:2.9.7 /usr/pgsql-10/bin/pg_dump | 56 | BOOST:1.3.0.0-12345 FUSE:2.9
BOOST:1.3.0.1-12345 CBFS 6.1 CVMountd.exe | 41 | BOOST:1.3.0.1-12345 CBFS 6.1
PP-19.9.0-13-18087 | 18 | PP-19.9.0-13
______ ddrmaint 7.5.0-183 | 25 | ______ ddrmaint 7.5.0
________ app agent 4.5.0.0 (52) | 31 | ________ app agent 4.5.0.0
*db<>fiddle here

Join select query from 2 tables

Given two tables (in the same DB):
I would like to query a list of results from both tables WHERE environment = qa/staging ordered by time
I am using Postgres DB and express server.
Expected results :
build | qa | 2020-09-04 18:01:04.425261 | true
test | qa | 2020-09-04 22:46:50.862843 | #signUpHappyPath | 35530 | true
test | qa | 2020-09-04 22:50:30.256647 | #passwordStrength| 6877 | true
build | qa | 2020-09-05 01:15:44.063051 | false
test | qa | 2020-09-05 01:20:54.900635 | #shortseq | 74450 | false
If I understand your question correctly, the following SQL should work to join the 2 tables on the "environment" field, limit the results to where the environment field is either "qa" or "staging", and then sort by time in ascending order:
SELECT Tab1.*, Tab2.*
FROM YourTableOne AS Tab1, YourTableTwo AS Tab2
WHERE (Tab1.environment = Tab2.environment)
AND ((Tab1.environment = 'qa') OR (Tab1.environment = 'staging'))
ORDER BY Tab1.time
Alternatively, join the 2 tables on the "time" field, limit the results to where the environment field is either "qa" or "staging", and then sort by time in ascending order:
SELECT Tab1.*, Tab2.*
FROM YourTableOne AS Tab1, YourTableTwo AS Tab2
WHERE (Tab1.time = Tab2.time)
AND ((Tab1.environment = 'qa') OR (Tab1.environment = 'staging'))
ORDER BY Tab1.time

complex canvas getting stuck in the middle

Setup:
Celery 4.1.0, broker=RabbitMQ 3.6.5, backend=Redis 3.2.5
Consider the following canvas:
celery worker -A worker.celeryapp:app -l info -Q default -c 2 -n defaultworker#%h -Ofair
#app.task(name='task_1',
bind=True,
base=MyConnectionHolderTask)
def task_1(self, feed_id, flow_id, **kwargs):
do_something()
task_1 = t_1.si(feed_id, flow_id)
.
.
task_13 = t_13.si(feed_id, flow_id)
(task_1 |
group((task_2 | group(task_3, task_4)),
task_5,
task_6,
task_7,
task_8) |
task_9 |
task_10 |
task_11 |
task_12 |
task_13).apply_async(link_error=unlock)
means I have chain of tasks which one of its tasks is a group of several tasks, and one of them is chain of size 2 (with latter task as group of 2).
Expected behavior
all task succeeded so expecting finish until task_13
Actual behavior
task_4 is the last to run. task_9 and the rest (10..13) doesn't run.
if i cancel the group of task_3 & task_4 it does work (till 13):
(task_1 |
group((task_2 | task_3 | task_4),
task_5,
task_6,
task_7,
task_8) |
task_9 |
task_10 |
task_11 |
task_12 |
task_13).apply_async(link_error=unlock)
Ref: Issue in github

Cloud Foundry bosh Error 140003: unknown resource pool

I'm attempting to setup a service broker to add postgres to our Cloud Foundry installation. We're running our system on vmWare. I'm using this release in order to do that:
cf-contrib-release
I added the release in bosh:
#bosh releases
Acting as user 'director' on 'microbosh-ba846726bed7032f1fd4'
+-----------------------+----------------------+-------------+
| Name | Versions | Commit Hash |
+-----------------------+----------------------+-------------+
| cf | 208.12* | a0de569a+ |
| cf-autoscaling | 13* | 927bc7ed+ |
| cf-metrics | 34* | 22f7e1e1 |
| cf-mysql | 20* | caa23b3d+ |
| | 22* | af278086+ |
| cf-rabbitmq | 161* | 4d298aec |
| cf-riak-cs | 10* | 5e7e46c9+ |
| cf-services-contrib | 6* | 57fd2098+ |
| docker | 23* | 82346881+ |
| newrelic_broker | 1.3* | 1ce3471d+ |
| notifications-with-ui | 18* | 490b6446+ |
| postgresql-docker | 4* | a53c9333+ |
| push-console-release | console-du-jour-203* | d2d31585+ |
| spring-cloud-broker | 1.0.0* | efd69612 |
+-----------------------+----------------------+-------------+
(*) Currently deployed
(+) Uncommitted changes
Releases total: 13
I setup my resource pools and jobs in my yaml file according to this doumentation:
http://bosh.io/docs/vsphere-cpi.html#resource-pools
This is how our cluster looks:
vmware cluster
And here is what I put in the yaml file:
resource_pools:
- name: default
network: default
stemcell:
name: bosh-vsphere-esxi-ubuntu-trusty-go_agent
version: '2865.1'
cloud_properties:
cpu: 2
ram: 4096
disk: 10240
datacenters:
- name: 'Universal City'
clusters:
- USH_UCS_CLOUD_FOUNDRY_NONPROD_01: {resource_pool: 'USH_UCS_CLOUD_FOUNDRY_NONPROD_01_RP'}
jobs:
- name: gateways
release: cf-services-contrib
templates:
- name: postgresql_gateway_ng
instances: 1
resource_pool: 'USH_UCS_CLOUD_FOUNDRY_NONPROD_01_RP'
networks:
- name: default
default: [dns, gateway]
properties:
# Service credentials
uaa_client_id: "cf"
uaa_endpoint: http://uaa.devcloudwest.example.com
uaa_client_auth_credentials:
username: admin
password: secret
And I'm getting an error when I run 'bosh deploy' that says:
Error 140003: Job `gateways' references an unknown resource pool `USH_UCS_CLOUD_FOUNDRY_NONPROD_01_RP'
Here's my yaml file in it's entirety:
name: cf-22b9f4d62bb6f0563b71
director_uuid: fd713790-b1bc-401a-8ea1-b8209f1cc90c
releases:
- name: cf-services-contrib
version: 6
compilation:
workers: 3
network: default
reuse_compilation_vms: true
cloud_properties:
ram: 5120
disk: 10240
cpu: 2
update:
canaries: 1
canary_watch_time: 30000-60000
update_watch_time: 30000-60000
max_in_flight: 4
networks:
- name: default
type: manual
subnets:
- range: exam 10.114..130.0/24
gateway: exam 10.114..130.1
cloud_properties:
name: 'USH_UCS_CLOUD_FOUNDRY'
#resource_pools:
# - name: common
# network: default
# size: 8
# stemcell:
# name: bosh-vsphere-esxi-ubuntu-trusty-go_agent
# version: '2865.1'
resource_pools:
- name: default
network: default
stemcell:
name: bosh-vsphere-esxi-ubuntu-trusty-go_agent
version: '2865.1'
cloud_properties:
cpu: 2
ram: 4096
disk: 10240
datacenters:
- name: 'Universal City'
clusters:
- USH_UCS_CLOUD_FOUNDRY_NONPROD_01: {resource_pool: 'USH_UCS_CLOUD_FOUNDRY_NONPROD_01_RP'}
jobs:
- name: gateways
release: cf-services-contrib
templates:
- name: postgresql_gateway_ng
instances: 1
resource_pool: 'USH_UCS_CLOUD_FOUNDRY_NONPROD_01_RP'
networks:
- name: default
default: [dns, gateway]
properties:
# Service credentials
uaa_client_id: "cf"
uaa_endpoint: http://uaa.devcloudwest.example.com
uaa_client_auth_credentials:
username: admin
password: secret
- name: postgresql_service_node
release: cf-services-contrib
template: postgresql_node_ng
instances: 1
resource_pool: common
persistent_disk: 10000
properties:
postgresql_node:
plan: default
networks:
- name: default
default: [dns, gateway]
properties:
networks:
apps: default
management: default
cc:
srv_api_uri: http://api.devcloudwest.example.com
nats:
address: exam 10.114..130.11
port: 25555
user: nats #CHANGE
password: secret
authorization_timeout: 5
service_plans:
postgresql:
default:
description: "Developer, 250MB storage, 10 connections"
free: true
job_management:
high_water: 230
low_water: 20
configuration:
capacity: 125
max_clients: 10
quota_files: 4
quota_data_size: 240
enable_journaling: true
backup:
enable: false
lifecycle:
enable: false
serialization: enable
snapshot:
quota: 1
postgresql_gateway:
token: f75df200-4daf-45b5-b92a-cb7fa1a25660
default_plan: default
supported_versions: ["9.3"]
version_aliases:
current: "9.3"
cc_api_version: v2
postgresql_node:
supported_versions: ["9.3"]
default_version: "9.3"
max_tmp: 900
password: secret
And here's gist with the debug output from that error:
postgres_2423_debug.txt
The docs for the jobs blocks say:
resource_pool [String, required]: A valid resource pool name from the Resource Pools block. BOSH runs instances of this job in a VM from the named resource pool.
This needs to match the name of one of your resource_pools, namely default, not the name of the resource pool in vSphere.
The only sections that have direct references to the IaaS are things that say cloud_properties. Specific names of resources (like networks, clusters, or datacenters in your vSphere, or subnets, AZs, and instance types in AWS) only show up in places that say cloud_properties.
You use that data to define "networks" and "resource pools" at a higher level of abstraction that is IaaS-agnostic, e.g. except for cloud properties, the specifications you give for resource pools is the same whether you're deploying to vSphere, AWS, OpenStack, etc.
Then your jobs reference these networks, resource pools, etc. by the logical name you've given to the abstractions. In particular, jobs don't require any IaaS-specific configuration whatsoever, just references to a logical network(s) and a resource pool that you've defined elsewhere in your manifest.

Deployment issue in Fabric for code using camel-cxf and camel-http

I am getting the following error while trying to deploy the test-ext feature of the test-ext-profile in JBoss Fuse Fabric. The other feature ticktock of the same profile is getting deployed alright and working fine. I am trying to deploy the two profiles in the child container by typing the command - "container-change-profile test-child-container-1 feature-camel test-ext-profile". PLEASE HELP.
----------------------------------------------------------------------------------------
ERROR --
-------------------------------------------------------------------------------------------------
2015-01-05 16:06:47,125 | INFO | admin-4-thread-1 | FabricConfigAdminBridge | figadmin.FabricConfigAdminBridge 173 | 67 - io.fabric8.fabric-configadmin - 1.0.0.redhat-379 | Updating configuration io.fabric8.agent
2015-01-05 16:06:47,140 | INFO | admin-4-thread-1 | FabricConfigAdminBridge | figadmin.FabricConfigAdminBridge 142 | 67 - io.fabric8.fabric-configadmin - 1.0.0.redhat-379 | Deleting configuration org.ops4j.pax.logging
2015-01-05 16:06:47,140 | INFO | o.fabric8.agent) | DeploymentAgent | io.fabric8.agent.DeploymentAgent 243 | 60 - io.fabric8.fabric-agent - 1.0.0.redhat-379 | DeploymentAgent updated with {hash=ProfileImpl[id='default', version='1.0']-, org.ops4j.pax.url.mvn.defaultrepositories=file:C:\manish\Work - Consulting\installers\jboss-fuse-6.1.0.redhat-379/system#snapshots#id=karaf-default,file:C:\manish\Work - Consulting\installers\jboss-fuse-6.1.0.redhat-379/local-repo#snapshots#id=karaf-local, feature.karaf=karaf, feature.jolokia=jolokia, resolve.optional.imports=false, feature.fabric-core=fabric-core, fabric.zookeeper.pid=io.fabric8.agent, org.ops4j.pax.url.mvn.repositories=http://repo1.maven.org/maven2#id=central, https://repo.fusesource.com/nexus/content/groups/public#id=fusepublic, https://repository.jboss.org/nexus/content/repositories/public#id=jbosspublic, https://repo.fusesource.com/nexus/content/repositories/releases#id=jbossreleases, https://repo.fusesource.com/nexus/content/groups/ea#id=jbossearlyaccess, http://repository.springsource.com/maven/bundles/release#id=ebrreleases, http://repository.springsource.com/maven/bundles/external#id=ebrexternal, https://oss.sonatype.org/content/groups/scala-tools#id=scala, repository.fabric8=mvn:io.fabric8/fabric8-karaf/1.0.0.redhat-379/xml/features, patch.repositories=https://repo.fusesource.com/nexus/content/repositories/releases, https://repo.fusesource.com/nexus/content/groups/ea, service.pid=io.fabric8.agent, feature.fabric-jaas=fabric-jaas, feature.fabric-agent=fabric-agent, feature.fabric-web=fabric-web, feature.fabric-git-server=fabric-git-server, feature.fabric-git=fabric-git, repository.karaf-standard=mvn:org.apache.karaf.assemblies.features/standard/2.3.0.redhat-610379/xml/features, optional.ops4j-base-lang=mvn:org.ops4j.base/ops4j-base-lang/1.4.0}
2015-01-05 16:07:12,344 | INFO | o.fabric8.agent) | DeploymentAgent | io.fabric8.agent.DeploymentAgent 243 | 60 - io.fabric8.fabric-agent - 1.0.0.redhat-379 | DeploymentAgent updated with {feature.ticktock=ticktock, hash=ProfileImpl[id='test-ext-profile', version='1.0']----, org.ops4j.pax.url.mvn.defaultrepositories=file:C:\manish\Work - Consulting\installers\jboss-fuse-6.1.0.redhat-379/system#snapshots#id=karaf-default,file:C:\manish\Work - Consulting\installers\jboss-fuse-6.1.0.redhat-379/local-repo#snapshots#id=karaf-local, feature.karaf=karaf, repository.file:c:_goutam_osgitest2_unsolr_features.xml=file:C:/manish/osgitest2/testsolr/features.xml, feature.jolokia=jolokia, repository.karaf-spring=mvn:org.apache.karaf.assemblies.features/spring/2.3.0.redhat-610379/xml/features, feature.camel-blueprint=camel-blueprint, resolve.optional.imports=false, feature.camel-core=camel-core, feature.test-ext=test-ext, feature.camel-cxf_0.0.0=camel-cxf/0.0.0, feature.fabric-core=fabric-core, repository.karaf-enterprise=mvn:org.apache.karaf.assemblies.features/enterprise/2.3.0.redhat-610379/xml/features, fabric.zookeeper.pid=io.fabric8.agent, feature.fabric-camel=fabric-camel, org.ops4j.pax.url.mvn.repositories=http://repo1.maven.org/maven2#id=central, https://repo.fusesource.com/nexus/content/groups/public#id=fusepublic, https://repository.jboss.org/nexus/content/repositories/public#id=jbosspublic, https://repo.fusesource.com/nexus/content/repositories/releases#id=jbossreleases, https://repo.fusesource.com/nexus/content/groups/ea#id=jbossearlyaccess, http://repository.springsource.com/maven/bundles/release#id=ebrreleases, http://repository.springsource.com/maven/bundles/external#id=ebrexternal, https://oss.sonatype.org/content/groups/scala-tools#id=scala, repository.fabric8=mvn:io.fabric8/fabric8-karaf/1.0.0.redhat-379/xml/features, feature.fabric-jaas=fabric-jaas, patch.repositories=https://repo.fusesource.com/nexus/content/repositories/releases, https://repo.fusesource.com/nexus/content/groups/ea, service.pid=io.fabric8.agent, feature.fabric-agent=fabric-agent, feature.fabric-web=fabric-web, feature.fabric-git-server=fabric-git-server, feature.camel-http_0.0.0=camel-http/0.0.0, feature.fabric-git=fabric-git, repository.apache-camel=mvn:org.apache.camel.karaf/apache-camel/2.12.0.redhat-610379/xml/features, repository.karaf-standard=mvn:org.apache.karaf.assemblies.features/standard/2.3.0.redhat-610379/xml/features, optional.ops4j-base-lang=mvn:org.ops4j.base/ops4j-base-lang/1.4.0, attribute.parents=feature-camel}
2015-01-05 16:07:13,141 | ERROR | agent-1-thread-1 | DeploymentAgent | .fabric8.agent.DeploymentAgent$2 255 | 60 - io.fabric8.fabric-agent - 1.0.0.redhat-379 | Unable to update agent
org.osgi.service.resolver.ResolutionException: Unable to resolve dummy/0.0.0: missing requirement [dummy/0.0.0] osgi.identity; osgi.identity=test-ext; type=karaf.feature; version=0
at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]
at org.apache.felix.resolver.Candidates.populate(Candidates.java:153)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:148)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]
at io.fabric8.agent.DeploymentBuilder.resolve(DeploymentBuilder.java:226)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]
at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:521)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]
at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:252)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_71]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_71]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_71]
-------------------------------------------------------------------------------------------------
THE PROFILE DISPLAY DETAILS ARE AS FOLLOWS -
-------------------------------------------------------------------------------------------------
JBossFuse:karaf#root> profile-display test-ext-profile
Profile id: test-ext-profile
Version : 1.0
Attributes:
parents: feature-camel
Containers: test-child-container-1
Container settings
----------------------------
Repositories :
file:C:/manish/osgitest2/testsolr/features.xml
Features :
camel-http/0.0.0
camel-cxf/0.0.0
test-ext
ticktock
Configuration details
----------------------------
Other resources
----------------------------
-------------------------------------------------------------------------------------------------
THE features.xml LOOKS LIKE THIS -
-------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<features name="my-features">
<feature name="ticktock">
<bundle>file:C:/manish/osgitest2/testsolr/osgitest_tick2.jar</bundle>
<bundle>file:C:/manish/osgitest2/testsolr/osgitest_tock2.jar</bundle>
</feature>
<feature name="test-ext">
<bundle>file:C:/manish/osgitest2/testsolr/standard-ext-api-1.0.0-SNAPSHOT.jar</bundle>
</feature>
</features>
-------------------------------------------------------------------------------------------------
MANIFEST.MF of standard-ext-api-1.0.0-SNAPSHOT.jar is as below. This jar uses camel-cxf and camel-http.
-------------------------------------------------------------------------------------------------
Manifest-Version: 1.0
Bnd-LastModified: 1420491685490
Build-Jdk: 1.7.0_71
Built-By: manish
Bundle-ManifestVersion: 2
Bundle-Name: Camel Blueprint Route for test ext Query
Bundle-SymbolicName: standard-ext-api
Bundle-Version: 1.0.0.SNAPSHOT
Created-By: Apache Maven Bundle Plugin
Export-Package: org.apache.cxf;uses:="org.apache.cxf.feature,org.apache.
cxf.interceptor,org.apache.cxf.common.i18n,org.apache.cxf.common.loggin
g,org.apache.cxf.common.util,org.apache.cxf.common.classloader";version
="2.7.0.redhat-610379"
Import-Package: javax.ws.rs;version="[2.0,3)",javax.ws.rs.core;version="
[2.0,3)",javax.xml.bind.annotation,org.apache.camel;version="[2.12,3)",
org.apache.camel.builder;version="[2.12,3)",org.apache.camel.model;vers
ion="[2.12,3)",org.apache.camel.processor.aggregate;version="[2.12,3)",
org.apache.cxf.common.classloader;version="[2.7,3)",org.apache.cxf.comm
on.i18n;version="[2.7,3)",org.apache.cxf.common.logging;version="[2.7,3
)",org.apache.cxf.common.util;version="[2.7,3)",org.apache.cxf.feature;
version="[2.7,3)",org.apache.cxf.interceptor;version="[2.7,3)",org.osgi
.service.blueprint;version="[1.0.0,2.0.0)"
Tool: Bnd-1.50.0
This problem was solved after some manual intervention and not entirely by using the OBR of fabric8. The appropriate features need to be included in the POM file and they also need to be installed through the POM file. This was a pretty involved exercise. A better way should be provided by Redhat for the JBoss Fuse to bring down the deployment time.