Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-1

Re-factor Package Name org.apache.stratos.load.balance to org.apache.stratos.lb

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Re-factor package name org.apache.stratos.load.balance to org.apache.stratos.lb in following modules and referencing locations to be consistent with other load balancer modules.

      Components:

      • org.apache.stratos.load.balance.agent

      Features:

      • org.apache.stratos.load.balance.agent.feature
      • org.apache.stratos.load.balance.agent.server.feature
      • org.apache.stratos.load.balance.agent.ui.feature

      Service Stubs:

      • org.apache.stratos.load.balance.agent.stub
      • org.apache.stratos.load.balance.autoscaler.service.stub
      • org.apache.stratos.load.balance.cartridge.autoscaler.service.stub

        Activity

        Hide
        chrishantha Isuru Perera added a comment -

        I applied the patch sent via dev@ mail.

        I'm resolving this issue.

        Thanks!

        Show
        chrishantha Isuru Perera added a comment - I applied the patch sent via dev@ mail. I'm resolving this issue. Thanks!
        Hide
        lakmal.warusawithana Lakmal Warusawithana added a comment -

        Please update the JIRA after applying patches.


        Lakmal Warusawithana
        Software Architect; WSO2 Inc.
        Mobile : +94714289692
        Blog : http://lakmalsview.blogspot.com/

        Show
        lakmal.warusawithana Lakmal Warusawithana added a comment - Please update the JIRA after applying patches. – Lakmal Warusawithana Software Architect; WSO2 Inc. Mobile : +94714289692 Blog : http://lakmalsview.blogspot.com/
        Hide
        imesh Imesh Gunaratne added a comment -

        Hi Lakmal, I think Isuru applied this patch in revision 55ce30c2f88ff89f808f95f8453a0dfeab294942.
        Thanks

        Show
        imesh Imesh Gunaratne added a comment - Hi Lakmal, I think Isuru applied this patch in revision 55ce30c2f88ff89f808f95f8453a0dfeab294942. Thanks
        Hide
        lakmal.warusawithana Lakmal Warusawithana added a comment -

        give some errors while applying it. Please look into it.

        error: patch failed: components/org.apache.stratos.adc.mgt/pom.xml:43
        error: components/org.apache.stratos.adc.mgt/pom.xml: patch does not apply
        error: components/org.apache.stratos.lb.agent/pom.xml: already exists in working directory
        error: components/org.apache.stratos.lb.agent/src/main/java/org/apache/stratos/load/balance/agent/LoadBalanceAgentService.java: already exists in working directory
        error: components/org.apache.stratos.lb.agent/src/main/resources/META-INF/services.xml: already exists in working directory
        error: patch failed: components/org.apache.stratos.lb.endpoint/src/main/java/org/apache/stratos/lb/endpoint/internal/LoadBalanceEndpointServiceComponent.java:60
        error: components/org.apache.stratos.lb.endpoint/src/main/java/org/apache/stratos/lb/endpoint/internal/LoadBalanceEndpointServiceComponent.java: patch does not apply
        error: components/org.apache.stratos.load.balance.agent/pom.xml: No such file or directory
        error: components/org.apache.stratos.load.balance.agent/src/main/java/org/apache/stratos/load/balance/agent/LoadBalanceAgentService.java: No such file or directory
        error: components/org.apache.stratos.load.balance.agent/src/main/resources/META-INF/services.xml: No such file or directory
        error: patch failed: components/org.apache.stratos.mediator.autoscale/pom.xml:70
        error: components/org.apache.stratos.mediator.autoscale/pom.xml: patch does not apply
        error: patch failed: components/org.apache.stratos.status.monitor.agent/pom.xml:102
        error: components/org.apache.stratos.status.monitor.agent/pom.xml: patch does not apply
        error: patch failed: components/org.apache.stratos.status.monitor.agent/src/main/java/org/apache/stratos/status/monitor/agent/clients/common/LoadBalanceAgentClient.java:22
        error: components/org.apache.stratos.status.monitor.agent/src/main/java/org/apache/stratos/status/monitor/agent/clients/common/LoadBalanceAgentClient.java: patch does not apply
        error: patch failed: components/pom.xml:59
        error: components/pom.xml: patch does not apply
        error: patch failed: features/adc/org.apache.stratos.adc.mgt.server.feature/pom.xml:43
        error: features/adc/org.apache.stratos.adc.mgt.server.feature/pom.xml: patch does not apply
        error: patch failed: features/autoscaler/org.apache.stratos.mediator.autoscale.feature/pom.xml:39
        error: features/autoscaler/org.apache.stratos.mediator.autoscale.feature/pom.xml: patch does not apply
        error: features/manager/load-balance-agent/org.apache.stratos.lb.agent.feature/pom.xml: already exists in working directory
        error: features/manager/load-balance-agent/org.apache.stratos.lb.agent.server.feature/pom.xml: already exists in working directory
        error: features/manager/load-balance-agent/org.apache.stratos.lb.agent.ui.feature/pom.xml: already exists in working directory
        error: features/manager/load-balance-agent/org.apache.stratos.load.balance.agent.feature/pom.xml: No such file or directory
        error: features/manager/load-balance-agent/org.apache.stratos.load.balance.agent.server.feature/pom.xml: No such file or directory
        error: features/manager/load-balance-agent/org.apache.stratos.load.balance.agent.ui.feature/pom.xml: No such file or directory
        error: patch failed: features/manager/load-balance-agent/pom.xml:34
        error: features/manager/load-balance-agent/pom.xml: patch does not apply
        error: patch failed: features/manager/status-monitor/org.apache.stratos.status.monitor.agent.feature/pom.xml:73
        error: features/manager/status-monitor/org.apache.stratos.status.monitor.agent.feature/pom.xml: patch does not apply
        error: patch failed: products/cloud_controller/modules/p2-profile/pom.xml:169
        error: products/cloud_controller/modules/p2-profile/pom.xml: patch does not apply
        error: patch failed: products/stratos_controller/modules/p2-profile-gen/pom.xml:168
        error: products/stratos_controller/modules/p2-profile-gen/pom.xml: patch does not apply
        error: service-stubs/org.apache.stratos.lb.agent.stub/pom.xml: already exists in working directory
        error: service-stubs/org.apache.stratos.lb.agent.stub/src/main/resources/LoadBalanceAgentService.wsdl: already exists in working directory
        error: service-stubs/org.apache.stratos.lb.autoscaler.service.stub/pom.xml: already exists in working directory
        error: service-stubs/org.apache.stratos.lb.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl: already exists in working directory
        error: service-stubs/org.apache.stratos.lb.cartridge.autoscaler.service.stub/pom.xml: already exists in working directory
        error: service-stubs/org.apache.stratos.lb.cartridge.autoscaler.service.stub/src/main/resources/CloudControllerService.wsdl: already exists in working directory
        error: service-stubs/org.apache.stratos.load.balance.agent.stub/pom.xml: No such file or directory
        error: service-stubs/org.apache.stratos.load.balance.agent.stub/src/main/resources/LoadBalanceAgentService.wsdl: No such file or directory
        error: service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/pom.xml: No such file or directory
        error: service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl: No such file or directory
        error: service-stubs/org.apache.stratos.load.balance.cartridge.autoscaler.service.stub/pom.xml: No such file or directory
        error: service-stubs/org.apache.stratos.load.balance.cartridge.autoscaler.service.stub/src/main/resources/CloudControllerService.wsdl: No such file or directory
        error: patch failed: service-stubs/pom.xml:35
        error: service-stubs/pom.xml: patch does not apply

        Show
        lakmal.warusawithana Lakmal Warusawithana added a comment - give some errors while applying it. Please look into it. error: patch failed: components/org.apache.stratos.adc.mgt/pom.xml:43 error: components/org.apache.stratos.adc.mgt/pom.xml: patch does not apply error: components/org.apache.stratos.lb.agent/pom.xml: already exists in working directory error: components/org.apache.stratos.lb.agent/src/main/java/org/apache/stratos/load/balance/agent/LoadBalanceAgentService.java: already exists in working directory error: components/org.apache.stratos.lb.agent/src/main/resources/META-INF/services.xml: already exists in working directory error: patch failed: components/org.apache.stratos.lb.endpoint/src/main/java/org/apache/stratos/lb/endpoint/internal/LoadBalanceEndpointServiceComponent.java:60 error: components/org.apache.stratos.lb.endpoint/src/main/java/org/apache/stratos/lb/endpoint/internal/LoadBalanceEndpointServiceComponent.java: patch does not apply error: components/org.apache.stratos.load.balance.agent/pom.xml: No such file or directory error: components/org.apache.stratos.load.balance.agent/src/main/java/org/apache/stratos/load/balance/agent/LoadBalanceAgentService.java: No such file or directory error: components/org.apache.stratos.load.balance.agent/src/main/resources/META-INF/services.xml: No such file or directory error: patch failed: components/org.apache.stratos.mediator.autoscale/pom.xml:70 error: components/org.apache.stratos.mediator.autoscale/pom.xml: patch does not apply error: patch failed: components/org.apache.stratos.status.monitor.agent/pom.xml:102 error: components/org.apache.stratos.status.monitor.agent/pom.xml: patch does not apply error: patch failed: components/org.apache.stratos.status.monitor.agent/src/main/java/org/apache/stratos/status/monitor/agent/clients/common/LoadBalanceAgentClient.java:22 error: components/org.apache.stratos.status.monitor.agent/src/main/java/org/apache/stratos/status/monitor/agent/clients/common/LoadBalanceAgentClient.java: patch does not apply error: patch failed: components/pom.xml:59 error: components/pom.xml: patch does not apply error: patch failed: features/adc/org.apache.stratos.adc.mgt.server.feature/pom.xml:43 error: features/adc/org.apache.stratos.adc.mgt.server.feature/pom.xml: patch does not apply error: patch failed: features/autoscaler/org.apache.stratos.mediator.autoscale.feature/pom.xml:39 error: features/autoscaler/org.apache.stratos.mediator.autoscale.feature/pom.xml: patch does not apply error: features/manager/load-balance-agent/org.apache.stratos.lb.agent.feature/pom.xml: already exists in working directory error: features/manager/load-balance-agent/org.apache.stratos.lb.agent.server.feature/pom.xml: already exists in working directory error: features/manager/load-balance-agent/org.apache.stratos.lb.agent.ui.feature/pom.xml: already exists in working directory error: features/manager/load-balance-agent/org.apache.stratos.load.balance.agent.feature/pom.xml: No such file or directory error: features/manager/load-balance-agent/org.apache.stratos.load.balance.agent.server.feature/pom.xml: No such file or directory error: features/manager/load-balance-agent/org.apache.stratos.load.balance.agent.ui.feature/pom.xml: No such file or directory error: patch failed: features/manager/load-balance-agent/pom.xml:34 error: features/manager/load-balance-agent/pom.xml: patch does not apply error: patch failed: features/manager/status-monitor/org.apache.stratos.status.monitor.agent.feature/pom.xml:73 error: features/manager/status-monitor/org.apache.stratos.status.monitor.agent.feature/pom.xml: patch does not apply error: patch failed: products/cloud_controller/modules/p2-profile/pom.xml:169 error: products/cloud_controller/modules/p2-profile/pom.xml: patch does not apply error: patch failed: products/stratos_controller/modules/p2-profile-gen/pom.xml:168 error: products/stratos_controller/modules/p2-profile-gen/pom.xml: patch does not apply error: service-stubs/org.apache.stratos.lb.agent.stub/pom.xml: already exists in working directory error: service-stubs/org.apache.stratos.lb.agent.stub/src/main/resources/LoadBalanceAgentService.wsdl: already exists in working directory error: service-stubs/org.apache.stratos.lb.autoscaler.service.stub/pom.xml: already exists in working directory error: service-stubs/org.apache.stratos.lb.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl: already exists in working directory error: service-stubs/org.apache.stratos.lb.cartridge.autoscaler.service.stub/pom.xml: already exists in working directory error: service-stubs/org.apache.stratos.lb.cartridge.autoscaler.service.stub/src/main/resources/CloudControllerService.wsdl: already exists in working directory error: service-stubs/org.apache.stratos.load.balance.agent.stub/pom.xml: No such file or directory error: service-stubs/org.apache.stratos.load.balance.agent.stub/src/main/resources/LoadBalanceAgentService.wsdl: No such file or directory error: service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/pom.xml: No such file or directory error: service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl: No such file or directory error: service-stubs/org.apache.stratos.load.balance.cartridge.autoscaler.service.stub/pom.xml: No such file or directory error: service-stubs/org.apache.stratos.load.balance.cartridge.autoscaler.service.stub/src/main/resources/CloudControllerService.wsdl: No such file or directory error: patch failed: service-stubs/pom.xml:35 error: service-stubs/pom.xml: patch does not apply

          People

          • Assignee:
            imesh Imesh Gunaratne
            Reporter:
            imesh Imesh Gunaratne
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development