├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── scopes │ └── scope_settings.xml ├── encodings.xml ├── vcs.xml ├── inspectionProfiles │ ├── profiles_settings.xml │ └── Project_Default.xml ├── libraries │ ├── Maven__jline_jline_2_11.xml │ ├── Maven__org_ow2_asm_asm_4_0.xml │ ├── Maven__clout_clout_1_0_1.xml │ ├── Maven__log4j_log4j_1_2_17.xml │ ├── Maven__hiccup_hiccup_0_3_6.xml │ ├── Maven__ring_ring_core_1_1_5.xml │ ├── Maven__joda_time_joda_time_2_0.xml │ ├── Maven__clj_time_clj_time_0_4_1.xml │ ├── Maven__org_yaml_snakeyaml_1_11.xml │ ├── Maven__ring_ring_devel_0_3_11.xml │ ├── Maven__org_clojure_clojure_1_5_1.xml │ ├── Maven__commons_io_commons_io_2_4.xml │ ├── Maven__compojure_compojure_1_1_3.xml │ ├── Maven__org_slf4j_slf4j_api_1_6_6.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_5.xml │ ├── Maven__org_objenesis_objenesis_1_2.xml │ ├── Maven__aopalliance_aopalliance_1_0.xml │ ├── Maven__com_twitter_carbonite_1_4_0.xml │ ├── Maven__org_clojure_tools_cli_0_2_4.xml │ ├── Maven__ring_ring_servlet_0_3_11.xml │ ├── Maven__org_mortbay_jetty_jetty_6_1_26.xml │ ├── Maven__com_twitter_chill_java_0_3_5.xml │ ├── Maven__javax_xml_bind_jaxb_api_2_2_7.xml │ ├── Maven__javax_xml_bind_jsr173_api_1_0.xml │ ├── Maven__commons_lang_commons_lang_2_5.xml │ ├── Maven__commons_pool_commons_pool_1_6.xml │ ├── Maven__org_clojure_tools_macro_0_1_0.xml │ ├── Maven__com_esotericsoftware_kryo_kryo_2_21.xml │ ├── Maven__com_sun_xml_bind_jaxb_core_2_2_7.xml │ ├── Maven__com_sun_xml_bind_jaxb_impl_2_2_7.xml │ ├── Maven__commons_codec_commons_codec_1_6.xml │ ├── Maven__org_jgrapht_jgrapht_core_0_9_0.xml │ ├── Maven__org_slf4j_slf4j_log4j12_1_7_9.xml │ ├── Maven__org_fusesource_hawtbuf_hawtbuf_1_10.xml │ ├── Maven__com_github_ptgoetz_storm_jms_0_9_0.xml │ ├── Maven__org_apache_camel_camel_jms_2_13_1.xml │ ├── Maven__org_apache_storm_storm_core_0_9_3.xml │ ├── Maven__org_apache_xbean_xbean_spring_4_1.xml │ ├── Maven__org_clojure_tools_logging_0_2_3.xml │ ├── Maven__com_esotericsoftware_minlog_minlog_1_2.xml │ ├── Maven__org_apache_camel_camel_core_2_14_1.xml │ ├── Maven__org_clojure_core_incubator_0_1_0.xml │ ├── Maven__org_apache_commons_commons_exec_1_1.xml │ ├── Maven__org_mortbay_jetty_jetty_util_6_1_26.xml │ ├── Maven__org_slf4j_log4j_over_slf4j_1_6_6.xml │ ├── Maven__ring_ring_jetty_adapter_0_3_11.xml │ ├── Maven__ch_qos_logback_logback_core_1_0_13.xml │ ├── Maven__clj_stacktrace_clj_stacktrace_0_2_2.xml │ ├── Maven__org_apache_camel_camel_spring_2_14_1.xml │ ├── Maven__ch_qos_logback_logback_classic_1_0_13.xml │ ├── Maven__commons_logging_commons_logging_1_1_3.xml │ ├── Maven__com_googlecode_disruptor_disruptor_2_10_1.xml │ ├── Maven__com_googlecode_json_simple_json_simple_1_1.xml │ ├── Maven__javax_servlet_servlet_api_3_0_alpha_1.xml │ ├── Maven__org_clojure_math_numeric_tower_0_0_1.xml │ ├── Maven__org_apache_activemq_activemq_pool_5_10_0.xml │ ├── Maven__org_apache_camel_camel_websocket_2_14_1.xml │ ├── Maven__com_sun_xml_fastinfoset_FastInfoset_1_2_12.xml │ ├── Maven__org_apache_activemq_activemq_camel_5_10_0.xml │ ├── Maven__org_apache_activemq_activemq_broker_5_10_0.xml │ ├── Maven__org_apache_activemq_activemq_client_5_10_0.xml │ ├── Maven__org_apache_activemq_activemq_spring_5_10_0.xml │ ├── Maven__org_springframework_spring_tx_4_1_3_RELEASE.xml │ ├── Maven__com_sun_istack_istack_commons_runtime_2_16.xml │ ├── Maven__commons_fileupload_commons_fileupload_1_2_1.xml │ ├── Maven__org_eclipse_jetty_jetty_io_8_1_15_v20140411.xml │ ├── Maven__org_apache_activemq_activemq_jms_pool_5_10_0.xml │ ├── Maven__org_springframework_spring_aop_4_1_3_RELEASE.xml │ ├── Maven__org_springframework_spring_jms_4_1_3_RELEASE.xml │ ├── Maven__org_springframework_spring_tx_3_2_11_RELEASE.xml │ ├── Maven__com_esotericsoftware_reflectasm_reflectasm_shaded_1_07.xml │ ├── Maven__org_eclipse_jetty_jetty_jmx_8_1_15_v20140411.xml │ ├── Maven__org_springframework_spring_aop_3_2_11_RELEASE.xml │ ├── Maven__org_springframework_spring_core_4_1_3_RELEASE.xml │ ├── Maven__org_eclipse_jetty_jetty_http_8_1_15_v20140411.xml │ ├── Maven__org_eclipse_jetty_jetty_util_8_1_15_v20140411.xml │ ├── Maven__org_springframework_spring_beans_4_1_3_RELEASE.xml │ ├── Maven__org_apache_activemq_activemq_web_console_war_5_10_0.xml │ ├── Maven__org_eclipse_jetty_jetty_client_8_1_15_v20140411.xml │ ├── Maven__org_eclipse_jetty_jetty_server_8_1_15_v20140411.xml │ ├── Maven__org_springframework_spring_context_4_1_3_RELEASE.xml │ ├── Maven__org_eclipse_jetty_jetty_servlet_8_1_15_v20140411.xml │ ├── Maven__org_eclipse_jetty_jetty_security_8_1_15_v20140411.xml │ ├── Maven__org_eclipse_jetty_jetty_servlets_8_1_15_v20140411.xml │ ├── Maven__org_springframework_spring_messaging_4_1_3_RELEASE.xml │ ├── Maven__org_apache_geronimo_specs_geronimo_jms_1_1_spec_1_1_1.xml │ ├── Maven__org_eclipse_jetty_jetty_websocket_8_1_15_v20140411.xml │ ├── Maven__org_apache_activemq_activemq_openwire_legacy_5_10_0.xml │ ├── Maven__org_springframework_spring_expression_4_1_3_RELEASE.xml │ ├── Maven__org_apache_geronimo_specs_geronimo_jta_1_0_1B_spec_1_0_1.xml │ ├── Maven__org_eclipse_jetty_jetty_continuation_8_1_15_v20140411.xml │ ├── Maven__org_eclipse_jetty_orbit_javax_servlet_3_0_0_v201112011016.xml │ └── Maven__org_apache_geronimo_specs_geronimo_j2ee_management_1_1_spec_1_0_1.xml ├── modules.xml ├── misc.xml └── compiler.xml ├── Storm-Camel-Websockets__Demo.gif ├── Storm-Camel-Websockets__Demo.png ├── Storm-Camel-Websockets__Demo.HiRes.gif ├── runner ├── src │ └── main │ │ ├── resources │ │ ├── assets │ │ │ ├── img │ │ │ │ ├── glyphicons-halflings.png │ │ │ │ └── glyphicons-halflings-white.png │ │ │ └── css │ │ │ │ └── bootstrap-responsive.min.css │ │ ├── applicationContext.xml │ │ └── index.html │ │ └── java │ │ └── nl │ │ └── java │ │ └── runner │ │ └── Runner.java ├── .project ├── pom.xml ├── runner.eml ├── .classpath └── runner.iml ├── storm-camel.eml ├── .project ├── feeder ├── .project ├── pom.xml ├── src │ └── main │ │ └── java │ │ └── nl │ │ └── avisi │ │ └── feeder │ │ └── RandomWordFeeder.java ├── feeder.eml ├── .classpath └── feeder.iml ├── processor ├── .project ├── src │ └── main │ │ └── java │ │ └── nl │ │ └── avisi │ │ ├── camel │ │ └── StreamingRoute.java │ │ ├── jms │ │ ├── JsonTupleProducer.java │ │ ├── SpringJmsProvider.java │ │ └── GenericBolt.java │ │ └── processor │ │ └── WordCounterBolt.java ├── pom.xml ├── processor.eml ├── processor.iml └── .classpath ├── storm-camel.iml ├── README.md ├── pom.xml └── LICENSE /.idea/.name: -------------------------------------------------------------------------------- 1 | storm-camel-example -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Storm-Camel-Websockets__Demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P7h/storm-camel-example/HEAD/Storm-Camel-Websockets__Demo.gif -------------------------------------------------------------------------------- /Storm-Camel-Websockets__Demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P7h/storm-camel-example/HEAD/Storm-Camel-Websockets__Demo.png -------------------------------------------------------------------------------- /Storm-Camel-Websockets__Demo.HiRes.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P7h/storm-camel-example/HEAD/Storm-Camel-Websockets__Demo.HiRes.gif -------------------------------------------------------------------------------- /runner/src/main/resources/assets/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P7h/storm-camel-example/HEAD/runner/src/main/resources/assets/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /runner/src/main/resources/assets/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P7h/storm-camel-example/HEAD/runner/src/main/resources/assets/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /storm-camel.eml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | storm-camel 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.jdt.core.javanature 14 | 15 | 16 | -------------------------------------------------------------------------------- /feeder/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | feeder 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.jdt.core.javanature 14 | 15 | 16 | -------------------------------------------------------------------------------- /runner/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | runner 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.jdt.core.javanature 14 | 15 | 16 | -------------------------------------------------------------------------------- /processor/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | processor 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.jdt.core.javanature 14 | 15 | 16 | -------------------------------------------------------------------------------- /processor/src/main/java/nl/avisi/camel/StreamingRoute.java: -------------------------------------------------------------------------------- 1 | package nl.avisi.camel; 2 | 3 | import org.apache.camel.builder.RouteBuilder; 4 | 5 | /** 6 | * @author robbreuk 7 | */ 8 | public final class StreamingRoute extends RouteBuilder { 9 | 10 | @Override 11 | public final void configure() throws Exception { 12 | from("activemq:my-queue") 13 | .to("websocket://storm?sendToAll=true"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__jline_jline_2_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_ow2_asm_asm_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__clout_clout_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__log4j_log4j_1_2_17.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__hiccup_hiccup_0_3_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ring_ring_core_1_1_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__joda_time_joda_time_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__clj_time_clj_time_0_4_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ring_ring_devel_0_3_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_clojure_clojure_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_io_commons_io_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__compojure_compojure_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_6_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_objenesis_objenesis_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_twitter_carbonite_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_clojure_tools_cli_0_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ring_ring_servlet_0_3_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_twitter_chill_java_0_3_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_xml_bind_jsr173_api_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_lang_commons_lang_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_pool_commons_pool_1_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_clojure_tools_macro_0_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_esotericsoftware_kryo_kryo_2_21.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_xml_bind_jaxb_core_2_2_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_codec_commons_codec_1_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jgrapht_jgrapht_core_0_9_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_fusesource_hawtbuf_hawtbuf_1_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_ptgoetz_storm_jms_0_9_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_camel_camel_jms_2_13_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_storm_storm_core_0_9_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_xbean_xbean_spring_4_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_clojure_tools_logging_0_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /storm-camel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_esotericsoftware_minlog_minlog_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_camel_camel_core_2_14_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_clojure_core_incubator_0_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_exec_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_log4j_over_slf4j_1_6_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ring_ring_jetty_adapter_0_3_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_core_1_0_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__clj_stacktrace_clj_stacktrace_0_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_camel_camel_spring_2_14_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_classic_1_0_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_googlecode_disruptor_disruptor_2_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_googlecode_json_simple_json_simple_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_servlet_servlet_api_3_0_alpha_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_clojure_math_numeric_tower_0_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_activemq_activemq_pool_5_10_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_camel_camel_websocket_2_14_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_xml_fastinfoset_FastInfoset_1_2_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_activemq_activemq_camel_5_10_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_activemq_activemq_broker_5_10_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_activemq_activemq_client_5_10_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_activemq_activemq_spring_5_10_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_tx_4_1_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_2_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_fileupload_commons_fileupload_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_io_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_activemq_activemq_jms_pool_5_10_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aop_4_1_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jms_4_1_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_tx_3_2_11_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_esotericsoftware_reflectasm_reflectasm_shaded_1_07.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_jmx_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aop_3_2_11_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_core_4_1_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_http_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_util_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_beans_4_1_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_activemq_activemq_web_console_war_5_10_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_client_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_server_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_4_1_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_servlet_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_security_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_servlets_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_messaging_4_1_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_geronimo_specs_geronimo_jms_1_1_spec_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_websocket_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /feeder/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | org.p7h 7 | storm-camel 8 | 1.0 9 | 10 | 4.0.0 11 | 12 | feeder 13 | 14 | 15 | 16 | org.apache.storm 17 | storm-core 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_activemq_activemq_openwire_legacy_5_10_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_expression_4_1_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_geronimo_specs_geronimo_jta_1_0_1B_spec_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_jetty_continuation_8_1_15_v20140411.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_orbit_javax_servlet_3_0_0_v201112011016.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_geronimo_specs_geronimo_j2ee_management_1_1_spec_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /processor/src/main/java/nl/avisi/jms/JsonTupleProducer.java: -------------------------------------------------------------------------------- 1 | package nl.avisi.jms; 2 | 3 | import backtype.storm.contrib.jms.JmsTupleProducer; 4 | import backtype.storm.topology.OutputFieldsDeclarer; 5 | import backtype.storm.tuple.Fields; 6 | import backtype.storm.tuple.Values; 7 | 8 | import javax.jms.JMSException; 9 | import javax.jms.Message; 10 | import javax.jms.TextMessage; 11 | 12 | @SuppressWarnings("serial") 13 | public class JsonTupleProducer implements JmsTupleProducer { 14 | 15 | public Values toTuple(Message msg) throws JMSException { 16 | if (msg instanceof TextMessage) { 17 | String json = ((TextMessage) msg).getText(); 18 | return new Values(json); 19 | } else { 20 | return null; 21 | } 22 | } 23 | 24 | public void declareOutputFields(OutputFieldsDeclarer declarer) { 25 | declarer.declare(new Fields("json")); 26 | } 27 | 28 | } -------------------------------------------------------------------------------- /processor/src/main/java/nl/avisi/processor/WordCounterBolt.java: -------------------------------------------------------------------------------- 1 | package nl.avisi.processor; 2 | 3 | import backtype.storm.topology.BasicOutputCollector; 4 | import backtype.storm.topology.OutputFieldsDeclarer; 5 | import backtype.storm.topology.base.BaseBasicBolt; 6 | import backtype.storm.tuple.Fields; 7 | import backtype.storm.tuple.Tuple; 8 | import backtype.storm.tuple.Values; 9 | 10 | import java.util.HashMap; 11 | import java.util.Map; 12 | 13 | /** 14 | * @author robbreuk 15 | */ 16 | public final class WordCounterBolt extends BaseBasicBolt { 17 | 18 | private static final long serialVersionUID = -5809759391597965718L; 19 | private final Map counts = new HashMap<>(); 20 | 21 | @Override 22 | public final void execute(final Tuple tuple, final BasicOutputCollector collector) { 23 | final String word = tuple.getString(0); 24 | int count = counts.getOrDefault(word, 0); 25 | count++; 26 | counts.put(word, count); 27 | 28 | collector.emit(new Values(word, count)); 29 | } 30 | 31 | @Override 32 | public final void declareOutputFields(final OutputFieldsDeclarer declarer) { 33 | declarer.declare(new Fields("word", "count")); 34 | } 35 | } -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 31 | -------------------------------------------------------------------------------- /processor/src/main/java/nl/avisi/jms/SpringJmsProvider.java: -------------------------------------------------------------------------------- 1 | package nl.avisi.jms; 2 | 3 | import backtype.storm.contrib.jms.JmsProvider; 4 | import org.springframework.context.ApplicationContext; 5 | 6 | import javax.jms.ConnectionFactory; 7 | import javax.jms.Destination; 8 | 9 | public class SpringJmsProvider implements JmsProvider { 10 | private ConnectionFactory connectionFactory; 11 | private Destination destination; 12 | 13 | /** 14 | * Constructs a SpringJmsProvider object given the name of a 15 | * classpath resource (the spring application context file), and the bean 16 | * names of a JMS connection factory and destination. 17 | * 18 | * @param context - the spring configuration file (classpath resource) 19 | * @param connectionFactoryBean - the JMS connection factory bean name 20 | * @param destinationBean - the JMS destination bean name 21 | */ 22 | public SpringJmsProvider(ApplicationContext context, String connectionFactoryBean, String destinationBean) { 23 | this.connectionFactory = (ConnectionFactory) context.getBean(connectionFactoryBean); 24 | this.destination = (Destination) context.getBean(destinationBean); 25 | } 26 | 27 | public ConnectionFactory connectionFactory() throws Exception { 28 | return this.connectionFactory; 29 | } 30 | 31 | public Destination destination() throws Exception { 32 | return this.destination; 33 | } 34 | 35 | } -------------------------------------------------------------------------------- /feeder/src/main/java/nl/avisi/feeder/RandomWordFeeder.java: -------------------------------------------------------------------------------- 1 | package nl.avisi.feeder; 2 | 3 | import backtype.storm.spout.SpoutOutputCollector; 4 | import backtype.storm.task.TopologyContext; 5 | import backtype.storm.topology.OutputFieldsDeclarer; 6 | import backtype.storm.topology.base.BaseRichSpout; 7 | import backtype.storm.tuple.Fields; 8 | import backtype.storm.tuple.Values; 9 | import backtype.storm.utils.Utils; 10 | 11 | import java.util.Map; 12 | import java.util.Random; 13 | 14 | /** 15 | * @author robbreuk 16 | * @author Prashanth 17 | */ 18 | public final class RandomWordFeeder extends BaseRichSpout { 19 | 20 | private static final String[] COMPANIES = new String[]{ 21 | "Google", "Apple", "BlackBerry", "Microsoft", "Amazon", "Motorola", "HTC", "Samsung", "Nokia", "LG", "Sony", "Dell", 22 | "ASUS", "ACER", "ZTE"}; 23 | private static final long serialVersionUID = 5617224155226323658L; 24 | private SpoutOutputCollector collector; 25 | private Random random; 26 | 27 | @Override 28 | public final void open(final Map map, final TopologyContext topologyContext, final SpoutOutputCollector collector) { 29 | this.collector = collector; 30 | this.random = new Random(); 31 | } 32 | 33 | @Override 34 | public final void nextTuple() { 35 | Utils.sleep(200); 36 | collector.emit(new Values(COMPANIES[random.nextInt(COMPANIES.length)])); 37 | } 38 | 39 | @Override 40 | public final void declareOutputFields(final OutputFieldsDeclarer declarer) { 41 | declarer.declare(new Fields("word")); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /runner/src/main/resources/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /processor/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | org.p7h 7 | storm-camel 8 | 1.0 9 | 10 | 4.0.0 11 | 12 | processor 13 | 14 | 15 | 16 | org.apache.storm 17 | storm-core 18 | 19 | 20 | 21 | org.apache.camel 22 | camel-core 23 | 24 | 25 | 26 | com.github.ptgoetz 27 | storm-jms 28 | 29 | 30 | org.springframework 31 | spring-beans 32 | 33 | 34 | org.springframework 35 | spring-core 36 | 37 | 38 | org.springframework 39 | spring-context 40 | 41 | 42 | org.springframework 43 | spring-jms 44 | 45 | 46 | org.apache.xbean 47 | xbean-spring 48 | ${xbean.version} 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /runner/src/main/java/nl/java/runner/Runner.java: -------------------------------------------------------------------------------- 1 | package nl.java.runner; 2 | 3 | import backtype.storm.Config; 4 | import backtype.storm.LocalCluster; 5 | import backtype.storm.contrib.jms.JmsProvider; 6 | import backtype.storm.contrib.jms.bolt.JmsBolt; 7 | import backtype.storm.topology.TopologyBuilder; 8 | import nl.avisi.feeder.RandomWordFeeder; 9 | import nl.avisi.jms.SpringJmsProvider; 10 | import nl.avisi.processor.WordCounterBolt; 11 | import org.apache.xbean.spring.context.ClassPathXmlApplicationContext; 12 | import org.springframework.context.ApplicationContext; 13 | 14 | /** 15 | * @author robbreuk 16 | * @author Prashanth 17 | */ 18 | public final class Runner { 19 | public static final void main(final String[] args) throws Exception { 20 | final ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml"); 21 | 22 | final JmsProvider jmsQueueProvider = new SpringJmsProvider(applicationContext, "jmsConnectionFactory", 23 | "notificationQueue"); 24 | 25 | final TopologyBuilder topologyBuilder = new TopologyBuilder(); 26 | 27 | final JmsBolt jmsBolt = new JmsBolt(); 28 | jmsBolt.setJmsProvider(jmsQueueProvider); 29 | jmsBolt.setJmsMessageProducer((session, input) -> { 30 | final String json = "{\"word\":\"" + input.getString(0) + "\", \"count\":" + String.valueOf(input.getInteger(1)) + "}"; 31 | return session.createTextMessage(json); 32 | }); 33 | 34 | topologyBuilder.setSpout("wordGenerator", new RandomWordFeeder()); 35 | topologyBuilder.setBolt("counter", new WordCounterBolt()).shuffleGrouping("wordGenerator"); 36 | topologyBuilder.setBolt("jmsBolt", jmsBolt).shuffleGrouping("counter"); 37 | 38 | final Config config = new Config(); 39 | config.setDebug(false); 40 | 41 | final LocalCluster cluster = new LocalCluster(); 42 | cluster.submitTopology("word-count", config, topologyBuilder.createTopology()); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /runner/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | org.p7h 7 | storm-camel 8 | 1.0 9 | 10 | 4.0.0 11 | 12 | runner 13 | 14 | 15 | 16 | org.apache.storm 17 | storm-core 18 | 19 | 20 | 21 | org.p7h 22 | processor 23 | 24 | 25 | 26 | org.p7h 27 | feeder 28 | 29 | 30 | 31 | org.apache.activemq 32 | activemq-camel 33 | 34 | 35 | org.apache.activemq 36 | activemq-web-console 37 | war 38 | 39 | 40 | org.apache.camel 41 | camel-spring 42 | 43 | 44 | org.springframework 45 | spring-beans 46 | 47 | 48 | org.springframework 49 | spring-core 50 | 51 | 52 | org.springframework 53 | spring-context 54 | 55 | 56 | org.springframework 57 | spring-jms 58 | 59 | 60 | org.apache.xbean 61 | xbean-spring 62 | 63 | 64 | org.apache.camel 65 | camel-websocket 66 | 67 | 68 | org.slf4j 69 | slf4j-log4j12 70 | ${slf4j.version} 71 | 72 | 73 | log4j 74 | log4j 75 | ${log4j.version} 76 | 77 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /processor/src/main/java/nl/avisi/jms/GenericBolt.java: -------------------------------------------------------------------------------- 1 | package nl.avisi.jms; 2 | 3 | import backtype.storm.task.OutputCollector; 4 | import backtype.storm.task.TopologyContext; 5 | import backtype.storm.topology.OutputFieldsDeclarer; 6 | import backtype.storm.topology.base.BaseRichBolt; 7 | import backtype.storm.tuple.Fields; 8 | import backtype.storm.tuple.Tuple; 9 | 10 | import java.util.Map; 11 | 12 | @SuppressWarnings("serial") 13 | public class GenericBolt extends BaseRichBolt { 14 | private static final long serialVersionUID = -439970791262974022L; 15 | private OutputCollector collector; 16 | private boolean autoAck = false; 17 | private boolean autoAnchor = false; 18 | private Fields declaredFields; 19 | private String name; 20 | 21 | /** 22 | * Constructs a new GenericBolt instance. 23 | * 24 | * @param name The name of the bolt (used in DEBUG logging) 25 | * @param autoAck Whether or not this bolt should automatically acknowledge received tuples. 26 | * @param autoAnchor Whether or not this bolt should automatically anchor to received tuples. 27 | * @param declaredFields The fields this bolt declares as output. 28 | */ 29 | public GenericBolt(String name, boolean autoAck, boolean autoAnchor, Fields declaredFields) { 30 | this.name = name; 31 | this.autoAck = autoAck; 32 | this.autoAnchor = autoAnchor; 33 | this.declaredFields = declaredFields; 34 | } 35 | 36 | public GenericBolt(String name, boolean autoAck, boolean autoAnchor) { 37 | this(name, autoAck, autoAnchor, null); 38 | } 39 | 40 | @SuppressWarnings("rawtypes") 41 | public void prepare(Map stormConf, TopologyContext context, 42 | OutputCollector collector) { 43 | this.collector = collector; 44 | 45 | } 46 | 47 | public void execute(Tuple input) { 48 | System.out.println("[" + this.name + "] Received message: " + input); 49 | 50 | 51 | // only emit if we have declared fields. 52 | if (this.declaredFields != null) { 53 | System.out.println("[" + this.name + "] emitting: " + input); 54 | if (this.autoAnchor) { 55 | this.collector.emit(input, input.getValues()); 56 | } else { 57 | this.collector.emit(input.getValues()); 58 | } 59 | } 60 | 61 | if (this.autoAck) { 62 | System.out.println("[" + this.name + "] ACKing tuple: " + input); 63 | this.collector.ack(input); 64 | } 65 | 66 | } 67 | 68 | public void cleanup() { 69 | 70 | } 71 | 72 | public void declareOutputFields(OutputFieldsDeclarer declarer) { 73 | if (this.declaredFields != null) { 74 | declarer.declare(this.declaredFields); 75 | } 76 | } 77 | 78 | public boolean isAutoAck() { 79 | return this.autoAck; 80 | } 81 | 82 | public void setAutoAck(boolean autoAck) { 83 | this.autoAck = autoAck; 84 | } 85 | 86 | } -------------------------------------------------------------------------------- /feeder/feeder.eml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Real-time analysis and Viz with Storm-Camel-Highcharts 2 | ---------- 3 | 4 | #### You might also be interested in checking out extension of this repo for Twitter sentiment of states of US using D3.js Choropleth Map and Highcharts Columncharts on [StormTweetsSentimentD3Viz](https://github.com/P7h/StormTweetsSentimentD3Viz) and also a similar project for UK Twitter Sentiment on [StormTweetsSentimentD3UKViz](https://github.com/P7h/StormTweetsSentimentD3UKViz). 5 | 6 | ## Introduction 7 | This repository contains an application for demonstrating `Apache Storm` distributed framework by counting the names of the companies fed randomly by the code [in the Spout] in real-time.
This project also visualizes the output in real-time using Queues, Websockets and Highcharts.
8 | 9 | [Apache Storm](http://storm.apache.org) is an open source distributed real-time computation system, developed at BackType by Nathan Marz and team. It has been open sourced by Twitter [post BackType acquisition] in August, 2011. And became a top level project in Apache on 29th September, 2014.
10 | This application has been developed and tested with Storm v0.8.2 on Windows 7 in local mode; and was eventually updated and tested with Storm v0.9.3 on 04th January, 2015. Application may or may not work with earlier or later versions than Storm v0.9.3.
11 | 12 | The initial version of this application was actually forked and later updated further from Robin van Breukelen's [storm-camel-example](https://github.com/robinvanb/storm-camel-example) project. 13 | 14 | ## Features 15 | * Application receives a random company name from a Spout every 200 milliseconds.
16 | * Bolt counts frequency of the each company name passed on from the Spout.
17 | * This frequency is written to ActiveMQ using a JMSBolt.
18 | * Camel is used to read these tuples from ActiveMQ and also write to a WebSocket.
19 | * A pure HTML5 front-end reads from the above Websocket and visualizes the output in a Bar chart using Highcharts and updates the chart in real-time to reflect the latest count provided by the Bolt.
20 | * This project has also been made compatible with both Eclipse IDE and IntelliJ IDEA. 21 | * Import the project in your favorite IDE and you can quickly follow the code. 22 | * As of today, this codebase has almost no or very less comments.
23 | 24 | ## Demo 25 | ![GIF of visualization](Storm-Camel-Websockets__Demo.gif) 26 | 27 | ![Screenshot of visualization](Storm-Camel-Websockets__Demo.png) 28 | 29 | ## Dependencies 30 | * Storm v0.9.3 31 | * Camel v2.14.1 32 | * ActiveMQ v5.10.0 33 | * Spring v4.1.3.RELEASE 34 | * xbean v4.1 35 | 36 | Also, please check [`pom.xml`](pom.xml) for complete information on the various dependencies of the project.
37 | 38 | ## Requirements 39 | You need the following on your machine: 40 | 41 | * Oracle JDK >= 1.8.x 42 | * Apache Maven >= 3.2.3 43 | * Clone this repo and import as an existing Maven project to either Eclipse IDE or IntelliJ IDEA. 44 | * Please enable / download Maven Plugin in the IDE. 45 | 46 | ## Usage 47 | To build and run this topology, you must use Java 1.8.
48 | 49 | ### Local Mode: 50 | Local mode can also be run on Windows environment using either IntelliJ IDEA or Eclipse IDE. 51 |
*Note*: Please be sure to clean your temp folder as it adds lot of temporary files in every run. 52 | 53 | * Launch your favorite IDE and execute [`Runner.java`](runner/src/main/java/nl/java/runner/Runner.java).
54 | * All the required frameworks and libraries are downloaded by Maven as required in the above import process in the IDE. 55 | * If not, please execute `mvn clean compile` command once at the root of this repo. 56 | * Launch a browser [preferably Google Chrome] and open [`index.html`](runner/src/main/resources/index.html) 57 | * Click on "Start Viz" button to trigger the initialization.
58 | * You can stop the visualization at any time by clicking on "Stop Viz" button.
59 | * This chart updates every second and displays real-time visualization of the words processed by the Bolts.
60 | 61 | ### Remote Mode: 62 | TBA. 63 | 64 | ## Problems 65 | If you find any issues, please report them either raising an [issue](https://github.com/P7h/storm-camel-example/issues) here on Github or alert me on my Twitter handle [@P7h](http://twitter.com/P7h). Or even better, please send a [pull request](https://github.com/P7h/storm-camel-example/pulls).
66 | Appreciate your help. Thanks! 67 | 68 | ## License 69 | Copyright © 2013-2015 Robin van Breukelen and Prashanth Babu.
70 | Licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0). -------------------------------------------------------------------------------- /feeder/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /feeder/feeder.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /processor/processor.eml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | org.p7h 8 | storm-camel 9 | pom 10 | 1.0 11 | 12 | 13 | feeder 14 | runner 15 | processor 16 | 17 | 18 | 19 | 0.9.3 20 | 2.14.1 21 | 5.10.0 22 | 4.1.3.RELEASE 23 | 4.1 24 | 1.7.9 25 | 1.2.17 26 | 0.9.0 27 | 28 | 29 | 30 | 31 | 32 | org.apache.storm 33 | storm-core 34 | ${storm.version} 35 | 36 | 37 | log4j 38 | log4j 39 | 40 | 41 | org.slf4j 42 | slf4j-log4j12 43 | 44 | 45 | org.slf4j 46 | slf4j-api 47 | 48 | 49 | 50 | 51 | javax.servlet 52 | servlet-api 53 | 3.0-alpha-1 54 | provided 55 | 56 | 57 | org.p7h 58 | processor 59 | ${project.version} 60 | 61 | 62 | org.p7h 63 | feeder 64 | ${project.version} 65 | 66 | 67 | org.apache.camel 68 | camel-core 69 | ${camel.version} 70 | 71 | 72 | org.apache.camel 73 | camel-websocket 74 | ${camel.version} 75 | 76 | 77 | com.github.ptgoetz 78 | storm-jms 79 | ${storm-jms.version} 80 | 81 | 82 | log4j 83 | log4j 84 | 85 | 86 | org.slf4j 87 | slf4j-log4j12 88 | 89 | 90 | org.slf4j 91 | slf4j-api 92 | 93 | 94 | 95 | 96 | org.apache.activemq 97 | activemq-camel 98 | ${activemq.version} 99 | 100 | 101 | org.apache.activemq 102 | activemq-web-console 103 | ${activemq.version} 104 | war 105 | 106 | 107 | org.apache.camel 108 | camel-spring 109 | ${camel.version} 110 | 111 | 112 | org.springframework 113 | spring-beans 114 | ${spring.version} 115 | 116 | 117 | org.springframework 118 | spring-core 119 | ${spring.version} 120 | 121 | 122 | org.springframework 123 | spring-context 124 | ${spring.version} 125 | 126 | 127 | org.springframework 128 | spring-jms 129 | ${spring.version} 130 | 131 | 132 | org.apache.xbean 133 | xbean-spring 134 | ${xbean.version} 135 | 136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /processor/processor.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /processor/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /runner/src/main/resources/index.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 22 | Demo of Storm Real-time Visualization thru WebSockets 23 | 47 | 48 | 49 | 55 | 56 | 57 |
58 |     59 |
60 | 63 |     64 | 68 |
69 | 70 |
71 |
72 | 73 | 209 |
210 |
211 |

212 | Stack: Storm Topology, JMS, ActiveMQ, Camel, WebSockets, Highcharts

213 |
214 |
215 |
216 | 217 | 218 | -------------------------------------------------------------------------------- /runner/runner.eml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /runner/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /runner/runner.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | file://$MODULE_DIR$/src/main/resources/applicationContext.xml 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. -------------------------------------------------------------------------------- /runner/src/main/resources/assets/css/bootstrap-responsive.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Responsive v2.3.2 3 | * 4 | * Copyright 2012 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. 9 | */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@-ms-viewport{width:device-width}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:inherit!important}.hidden-print{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.0987452264048%}.row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%}.row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%}.row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%}.row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%}.row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:30px}input.span12,textarea.span12,.uneditable-input.span12{width:1156px}input.span11,textarea.span11,.uneditable-input.span11{width:1056px}input.span10,textarea.span10,.uneditable-input.span10{width:956px}input.span9,textarea.span9,.uneditable-input.span9{width:856px}input.span8,textarea.span8,.uneditable-input.span8{width:756px}input.span7,textarea.span7,.uneditable-input.span7{width:656px}input.span6,textarea.span6,.uneditable-input.span6{width:556px}input.span5,textarea.span5,.uneditable-input.span5{width:456px}input.span4,textarea.span4,.uneditable-input.span4{width:356px}input.span3,textarea.span3,.uneditable-input.span3{width:256px}input.span2,textarea.span2,.uneditable-input.span2{width:156px}input.span1,textarea.span1,.uneditable-input.span1{width:56px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%}.row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%}.row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%}.row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%}.row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%}.row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%}.row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%}.row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%}.row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%}.row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%}.row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%}.row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%}.row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%}.row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%}.row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%}.row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%}.row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%}.row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%}.row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%}.row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%}.row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%}.row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%}.row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%}.row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%}.row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%}.row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%}.row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%}.row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%}.row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%}.row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%}.row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%}.row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%}.row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%}.row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%}.row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:710px}input.span11,textarea.span11,.uneditable-input.span11{width:648px}input.span10,textarea.span10,.uneditable-input.span10{width:586px}input.span9,textarea.span9,.uneditable-input.span9{width:524px}input.span8,textarea.span8,.uneditable-input.span8{width:462px}input.span7,textarea.span7,.uneditable-input.span7{width:400px}input.span6,textarea.span6,.uneditable-input.span6{width:338px}input.span5,textarea.span5,.uneditable-input.span5{width:276px}input.span4,textarea.span4,.uneditable-input.span4{width:214px}input.span3,textarea.span3,.uneditable-input.span3{width:152px}input.span2,textarea.span2,.uneditable-input.span2{width:90px}input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:auto}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}.thumbnails>li{float:none;margin-left:0}[class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="offset"]:first-child{margin-left:0}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}.controls-row [class*="span"]+[class*="span"]{margin-left:0}.modal{position:fixed;top:20px;right:20px;left:20px;width:auto;margin:0}.modal.fade{top:-100px}.modal.fade.in{top:20px}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:20px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.media .pull-left,.media .pull-right{display:block;float:none;margin-bottom:10px}.media-object{margin-right:0;margin-left:0}.modal{top:10px;right:10px;left:10px}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top,.navbar-fixed-bottom{position:static}.navbar-fixed-top{margin-bottom:20px}.navbar-fixed-bottom{margin-top:20px}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px}.navbar .container{width:auto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 10px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#777;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2}.navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999}.navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:none;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .open>.dropdown-menu{display:block}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111;border-bottom-color:#111}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}} 10 | --------------------------------------------------------------------------------