15 Commits

Author SHA1 Message Date
fbalicchia
3cdd41a926 Upgrade to Splunk Client 1.5.0.0
Upgrade to SI-4.2.2
Upgrade to Gradle 2.5
Remove unused dependencies
2015-11-18 11:19:03 -05:00
Gunnar Hillert
e8efacecf9 Splunk next development version 1.2.0.BUILD-SNAPSHOT 2014-07-24 11:53:39 -04:00
Spring Buildmaster
5452de1603 [artifactory-release] Splunk Release version 1.1.0.RELEASE 2014-07-24 11:50:02 -04:00
Artem Bilan
9df12e5a2b INTEXT-94: Fix Auth bug for Splunk 6.x
JIRA: https://jira.spring.io/browse/INTEXT-94

* Upgrade to Splunk Client 1.3
2014-06-06 17:35:29 +03:00
Olivier Lamy
a4ca9e6671 Splunk: Servers failover
upgrade versions

Conflicts:
	spring-integration-splunk/gradle.properties

upgrade gradle version

revert spring integration upgrade version

Add a feature to be able to declare more than one splunk server.
It's a simple failover mechanism with any pooling.
Before give back the Service instance, the framework just try a getInfo call.
To preserve backward compat this check it's not activated per default but only
if the splunk server instance is marked with testOnBorrow.

Sample:
````xml
  <int-splunk:server id="splunkServer" host="${splunk.server.host}" port="${splunk.server.port}"
                     username="${splunk.server.username}" password="${splunk.server.password}"
                     owner="${splunk.server.owner}" scheme="${splunk.server.scheme}" testOnBorrow="true" />

  <int-splunk:server id="splunkServerBackup" host="localhost" port="9999"
                     username="${splunk.server.username}" password="${splunk.server.password}"
                     owner="${splunk.server.owner}" scheme="${splunk.server.scheme}" testOnBorrow="true" />

  <util:list id="splunkServersList">
    <ref bean="splunkServer" />
    <ref bean="splunkServerBackup" />
  </util:list>

  <bean id="splunkServiceFactory" class="org.springframework.integration.splunk.support.SplunkServiceFactory">
    <constructor-arg ref="splunkServersList"/>
  </bean>

  <int-splunk:inbound-channel-adapter id="splunk-notify-order-status-change-channel"
                                      auto-startup="true"
                                      search=""
                                      splunk-server-ref="splunkServer;splunkServerBackup"
                                      channel="notify-order-status-change-input"
                                      mode="BLOCKING"
                                      init-earliest-time="${splunk.order-status-change.init-earliest-time}"
                                      >
    <int:poller fixed-rate="${splunk.order-status-change.pooling.rate.time}" time-unit="SECONDS"/>
  </int-splunk:inbound-channel-adapter>
````

some changes due to pr comments

Conflicts:
	spring-integration-splunk/gradle.properties

formatting: tabs instead of spaces.....

fix documentation with failover mechanism

formatting

formatting

upgrade versions

some changes due to pr comments

fix javadoc issues

1.1 xsd file

Polishing and upgrading
2014-06-06 13:49:32 +03:00
Spring Buildmaster
9d591b2bcf [artifactory-release] Splunk Next development version 2014-06-02 17:24:04 +03:00
Spring Buildmaster
ddafcaf6dd [artifactory-release] Splunk Release version 1.1.0.M2 2014-06-02 17:24:03 +03:00
Spring Buildmaster
141dec91eb [artifactory-release] Next development version 2014-06-02 17:24:03 +03:00
Spring Buildmaster
c17bb384b6 [artifactory-release] Release version 1.1.0.M1 2014-06-02 17:24:03 +03:00
Glenn Renfro
91918d5599 Uses Spring 4.0 dependencies
Updated the buid version 1.1.0
2014-06-02 17:24:03 +03:00
Spring Buildmaster
339baf2a9f [artifactory-release] Next development version 2013-04-04 06:59:52 -07:00
Spring Buildmaster
ba647f6e18 [artifactory-release] Release version 1.0.0.M1 2013-04-04 06:59:45 -07:00
David Turanski
c4f7105d49 INTEXT-42 refactored SplunkEvent 2013-02-08 11:51:05 -05:00
David Turanski
43f9246f54 Add writer types to schema for Outbound Adapter and upgraded to Splunk 1.0.0
Update README
2013-02-04 14:14:46 -05:00
Jarred Li
3f167bb28e INTEXT-21 Add Splunk adapter
For reference see: https://jira.springsource.org/browse/INTEXT-21
2012-09-29 15:04:19 -04:00