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 13F24200CA3 for ; Tue, 2 May 2017 22:04:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 12953160B9D; Tue, 2 May 2017 20:04:08 +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 576A3160BAB for ; Tue, 2 May 2017 22:04:07 +0200 (CEST) Received: (qmail 11312 invoked by uid 500); 2 May 2017 20:04:06 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 11303 invoked by uid 99); 2 May 2017 20:04:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2017 20:04:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2B1FE1AFCE1 for ; Tue, 2 May 2017 20:04:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.941 X-Spam-Level: X-Spam-Status: No, score=-98.941 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id dosUBeXrB2Od for ; Tue, 2 May 2017 20:04:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E8B2B5F283 for ; Tue, 2 May 2017 20:04:04 +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 6AAC0E05BF for ; Tue, 2 May 2017 20:04:04 +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 20DED21B53 for ; Tue, 2 May 2017 20:04:04 +0000 (UTC) Date: Tue, 2 May 2017 20:04:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1340) Remove or make private public bits of the SDK that shouldn't be public MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 May 2017 20:04:08 -0000 [ https://issues.apache.org/jira/browse/BEAM-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993622#comment-15993622 ] ASF GitHub Bot commented on BEAM-1340: -------------------------------------- GitHub user kennknowles opened a pull request: https://github.com/apache/beam/pull/2841 [BEAM-1340,BEAM-1345] Move state, timers, windowing strategy into public folders Be sure to do all of the following to help us incorporate your contribution quickly and easily: - [ ] Make sure the PR title is formatted like: `[BEAM-] Description of pull request` - [ ] Make sure tests pass via `mvn clean verify`. - [ ] Replace `` in the title with the actual Jira issue number, if there is one. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). --- I have also revised these to mark more bits experimental and internal, but additional suggestions welcome. Even though most of `util` should be package private or private somewhere else, I am focused on the pieces that should be _public_ somewhere else. The way that I help to know what to move is to imagine that `util` did not exist, and specifically that we did not publish its javadoc. Then what does a user need to know about? You can merge this pull request into a Git repository by running: $ git pull https://github.com/kennknowles/beam move-all-the-things Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2841.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2841 ---- commit 40c489a300c23e038f9bdbea15135db361205ea0 Author: Kenneth Knowles Date: 2017-05-02T17:29:33Z Move Java sdk.util.state to sdk.state commit e3a3c7642c8a28f43f92a64ae044b56ab9254675 Author: Kenneth Knowles Date: 2017-05-02T17:41:01Z Add @Internal and @Experimental to state package commit 0b2d26c8a146779f3dce914f6d7ab9191d6182bf Author: Kenneth Knowles Date: 2017-05-02T19:31:02Z Mark TimeDomain experimental alongside Timers; improve javadoc commit 1adbf521d8ffb9238dedf68826453502ca9ef7e7 Author: Kenneth Knowles Date: 2017-05-02T19:46:46Z Move user-facing timer-related classes out of util commit a5e8e145ed5d5d074a1bcfc3061821c5e53a60d6 Author: Kenneth Knowles Date: 2017-05-02T19:53:26Z Move WindowingStrategy from util to values WindowingStrategy is a property on PCollection that transform authors regularly mess with. It is part of the public API. ---- > Remove or make private public bits of the SDK that shouldn't be public > ---------------------------------------------------------------------- > > Key: BEAM-1340 > URL: https://issues.apache.org/jira/browse/BEAM-1340 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core, sdk-java-extensions > Reporter: Kenneth Knowles > Priority: Blocker > Labels: backward-incompatible > Fix For: First stable release > > > This JIRA is for the many small changes that do not merit their own JIRA towards getting the SDK's API surface right. For example, removal of `DoFn.InputProvider` and `DoFn.OutputReceiver`. > While the above is not quite backwards incompatible, succeeding at this task surely will be. -- This message was sent by Atlassian JIRA (v6.3.15#6346)