Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D1089200CC2 for ; Wed, 21 Jun 2017 00:18:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CF954160BF2; Tue, 20 Jun 2017 22:18:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 21C40160BE1 for ; Wed, 21 Jun 2017 00:18:03 +0200 (CEST) Received: (qmail 25806 invoked by uid 500); 20 Jun 2017 22:18:03 -0000 Mailing-List: contact commits-help@streams.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@streams.incubator.apache.org Delivered-To: mailing list commits@streams.incubator.apache.org Received: (qmail 25797 invoked by uid 99); 20 Jun 2017 22:18:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2017 22:18:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CD08EC1202 for ; Tue, 20 Jun 2017 22:18:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.21 X-Spam-Level: X-Spam-Status: No, score=-99.21 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id IrvCPP3vW572 for ; Tue, 20 Jun 2017 22:18:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1D7025F6C6 for ; Tue, 20 Jun 2017 22:18:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 521F9E0026 for ; Tue, 20 Jun 2017 22:18:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0FC67240B5 for ; Tue, 20 Jun 2017 22:18:00 +0000 (UTC) Date: Tue, 20 Jun 2017 22:18:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@streams.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (STREAMS-508) Utilize new third-party rest proxy capability in provider-twitter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 20 Jun 2017 22:18:05 -0000 [ https://issues.apache.org/jira/browse/STREAMS-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056566#comment-16056566 ] ASF GitHub Bot commented on STREAMS-508: ---------------------------------------- Github user steveblackmon commented on a diff in the pull request: https://github.com/apache/incubator-streams/pull/368#discussion_r123110801 --- Diff: streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/api/Account.java --- @@ -0,0 +1,53 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.streams.twitter.api; + +import org.apache.streams.twitter.pojo.User; + +import org.apache.juneau.remoteable.RemoteMethod; +import org.apache.juneau.remoteable.Remoteable; + +import java.util.List; + +/** + */ +@Remoteable(path = "https://api.twitter.com/1.1/account") +public interface Account { + + /** + * Returns settings (including current trend, geo and sleep time information) for the authenticating user. + * + * @return AccountSettingsResponse + * @see https://dev.twitter.com/rest/reference/get/account/settings + * + */ + @RemoteMethod(httpMethod = "GET", path = "/settings.json") + public AccountSettings settings(); + + /** + * Returns settings (including current trend, geo and sleep time information) for the authenticating user. --- End diff -- fixed > Utilize new third-party rest proxy capability in provider-twitter > ----------------------------------------------------------------- > > Key: STREAMS-508 > URL: https://issues.apache.org/jira/browse/STREAMS-508 > Project: Streams > Issue Type: Improvement > Reporter: Steve Blackmon > Assignee: Steve Blackmon > Original Estimate: 4h > Remaining Estimate: 4h > > Requires upgrade juneau dependency to 6.2.1 -- This message was sent by Atlassian JIRA (v6.4.14#64029)