Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-998

Rename class packages to org.apache.knox.gateway

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: Server
    • Labels:
      None

      Description

      Update the package names in order to remove "hadoop" from the class packages throughout Apache Knox codebase. Currently, the package are some derivative of "org.apache.hadoop.gateway...". The intent of this improvement is to make the class packages rooted at "org.apache.knox.gateway...". We will have to determine what is needed to be backward compatible for any consumers that have extended our existing classes however.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit a4ba9bb5c46a36649907b9662ee7686c2c1d943a in knox's branch refs/heads/KNOX-998-Package_Restructuring from Sandeep More
        [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=a4ba9bb ]

        Merge branch 'master' into KNOX-998-Package_Restructuring

        Show
        jira-bot ASF subversion and git services added a comment - Commit a4ba9bb5c46a36649907b9662ee7686c2c1d943a in knox's branch refs/heads/ KNOX-998 -Package_Restructuring from Sandeep More [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=a4ba9bb ] Merge branch 'master' into KNOX-998 -Package_Restructuring
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit a25f8a77bc80b7314b2e7a7983a125592db759fe in knox's branch refs/heads/KNOX-998-Package_Restructuring from Sandeep More
        [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=a25f8a7 ]

        KNOX-998 - Refactoring package after merge

        Show
        jira-bot ASF subversion and git services added a comment - Commit a25f8a77bc80b7314b2e7a7983a125592db759fe in knox's branch refs/heads/ KNOX-998 -Package_Restructuring from Sandeep More [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=a25f8a7 ] KNOX-998 - Refactoring package after merge
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 912c53602a409e4361a73130e4dbc55a7b73c8ea in knox's branch refs/heads/KNOX-998-Package_Restructuring from Sandeep More
        [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=912c536 ]

        Merge branch 'master' into KNOX-998-Package_Restructuring

        1. Conflicts:
        2. gateway-test/src/test/java/org/apache/knox/gateway/GatewayAdminFuncTest.java
        3. gateway-test/src/test/java/org/apache/knox/gateway/GatewayAdminTopologyFuncTest.java
        4. gateway-test/src/test/java/org/apache/knox/gateway/GatewayAppFuncTest.java
        5. gateway-test/src/test/java/org/apache/knox/gateway/GatewayDeployFuncTest.java
        6. gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapDynamicGroupFuncTest.java
        7. gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapGroupFuncTest.java
        8. gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapPosixGroupFuncTest.java
        9. gateway-test/src/test/java/org/apache/knox/gateway/GatewayLocalServiceFuncTest.java
        10. gateway-test/src/test/java/org/apache/knox/gateway/GatewayMultiFuncTest.java
        11. gateway-test/src/test/java/org/apache/knox/gateway/GatewaySampleFuncTest.java
        12. gateway-test/src/test/java/org/apache/knox/gateway/GatewaySslFuncTest.java
        13. gateway-test/src/test/java/org/apache/knox/gateway/Knox242FuncTest.java
        14. gateway-test/src/test/java/org/apache/knox/gateway/KnoxCliLdapFuncTestNegative.java
        15. gateway-test/src/test/java/org/apache/knox/gateway/KnoxCliLdapFuncTestPositive.java
        16. gateway-test/src/test/java/org/apache/knox/gateway/KnoxCliSysBindTest.java
        Show
        jira-bot ASF subversion and git services added a comment - Commit 912c53602a409e4361a73130e4dbc55a7b73c8ea in knox's branch refs/heads/ KNOX-998 -Package_Restructuring from Sandeep More [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=912c536 ] Merge branch 'master' into KNOX-998 -Package_Restructuring Conflicts: gateway-test/src/test/java/org/apache/knox/gateway/GatewayAdminFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayAdminTopologyFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayAppFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayDeployFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapDynamicGroupFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapGroupFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapPosixGroupFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayLocalServiceFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayMultiFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewaySampleFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewaySslFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/Knox242FuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/KnoxCliLdapFuncTestNegative.java gateway-test/src/test/java/org/apache/knox/gateway/KnoxCliLdapFuncTestPositive.java gateway-test/src/test/java/org/apache/knox/gateway/KnoxCliSysBindTest.java
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 2e6713b6c33b54533e6d81ab575ce292aaa43f0d in knox's branch refs/heads/KNOX-998-Package_Restructuring from Sandeep More
        [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=2e6713b ]

        KNOX-998 - Some more refactoring, making sure all the Unit Tests run and build passes !

        Show
        jira-bot ASF subversion and git services added a comment - Commit 2e6713b6c33b54533e6d81ab575ce292aaa43f0d in knox's branch refs/heads/ KNOX-998 -Package_Restructuring from Sandeep More [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=2e6713b ] KNOX-998 - Some more refactoring, making sure all the Unit Tests run and build passes !
        Hide
        pzampino Phil Zampino added a comment -

        Do you think the loggers need to be addressed along with this refactoring? Specifically, I'm thinking about the *Messages.java classes with @Messages annotations that have package names as the logger values. (gateway-server/src/main/java/org/apache/hadoop/gateway/GatewayMessages.java is one example.)

        Show
        pzampino Phil Zampino added a comment - Do you think the loggers need to be addressed along with this refactoring? Specifically, I'm thinking about the *Messages.java classes with @Messages annotations that have package names as the logger values. (gateway-server/src/main/java/org/apache/hadoop/gateway/GatewayMessages.java is one example.)
        Hide
        smore Sandeep More added a comment -

        Oh yes, refactoring will also take care of it !

        Show
        smore Sandeep More added a comment - Oh yes, refactoring will also take care of it !
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 50f46e9eed9ccc27a54cb71a090322b023fd7a8b in knox's branch refs/heads/KNOX-998-Package_Restructuring from Sandeep More
        [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=50f46e9 ]

        Merge branch 'master' into KNOX-998-Package_Restructuring

        1. Conflicts:
        2. gateway-provider-security-preauth/src/test/java/org/apache/knox/gateway/provider/federation/DefaultValidatorTest.java
        3. gateway-provider-security-preauth/src/test/java/org/apache/knox/gateway/provider/federation/HeaderPreAuthFederationFilterTest.java
        4. gateway-provider-security-preauth/src/test/java/org/apache/knox/gateway/provider/federation/IPValidatorTest.java
        5. gateway-provider-security-preauth/src/test/java/org/apache/knox/gateway/provider/federation/PreAuthServiceTest.java
        6. gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapDynamicGroupFuncTest.java
        7. gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapGroupFuncTest.java
        8. gateway-test/src/test/java/org/apache/knox/gateway/Knox242FuncTest.java
        9. gateway-test/src/test/java/org/apache/knox/gateway/KnoxCliLdapFuncTestNegative.java
        Show
        jira-bot ASF subversion and git services added a comment - Commit 50f46e9eed9ccc27a54cb71a090322b023fd7a8b in knox's branch refs/heads/ KNOX-998 -Package_Restructuring from Sandeep More [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=50f46e9 ] Merge branch 'master' into KNOX-998 -Package_Restructuring Conflicts: gateway-provider-security-preauth/src/test/java/org/apache/knox/gateway/provider/federation/DefaultValidatorTest.java gateway-provider-security-preauth/src/test/java/org/apache/knox/gateway/provider/federation/HeaderPreAuthFederationFilterTest.java gateway-provider-security-preauth/src/test/java/org/apache/knox/gateway/provider/federation/IPValidatorTest.java gateway-provider-security-preauth/src/test/java/org/apache/knox/gateway/provider/federation/PreAuthServiceTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapDynamicGroupFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/GatewayLdapGroupFuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/Knox242FuncTest.java gateway-test/src/test/java/org/apache/knox/gateway/KnoxCliLdapFuncTestNegative.java
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 582cc7e38a99f4dc624325cccd66e12a0923ec6f in knox's branch refs/heads/KNOX-998-Package_Restructuring from Sandeep More
        [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=582cc7e ]

        KNOX-998 - Merging from master

        Show
        jira-bot ASF subversion and git services added a comment - Commit 582cc7e38a99f4dc624325cccd66e12a0923ec6f in knox's branch refs/heads/ KNOX-998 -Package_Restructuring from Sandeep More [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=582cc7e ] KNOX-998 - Merging from master
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 2e3758434a9afb1fa6b4a02df991b59cbf7be8dc in knox's branch refs/heads/KNOX-998-Package_Restructuring from Sandeep More
        [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=2e37584 ]

        KNOX-998 - Merging from master

        Show
        jira-bot ASF subversion and git services added a comment - Commit 2e3758434a9afb1fa6b4a02df991b59cbf7be8dc in knox's branch refs/heads/ KNOX-998 -Package_Restructuring from Sandeep More [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=2e37584 ] KNOX-998 - Merging from master
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit f4a4355d430ae6152eaefbfd3a118cfd65b00f07 in knox's branch refs/heads/KNOX-998-Package_Restructuring from Sandeep More
        [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=f4a4355 ]

        KNOX-998 - Merging from master

        Show
        jira-bot ASF subversion and git services added a comment - Commit f4a4355d430ae6152eaefbfd3a118cfd65b00f07 in knox's branch refs/heads/ KNOX-998 -Package_Restructuring from Sandeep More [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=f4a4355 ] KNOX-998 - Merging from master
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 416ee7c15076ddcaf25cd6a908e6cf1b39683673 in knox's branch refs/heads/KNOX-998-Package_Restructuring from Sandeep More
        [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=416ee7c ]

        Merge remote-tracking branch 'origin/master' into KNOX-998-Package_Restructuring

        1. Conflicts:
        2. gateway-service-knoxsso/src/test/java/org/apache/knox/gateway/service/knoxsso/WebSSOResourceTest.java
        3. gateway-service-knoxtoken/src/test/java/org/apache/knox/gateway/service/knoxtoken/TokenServiceResourceTest.java
        Show
        jira-bot ASF subversion and git services added a comment - Commit 416ee7c15076ddcaf25cd6a908e6cf1b39683673 in knox's branch refs/heads/ KNOX-998 -Package_Restructuring from Sandeep More [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=416ee7c ] Merge remote-tracking branch 'origin/master' into KNOX-998 -Package_Restructuring Conflicts: gateway-service-knoxsso/src/test/java/org/apache/knox/gateway/service/knoxsso/WebSSOResourceTest.java gateway-service-knoxtoken/src/test/java/org/apache/knox/gateway/service/knoxtoken/TokenServiceResourceTest.java

          People

          • Assignee:
            smore Sandeep More
            Reporter:
            smore Sandeep More
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development