Files
spring-cloud-dataflow-samples/kafka-samples/http-ingest
Spring Operator 2d40a251fe URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 4 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 27 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-08-07 12:09:13 +05:30
..
2019-03-18 16:01:02 -04:00
2019-08-07 12:09:13 +05:30
2019-03-18 16:01:02 -04:00
2019-03-18 16:01:02 -04:00
2019-08-07 11:19:05 +05:30
2019-03-18 16:01:02 -04:00

# HTTP Ingest Source

This source application is an extension of out-of-the-box HTTP source application.

The `http-ingest` has a function bean definition that looks like:

```
@Bean
public Function<String, Long> sendAsUserClicks() {
  return value -> Long.parseLong(value);
}

```

When this function bean is enabled, the incoming `String` value is converted to `Long` value.
When sending user clicks count as `Long` we can enable this function for the `http-ingest` while the same application can be used for sending the user region `String` value.

To build this application:

./mvnw clean package