kun44l
Cadet
Cadet
  • 1,193 Views

Identify a Fuse Web Application

Is there a way to identify if a web application archive (war) file deployed on a web server is a Fuse based application?

My initial guess was to scan through the exploded war files' WEB-INF/lib folder and search for jar files that contain the name *fuse*.

Is this is good solution or is there a better one?

Thanks.

Labels (2)
0 Kudos
3 Replies
vikassharma
Mission Specialist
Mission Specialist
  • 1,186 Views

You can identify if archive contains camel related dependencies. If application built in Blueprint framework, you can identify through blueprint xml.
0 Kudos
kun44l
Cadet
Cadet
  • 1,169 Views

Thank you Vikas for the input.

I tried using the jar command combined with grep to list different dependencies/libraries that are packaged in the war file.

jar tf <war-filename> | grep [camel|fuse|redhat] | wc -l

# of libraries found:

camel - 47, fuse - 57, redhat - 102

The question the client is asking is - Is there a specific library that is baked into the war file that uniquely identifies it as a fuse application? For e.g. if there are multiple war files deployed in a servlet container (like tomcat or eap), How can the client identify which war files deployed are fuse applications and which are not?

Thanks.

 

0 Kudos
vikassharma
Mission Specialist
Mission Specialist
  • 703 Views

There is no specific dependency which identify it as Fuse application. It always depends on the dependencies you have used in your application. e.g. - if you're using apache camel, so to check camel-* related dependencies.

0 Kudos
Join the discussion
You must log in to join this conversation.