├── components ├── org.wso2.ppaas.python.cartridge.agent │ ├── .gitignore │ └── src │ │ └── main │ │ ├── python │ │ └── cartridge.agent │ │ │ ├── cartridge.agent │ │ │ ├── terminator.txt │ │ │ ├── __init__.py │ │ │ ├── modules │ │ │ │ ├── __init__.py │ │ │ │ ├── event │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── instance │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── notifier │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ │ └── status │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ ├── tenant │ │ │ │ │ │ └── __init__.py │ │ │ │ │ ├── topology │ │ │ │ │ │ └── __init__.py │ │ │ │ │ ├── application │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── signup │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ └── domain │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── mapping │ │ │ │ │ │ └── __init__.py │ │ │ │ ├── util │ │ │ │ │ └── __init__.py │ │ │ │ ├── databridge │ │ │ │ │ ├── thrift │ │ │ │ │ │ ├── gen │ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ │ ├── Data │ │ │ │ │ │ │ │ ├── constants.py │ │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ │ │ ├── Exception │ │ │ │ │ │ │ │ ├── constants.py │ │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ │ │ ├── ThriftSecureEventTransmissionService │ │ │ │ │ │ │ │ ├── constants.py │ │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ │ │ └── ThriftEventTransmissionService │ │ │ │ │ │ │ │ ├── constants.py │ │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── thrift │ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ │ ├── server │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ │ │ ├── transport │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ │ │ └── protocol │ │ │ │ │ │ │ └── __init__.py │ │ │ │ │ └── __init__.py │ │ │ │ └── artifactmgt │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── git │ │ │ │ │ └── __init__.py │ │ │ ├── plugins │ │ │ │ ├── __init__.py │ │ │ │ ├── DefaultArtifactCommit.yapsy-plugin │ │ │ │ ├── DefaultArtifactCheckout.yapsy-plugin │ │ │ │ └── DefaultHealthStatisticsReader.yapsy-plugin │ │ │ └── extensions │ │ │ │ └── py │ │ │ │ ├── __init__.py │ │ │ │ └── ExtensionExecutor.yapsy-plugin │ │ │ ├── tests │ │ │ ├── conf │ │ │ │ └── git │ │ │ │ │ ├── auth_repo2.json │ │ │ │ │ ├── simple_repo.json │ │ │ │ │ └── auth_repo.json │ │ │ └── __init__.py │ │ │ └── __init__.py │ │ └── resources │ │ └── cloud-services-desc.xml ├── README.md ├── org.wso2.ppaas.manager.console │ ├── README.md │ └── console │ │ ├── config │ │ └── console.json │ │ ├── themes │ │ └── privatePaaS │ │ │ ├── images │ │ │ ├── favicon.png │ │ │ ├── wso2_logo.png │ │ │ ├── avatar │ │ │ │ └── user.png │ │ │ ├── topology │ │ │ │ ├── group.png │ │ │ │ ├── member.png │ │ │ │ ├── cluster.png │ │ │ │ └── application.png │ │ │ ├── wso2_private_paas.png │ │ │ └── ContextMenu │ │ │ │ ├── page_white_edit.png │ │ │ │ └── page_white_delete.png │ │ │ ├── css │ │ │ ├── font-mfizz-1.2 │ │ │ │ ├── font-mfizz.eot │ │ │ │ ├── font-mfizz.ttf │ │ │ │ ├── font-mfizz.woff │ │ │ │ └── LICENSE.txt │ │ │ ├── fontwso2-1.0 │ │ │ │ └── fonts │ │ │ │ │ ├── fontwso2.eot │ │ │ │ │ ├── fontwso2.ttf │ │ │ │ │ └── fontwso2.woff │ │ │ ├── font-awesome-4.2.0 │ │ │ │ └── fonts │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ └── fontawesome-webfont.woff │ │ │ ├── bootstrap-3.2.0 │ │ │ │ └── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ └── glyphicons-halflings-regular.woff │ │ │ └── web-fonts │ │ │ │ └── fonts │ │ │ │ ├── DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff │ │ │ │ ├── MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff │ │ │ │ ├── cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff │ │ │ │ └── k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff │ │ │ ├── js │ │ │ ├── wizard │ │ │ │ └── custom.js │ │ │ └── custom │ │ │ │ └── script.js │ │ │ ├── partials │ │ │ ├── index_title.hbs │ │ │ ├── index_left_menu.hbs │ │ │ └── login_header.hbs │ │ │ └── helpers │ │ │ ├── login_body.js │ │ │ ├── applications.js │ │ │ ├── users_form.js │ │ │ ├── applications_form.js │ │ │ ├── configure_form.js │ │ │ ├── wizard.js │ │ │ └── applications_topology.js │ │ ├── controllers │ │ ├── forms │ │ │ └── default │ │ │ │ ├── configure │ │ │ │ ├── cartridge-groups.json │ │ │ │ ├── application-policies.json │ │ │ │ ├── autoscaling-policies.json │ │ │ │ ├── network-partitions.json │ │ │ │ └── deployment-policies.json │ │ │ │ ├── users │ │ │ │ ├── users.json │ │ │ │ └── tenants.json │ │ │ │ └── applications │ │ │ │ └── applications.json │ │ ├── login │ │ │ └── logout.jag │ │ └── log │ │ │ └── console.jag │ │ ├── .gitignore │ │ ├── README.md │ │ ├── login.jag │ │ └── jaggery.conf └── org.wso2.ppaas.manager.styles │ └── src │ └── main │ └── resources │ └── web │ └── styles │ └── images │ ├── header-logo.png │ └── header-region-bg.gif ├── products ├── python-cartridge-agent │ └── modules │ │ ├── integration │ │ ├── .gitignore │ │ └── test-integration │ │ │ └── src │ │ │ └── test │ │ │ └── resources │ │ │ ├── common │ │ │ ├── wso2carbon.jks │ │ │ ├── client-truststore.jks │ │ │ ├── stratos-health-stream-def.json │ │ │ └── jndi.properties │ │ │ ├── AgentTerminationTestCase │ │ │ └── payload │ │ │ │ └── launch-params │ │ │ ├── ADCTestCase │ │ │ └── payload │ │ │ │ └── launch-params │ │ │ ├── ADCValidationTestCase │ │ │ └── payload │ │ │ │ └── launch-params │ │ │ ├── ADCMTAppTestCase │ │ │ └── payload │ │ │ │ └── launch-params │ │ │ ├── ADCExtensionTestCase │ │ │ ├── payload │ │ │ │ └── launch-params │ │ │ └── extensions │ │ │ │ └── py │ │ │ │ ├── commit-job-handler.yapsy-plugin │ │ │ │ └── checkout-job-handler.yapsy-plugin │ │ │ ├── ADCMTAppTenantUserTestCase │ │ │ └── payload │ │ │ │ └── launch-params │ │ │ ├── ADCBranchPerTenantTestCase │ │ │ ├── payload │ │ │ │ └── launch-params │ │ │ └── extensions │ │ │ │ └── py │ │ │ │ ├── BranchBasedArtifactCommit.yapsy-plugin │ │ │ │ └── BranchBasedArtifactCheckout.yapsy-plugin │ │ │ ├── LogPublisherTestCase │ │ │ └── log_file.log │ │ │ └── AgentStartupTestCase │ │ │ └── extensions │ │ │ └── py │ │ │ ├── commit-job-handler.yapsy-plugin │ │ │ ├── checkout-job-handler.yapsy-plugin │ │ │ └── startup-test-handler.yapsy-plugin │ │ └── distribution │ │ └── src │ │ └── main │ │ ├── notice │ │ └── NOTICE │ │ └── readme │ │ └── README ├── README.md └── ppaas │ └── modules │ ├── integration │ └── tests-integration │ │ └── src │ │ └── test │ │ └── resources │ │ ├── instrumentation.txt │ │ ├── keystores │ │ └── products │ │ │ ├── userRP.jks │ │ │ ├── wso2carbon.jks │ │ │ └── client-truststore.jks │ │ ├── user-test │ │ ├── user-1.json │ │ ├── user-1-v1.json │ │ └── tenant-1.json │ │ ├── autoscaling-policy-test │ │ └── autoscaling-policies │ │ │ ├── autoscaling-policy-autoscaling-policy-test.json │ │ │ ├── autoscaling-policy-autoscaling-policy-test-1.json │ │ │ ├── autoscaling-policy-autoscaling-policy-test-2.json │ │ │ └── autoscaling-policy-autoscaling-policy-test-v1.json │ │ ├── filters.txt │ │ ├── sample-applications-test │ │ ├── autoscaling-policies │ │ │ └── autoscaling-policy-sample-applications-test.json │ │ ├── network-partitions │ │ │ └── mock │ │ │ │ ├── network-partition-sample-applications-test-1.json │ │ │ │ ├── network-partition-sample-applications-test-2.json │ │ │ │ └── network-partition-sample-applications-test-1-v1.json │ │ ├── application-policies │ │ │ └── application-policy-sample-applications-test.json │ │ └── deployment-policies │ │ │ ├── deployment-policy-sample-applications-test.json │ │ │ └── deployment-policy-sample-applications-test-v1.json │ │ ├── sample-application-startup-test │ │ ├── autoscaling-policies │ │ │ └── autoscaling-policy-sample-application-startup-test.json │ │ ├── network-partitions │ │ │ └── mock │ │ │ │ └── network-partition-sample-application-startup-test.json │ │ ├── deployment-policies │ │ │ └── deployment-policy-sample-application-startup-test.json │ │ ├── application-policies │ │ │ └── application-policy-sample-application-startup-test.json │ │ └── applications │ │ │ └── sample-application-startup-test.json │ │ ├── deployment-policy-test │ │ ├── network-partitions │ │ │ └── mock │ │ │ │ ├── network-partition-deployment-policy-test-1.json │ │ │ │ ├── network-partition-deployment-policy-test-2.json │ │ │ │ └── network-partition-deployment-policy-test-1-v1.json │ │ └── deployment-policies │ │ │ ├── deployment-policy-deployment-policy-test.json │ │ │ ├── deployment-policy-deployment-policy-test-1.json │ │ │ ├── deployment-policy-deployment-policy-test-2.json │ │ │ └── deployment-policy-deployment-policy-test-v1.json │ │ ├── network-partition-test │ │ └── network-partitions │ │ │ └── mock │ │ │ ├── network-partition-network-partition-test-1.json │ │ │ ├── network-partition-network-partition-test-2.json │ │ │ ├── network-partition-network-partition-test.json │ │ │ └── network-partition-network-partition-test-v1.json │ │ ├── application-policy-test │ │ ├── network-partitions │ │ │ └── mock │ │ │ │ ├── network-partition-application-policy-test-2.json │ │ │ │ └── network-partition-application-policy-test-1.json │ │ └── application-policies │ │ │ ├── application-policy-application-policy-test.json │ │ │ ├── application-policy-application-policy-test-1.json │ │ │ └── application-policy-application-policy-test-2.json │ │ └── common │ │ ├── jndi.properties │ │ └── cartridge-config.properties │ └── distribution │ └── src │ ├── main │ ├── conf │ │ ├── security │ │ │ └── client-truststore.jks │ │ ├── siddhi │ │ │ └── siddhi.extension │ │ ├── mqtttopic.properties │ │ ├── application-authenticators.xml │ │ ├── jndi.properties │ │ ├── multitenancy │ │ │ └── tenant-reg-agent.xml │ │ └── default-adaptors │ │ │ ├── DefaultWSO2EventInputAdaptor.xml │ │ │ └── DefaultWSO2EventOutputAdaptor.xml │ └── temp-artifacts │ │ ├── org.wso2.store.sso.common_1.0.0.jar │ │ ├── org.wso2.stratos.identity.saml2.sso.mgt_2.2.0.jar │ │ ├── org.jaggeryjs.hostobjects.xhr_0.9.0.ALPHA4_wso2v1.jar │ │ └── sso │ │ └── module.xml │ └── assembly │ └── filter.properties ├── features └── README.md ├── tools ├── installer │ ├── activemq │ │ └── 5.10.0 │ │ │ ├── README.md │ │ │ └── template-module │ │ │ ├── module.ini │ │ │ └── README.md │ ├── wso2das │ │ └── 3.0.0 │ │ │ ├── template-module │ │ │ ├── files │ │ │ │ ├── bin │ │ │ │ │ └── .gitignore │ │ │ │ ├── lib │ │ │ │ │ └── .gitignore │ │ │ │ ├── dbscripts │ │ │ │ │ └── .gitignore │ │ │ │ └── repository │ │ │ │ │ ├── components │ │ │ │ │ ├── lib │ │ │ │ │ │ └── .gitignore │ │ │ │ │ ├── dropins │ │ │ │ │ │ └── .gitignore │ │ │ │ │ └── patches │ │ │ │ │ │ └── .gitignore │ │ │ │ │ └── deployment │ │ │ │ │ └── server │ │ │ │ │ ├── carbonapps │ │ │ │ │ └── .gitignore │ │ │ │ │ └── jaggeryapps │ │ │ │ │ └── portal │ │ │ │ │ ├── js │ │ │ │ │ └── .gitignore │ │ │ │ │ ├── theme │ │ │ │ │ └── templates │ │ │ │ │ │ └── .gitignore │ │ │ │ │ └── controllers │ │ │ │ │ └── apis │ │ │ │ │ └── .gitignore │ │ │ └── templates │ │ │ │ └── repository │ │ │ │ └── conf │ │ │ │ └── jndi.properties.template │ │ │ └── README.md │ ├── wso2ppaas │ │ └── 4.1.0 │ │ │ ├── template-module │ │ │ └── files │ │ │ │ ├── bin │ │ │ │ └── .gitignore │ │ │ │ ├── lib │ │ │ │ └── .gitignore │ │ │ │ ├── dbscripts │ │ │ │ └── .gitignore │ │ │ │ └── repository │ │ │ │ └── components │ │ │ │ ├── lib │ │ │ │ └── .gitignore │ │ │ │ ├── dropins │ │ │ │ └── .gitignore │ │ │ │ └── patches │ │ │ │ └── .gitignore │ │ │ └── README.md │ ├── wso2cep │ │ └── 3.1.0 │ │ │ ├── template-module │ │ │ ├── files │ │ │ │ └── repository │ │ │ │ │ ├── conf │ │ │ │ │ └── .gitignore │ │ │ │ │ ├── components │ │ │ │ │ ├── lib │ │ │ │ │ │ └── .gitignore │ │ │ │ │ ├── dropins │ │ │ │ │ │ └── .gitignore │ │ │ │ │ └── patches │ │ │ │ │ │ └── .gitignore │ │ │ │ │ └── deployment │ │ │ │ │ └── server │ │ │ │ │ └── .gitignore │ │ │ └── templates │ │ │ │ └── repository │ │ │ │ └── conf │ │ │ │ └── siddhi │ │ │ │ └── siddhi.extension.template │ │ │ └── README.md │ ├── wso2cep-monitoring │ │ └── 3.1.0 │ │ │ ├── template-module │ │ │ ├── files │ │ │ │ └── repository │ │ │ │ │ └── deployment │ │ │ │ │ └── server │ │ │ │ │ └── eventformatters │ │ │ │ │ └── .gitignore │ │ │ └── module.ini │ │ │ └── README.md │ ├── README.md │ └── scripts │ │ └── README └── migration │ ├── distribution │ └── contents │ │ ├── resources │ │ ├── wso2carbon.jks │ │ └── scripts │ │ │ ├── ec2 │ │ │ ├── undeploy.sh │ │ │ └── deploy.sh │ │ │ ├── gce │ │ │ ├── undeploy.sh │ │ │ └── deploy.sh │ │ │ ├── mock │ │ │ ├── undeploy.sh │ │ │ └── deploy.sh │ │ │ └── openstack │ │ │ ├── undeploy.sh │ │ │ └── deploy.sh │ │ └── conf │ │ ├── config.properties │ │ └── log4j.properties │ ├── artifact.migration.tool │ └── src │ │ ├── test │ │ └── resources │ │ │ ├── wso2carbon.jks │ │ │ ├── test_artifacts │ │ │ ├── test_domainmappings.json │ │ │ ├── test_partitions.json │ │ │ ├── test_services.json │ │ │ ├── test_cartridges.json │ │ │ ├── test_autoscalepolicies.json │ │ │ ├── test_deploymentpolicies.json │ │ │ └── test_multitenantcartridges.json │ │ │ ├── test-outputs │ │ │ ├── applications │ │ │ │ ├── myphp-application │ │ │ │ │ ├── artifacts │ │ │ │ │ │ ├── domain-mapping.json │ │ │ │ │ │ ├── application-signup.json │ │ │ │ │ │ └── myphp-application.json │ │ │ │ │ └── scripts │ │ │ │ │ │ └── gce │ │ │ │ │ │ ├── undeploy.sh │ │ │ │ │ │ └── deploy.sh │ │ │ │ └── newphp-application │ │ │ │ │ ├── artifacts │ │ │ │ │ ├── domain-mapping.json │ │ │ │ │ ├── application-signup.json │ │ │ │ │ └── newphp-application.json │ │ │ │ │ └── scripts │ │ │ │ │ └── gce │ │ │ │ │ ├── undeploy.sh │ │ │ │ │ └── deploy.sh │ │ │ ├── application-policies │ │ │ │ └── application-policy-economyDeploymentPolicy.json │ │ │ ├── network-partitions │ │ │ │ └── openstack │ │ │ │ │ └── os2.json │ │ │ ├── autoscaling-policies │ │ │ │ └── simpleAutoscalePolicy.json │ │ │ ├── cartridges │ │ │ │ └── PHP.json │ │ │ └── deployment-policies │ │ │ │ └── economyDeploymentPolicy.json │ │ │ ├── log4j.properties │ │ │ └── scripts │ │ │ ├── gce │ │ │ ├── undeploy.sh │ │ │ └── deploy.sh │ │ │ ├── ec2 │ │ │ └── undeploy.sh │ │ │ ├── mock │ │ │ └── undeploy.sh │ │ │ └── openstack │ │ │ └── undeploy.sh │ │ └── main │ │ └── java │ │ └── org │ │ └── wso2 │ │ └── ppaas │ │ └── tools │ │ └── artifactmigration │ │ └── exception │ │ ├── ArtifactLoadingException.java │ │ └── TransformationException.java │ └── subscription-manager │ └── 4.0.0 │ ├── src │ └── main │ │ └── java │ │ └── org │ │ └── wso2 │ │ └── ppaas │ │ └── rest │ │ └── endpoint │ │ ├── Constants.java │ │ └── bean │ │ ├── util │ │ └── type │ │ │ └── map │ │ │ ├── MapType.java │ │ │ └── MapEntryType.java │ │ ├── cartridge │ │ └── definition │ │ │ └── PropertyBean.java │ │ ├── autoscaler │ │ ├── policy │ │ │ └── autoscale │ │ │ │ ├── LoadAverageThresholds.java │ │ │ │ ├── MemoryConsumptionThresholds.java │ │ │ │ ├── RequestsInFlightThresholds.java │ │ │ │ └── LoadThresholds.java │ │ └── partition │ │ │ └── PartitionGroup.java │ │ ├── subscription │ │ └── domain │ │ │ └── SubscriptionDomainBean.java │ │ └── StratosAdminResponse.java │ └── scripts │ ├── export.sh │ └── import.sh ├── .gitignore ├── issue_template.md └── extensions └── carbon └── kubernetes-membership-scheme └── src ├── main └── java │ └── org │ └── wso2 │ └── carbon │ └── membership │ └── scheme │ └── kubernetes │ └── domain │ └── Annotations.java └── test └── resources └── log4j.properties /components/org.wso2.ppaas.python.cartridge.agent/.gitignore: -------------------------------------------------------------------------------- 1 | cartridge-agent.log 2 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/.gitignore: -------------------------------------------------------------------------------- 1 | cartridge-agent.log 2 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/terminator.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /features/README.md: -------------------------------------------------------------------------------- 1 | # WSO2 Private PaaS features 2 | This directory consists features used in Private PaaS 3 | -------------------------------------------------------------------------------- /products/README.md: -------------------------------------------------------------------------------- 1 | # WSO2 Private PaaS products 2 | This directory consists products used in Private PaaS 3 | -------------------------------------------------------------------------------- /components/README.md: -------------------------------------------------------------------------------- 1 | # WSO2 Private PaaS components 2 | This directory consists components used in Private PaaS 3 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/instrumentation.txt: -------------------------------------------------------------------------------- 1 | org.apache.stratos.* 2 | org.wso2.ppaas.* -------------------------------------------------------------------------------- /tools/installer/activemq/5.10.0/README.md: -------------------------------------------------------------------------------- 1 | ## Apache ActiveMQ 5.10.0 Installer Module 2 | 3 | ### Compatibility 4 | 5 | WSO2 Private PaaS 4.1.1 6 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/bin/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/lib/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/README.md: -------------------------------------------------------------------------------- 1 | ##WSO2 Private PaaS components 2 | This components contains the Jaggery apps for Private PaaS theme/UI 3 | -------------------------------------------------------------------------------- /tools/installer/wso2ppaas/4.1.0/template-module/files/bin/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2ppaas/4.1.0/template-module/files/lib/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/dbscripts/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2ppaas/4.1.0/template-module/files/dbscripts/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2cep/3.1.0/template-module/files/repository/conf/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/config/console.json: -------------------------------------------------------------------------------- 1 | { 2 | "backendServerConfiguration": { 3 | "url": "%https.host%/api/v4.1" 4 | } 5 | } -------------------------------------------------------------------------------- /tools/installer/wso2cep/3.1.0/template-module/files/repository/components/lib/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2cep/3.1.0/template-module/files/repository/deployment/server/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/repository/components/lib/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2ppaas/4.1.0/template-module/files/repository/components/lib/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2cep/3.1.0/template-module/files/repository/components/dropins/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2cep/3.1.0/template-module/files/repository/components/patches/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/repository/components/dropins/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/repository/components/patches/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2ppaas/4.1.0/template-module/files/repository/components/dropins/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2ppaas/4.1.0/template-module/files/repository/components/patches/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/repository/deployment/server/carbonapps/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/resources/wso2carbon.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/tools/migration/distribution/contents/resources/wso2carbon.jks -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/repository/deployment/server/jaggeryapps/portal/js/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | 3 | # Eclipse Project Files 4 | .project 5 | .classpath 6 | .settings/ 7 | 8 | # IntelliJ IDEA Project Files 9 | .idea/ 10 | *.iml 11 | 12 | #python bytecode 13 | *.pyc 14 | -------------------------------------------------------------------------------- /tools/installer/wso2cep-monitoring/3.1.0/template-module/files/repository/deployment/server/eventformatters/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/repository/deployment/server/jaggeryapps/portal/theme/templates/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /tools/installer/wso2ppaas/4.1.0/README.md: -------------------------------------------------------------------------------- 1 | ## WSO2 Private PaaS 4.1.0 Cartridge 2 | 3 | ### Profiles 4 | 5 | - Default 6 | 7 | 8 | ### Compatibility 9 | 10 | WSO2 Private PaaS 4.1.0 or higher 11 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/wso2carbon.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/tools/migration/artifact.migration.tool/src/test/resources/wso2carbon.jks -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/files/repository/deployment/server/jaggeryapps/portal/controllers/apis/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/conf/security/client-truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/products/ppaas/modules/distribution/src/main/conf/security/client-truststore.jks -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test_artifacts/test_domainmappings.json: -------------------------------------------------------------------------------- 1 | { 2 | "domains": [ 3 | { 4 | "domainName": "wso2.com", 5 | "applicationContext": "/wso2as/" 6 | } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/favicon.png -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/wso2_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/wso2_logo.png -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/avatar/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/avatar/user.png -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.styles/src/main/resources/web/styles/images/header-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.styles/src/main/resources/web/styles/images/header-logo.png -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/topology/group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/topology/group.png -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/topology/member.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/topology/member.png -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/temp-artifacts/org.wso2.store.sso.common_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/products/ppaas/modules/distribution/src/main/temp-artifacts/org.wso2.store.sso.common_1.0.0.jar -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/topology/cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/topology/cluster.png -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/wso2_private_paas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/wso2_private_paas.png -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.styles/src/main/resources/web/styles/images/header-region-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.styles/src/main/resources/web/styles/images/header-region-bg.gif -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/topology/application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/topology/application.png -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-mfizz-1.2/font-mfizz.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-mfizz-1.2/font-mfizz.eot -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-mfizz-1.2/font-mfizz.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-mfizz-1.2/font-mfizz.ttf -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-mfizz-1.2/font-mfizz.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-mfizz-1.2/font-mfizz.woff -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/keystores/products/userRP.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/products/ppaas/modules/integration/tests-integration/src/test/resources/keystores/products/userRP.jks -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/fontwso2-1.0/fonts/fontwso2.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/fontwso2-1.0/fonts/fontwso2.eot -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/fontwso2-1.0/fonts/fontwso2.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/fontwso2-1.0/fonts/fontwso2.ttf -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/fontwso2-1.0/fonts/fontwso2.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/fontwso2-1.0/fonts/fontwso2.woff -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/products/ppaas/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/distribution/src/main/notice/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Stratos Python Cartridge Agent 2 | Copyright 2015 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/myphp-application/artifacts/domain-mapping.json: -------------------------------------------------------------------------------- 1 | {"domainMappings":[ 2 | { 3 | "cartridgeAlias": "myphp", 4 | "domainName": "wso2.com", 5 | "contextPath": "/wso2as/" 6 | } 7 | ]} -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/ContextMenu/page_white_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/ContextMenu/page_white_edit.png -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/forms/default/configure/cartridge-groups.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "group1", 3 | "cartridges": [ 4 | "tomcat" 5 | ], 6 | "dependencies": { 7 | "terminationBehaviour": "terminate-none" 8 | } 9 | } -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/ContextMenu/page_white_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/images/ContextMenu/page_white_delete.png -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/temp-artifacts/org.wso2.stratos.identity.saml2.sso.mgt_2.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/products/ppaas/modules/distribution/src/main/temp-artifacts/org.wso2.stratos.identity.saml2.sso.mgt_2.2.0.jar -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/user-test/user-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "userName": "user-1", 3 | "credential": "kim12345", 4 | "role": "admin", 5 | "firstName": "Frank", 6 | "lastName": "Myers", 7 | "email": "foo@bar.com" 8 | } 9 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/common/wso2carbon.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/common/wso2carbon.jks -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/forms/default/users/users.json: -------------------------------------------------------------------------------- 1 | { 2 | "userName":"UserName", 3 | "credential":"Password", 4 | "role":"Internal/user", 5 | "firstName":"FirstName", 6 | "lastName":"LastName", 7 | "email":"user@apache.org" 8 | } -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-awesome-4.2.0/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-awesome-4.2.0/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/temp-artifacts/org.jaggeryjs.hostobjects.xhr_0.9.0.ALPHA4_wso2v1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/products/ppaas/modules/distribution/src/main/temp-artifacts/org.jaggeryjs.hostobjects.xhr_0.9.0.ALPHA4_wso2v1.jar -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/products/ppaas/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/user-test/user-1-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "userName": "user-1", 3 | "credential": "kim123456", 4 | "role": "admin", 5 | "firstName": "Frankn", 6 | "lastName": "Myersn", 7 | "email": "user-1@bar.com" 8 | } 9 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/application-policies/application-policy-economyDeploymentPolicy.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "application-policy-economyDeploymentPolicy", 3 | "algorithm": "one-after-another", 4 | "networkPartitions": [ 5 | "os1" 6 | ] 7 | } -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/common/client-truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/common/client-truststore.jks -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/forms/default/users/tenants.json: -------------------------------------------------------------------------------- 1 | { 2 | "admin":"AdminUserName", 3 | "firstName":"FirstName", 4 | "lastName":"LastName", 5 | "adminPassword":"admin123", 6 | "tenantDomain":"apache.org", 7 | "email":"user@apache.org" 8 | } -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/myphp-application/artifacts/application-signup.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "alias": "myphp", 4 | "privateRepo": false, 5 | "repoUrl": "https://github.com/lakwarus/testphp.git", 6 | "repoPassword": "" 7 | } 8 | ] -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-awesome-4.2.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-awesome-4.2.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-awesome-4.2.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-awesome-4.2.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-awesome-4.2.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-awesome-4.2.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/bootstrap-3.2.0/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/bootstrap-3.2.0/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/bootstrap-3.2.0/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/bootstrap-3.2.0/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/bootstrap-3.2.0/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/bootstrap-3.2.0/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/user-test/tenant-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "admin": "admin", 3 | "firstName": "Frank", 4 | "lastName": "Myers", 5 | "adminPassword": "admin123", 6 | "tenantDomain": "frank.com", 7 | "email": "foo@bar.com", 8 | "active": "true" 9 | } 10 | -------------------------------------------------------------------------------- /tools/installer/wso2cep-monitoring/3.1.0/README.md: -------------------------------------------------------------------------------- 1 | ## WSO2 Complex Event Processor 3.1.0 Installer for Monitoring 2 | 3 | WSO2 Private PaaS 4.1.0 or higher 4 | 5 | ### Special Notes 6 | 7 | - This module should be used on top of an existing WSO2 CEP node which is already configured as an external CEP node for WSO2 Private PaaS. 8 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/web-fonts/fonts/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/web-fonts/fonts/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/web-fonts/fonts/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/web-fonts/fonts/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/web-fonts/fonts/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/web-fonts/fonts/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/web-fonts/fonts/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2-attic/product-private-paas/HEAD/components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/web-fonts/fonts/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test_artifacts/test_partitions.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "os2", 4 | "partitionMin": 0, 5 | "partitionMax": 0, 6 | "provider": "openstack", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "RegionOne" 11 | } 12 | ] 13 | } 14 | ] 15 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/network-partitions/openstack/os2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "os2", 3 | "provider": "openstack", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "RegionOne" 11 | } 12 | ] 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/newphp-application/artifacts/domain-mapping.json: -------------------------------------------------------------------------------- 1 | {"domainMappings":[ 2 | { 3 | "cartridgeAlias": "myphp", 4 | "domainName": "wso2.com", 5 | "contextPath": "/wso2as/" 6 | }, 7 | { 8 | "cartridgeAlias": "newphp", 9 | "domainName": "wso2.com", 10 | "contextPath": "/wso2as/" 11 | } 12 | ]} -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/autoscaling-policies/simpleAutoscalePolicy.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "simpleAutoscalePolicy", 3 | "loadThresholds": { 4 | "requestsInFlight": { 5 | "threshold": 0.0 6 | }, 7 | "memoryConsumption": { 8 | "threshold": 0.0 9 | }, 10 | "loadAverage": { 11 | "threshold": 0.0 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/forms/default/configure/application-policies.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "application-policy-1", 3 | "algorithm":"one-after-another", 4 | "networkPartitions":[ 5 | "network-partition-1" 6 | ], 7 | "properties":[ 8 | { 9 | "name": "key-1", 10 | "value": "value-1" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignoring system files 2 | .DS_Store 3 | 4 | 5 | 6 | 7 | # Ignoring node modules 8 | node_modules 9 | 10 | *.class 11 | *.iml 12 | .idea 13 | *.~ 14 | 15 | # Package Files # 16 | *.jar 17 | *.war 18 | *.ear 19 | *.zip 20 | 21 | target 22 | .classpath 23 | .settings 24 | .project 25 | *.iml 26 | *.iws 27 | *.ipr 28 | .idea 29 | atlassian-ide-plugin.xml 30 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test_artifacts/test_services.json: -------------------------------------------------------------------------------- 1 | {"serviceDefinitionBean":[]} 2 | // { 3 | // "serviceName": "newphp", 4 | // "cartridgeType": "php", 5 | // "deploymentPolicyName": "dep_policy", 6 | // "autoscalingPolicyName": "as_policy", 7 | // "clusterDomain": "php.hills.com", 8 | // "clusterSubDomain": "mgt.php.hills.com", 9 | // "tenantRange": "*" 10 | //} 11 | 12 | -------------------------------------------------------------------------------- /tools/installer/wso2cep/3.1.0/template-module/templates/repository/conf/siddhi/siddhi.extension.template: -------------------------------------------------------------------------------- 1 | org.apache.stratos.cep.extension.GradientFinderWindowProcessor 2 | org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor 3 | org.apache.stratos.cep.extension.FaultHandlingWindowProcessor 4 | org.apache.stratos.cep.extension.ConcatWindowProcessor 5 | org.apache.stratos.cep.extension.MemeberRequestHandlingCapabilityWindowProcessor 6 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/newphp-application/artifacts/application-signup.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "alias": "myphp", 4 | "privateRepo": false, 5 | "repoUrl": "https://github.com/lakwarus/testphp.git", 6 | "repoPassword": "" 7 | }, 8 | { 9 | "alias": "newphp", 10 | "privateRepo": false, 11 | "repoUrl": "https://github.com/lakwarus/testphp.git", 12 | "repoPassword": "" 13 | } 14 | ] -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/conf/siddhi/siddhi.extension: -------------------------------------------------------------------------------- 1 | org.apache.stratos.cep.extension.GradientFinderWindowProcessor 2 | org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor 3 | org.apache.stratos.cep.extension.FaultHandlingWindowProcessor 4 | org.apache.stratos.cep.extension.ConcatWindowProcessor 5 | org.apache.stratos.cep.extension.MemeberRequestHandlingCapabilityWindowProcessor 6 | org.apache.stratos.cep.extension.SystemTimeWindowProcessor 7 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test_artifacts/test_cartridges.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "activeInstances": 0, 4 | "cartridgeAlias": "-", 5 | "cartridgeType": "php", 6 | "description": "PHP Cartridge", 7 | "displayName": "PHP", 8 | "hostName": "apachestratos.org", 9 | "loadBalancer": false, 10 | "multiTenant": false, 11 | "persistance": false, 12 | "provider": "apache", 13 | "version": 5 14 | } 15 | ] 16 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/forms/default/configure/autoscaling-policies.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "economy", 3 | "description":"autoscale policy description", 4 | "loadThresholds": { 5 | "requestsInFlight": { 6 | "threshold": 30 7 | }, 8 | "memoryConsumption": { 9 | "threshold": 80 10 | }, 11 | "loadAverage": { 12 | "threshold": 100 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/tests/conf/git/auth_repo2.json: -------------------------------------------------------------------------------- 1 | { 2 | "repoURL": "https://bitbucket.org/testapache2211/testrepo.git", 3 | "repoUsername" : "testapache2211", 4 | "repoPassword" : "iXSLhimFulqe", 5 | "repoPath" : "/tmp/apachestratos/testauth_repo2", 6 | "tenantId" : "0003", 7 | "multitenant" : "False", 8 | "commitEnabled" : "False", 9 | "fallbackHash" : "a71503a2fed5e2c00b050ac69c912a33483949a8" 10 | } -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/tests/conf/git/simple_repo.json: -------------------------------------------------------------------------------- 1 | { 2 | "repoURL": "https://bitbucket.org/testapache2211/opentestrepo1.git", 3 | "repoUsername" : "testapache2211", 4 | "repoPassword" : "iXSLhimFulqe", 5 | "repoPath" : "/tmp/apachestratos/opentest_repo", 6 | "tenantId" : "0001", 7 | "multitenant" : "False", 8 | "commitEnabled" : "False", 9 | "fallbackHash" : "a1ae3d7d00bf4d5a63b21bcdc82d075e1def4121" 10 | } -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/tests/conf/git/auth_repo.json: -------------------------------------------------------------------------------- 1 | { 2 | "repoURL": "https://testapache2211@bitbucket.org/testapache2211/testrepo.git", 3 | "repoUsername" : "testapache2211", 4 | "repoPassword" : "iXSLhimFulqe", 5 | "repoPath" : "/tmp/apachestratos/testauth_repo", 6 | "tenantId" : "0002", 7 | "multitenant" : "False", 8 | "commitEnabled" : "False", 9 | "fallbackHash" : "a71503a2fed5e2c00b050ac69c912a33483949a8" 10 | } -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/forms/default/configure/network-partitions.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-1", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | } 14 | ], 15 | "properties": [ 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/forms/default/configure/deployment-policies.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "deployment-policy-1", 3 | "networkPartitions": [ 4 | { 5 | "id": "network-partition-1", 6 | "partitionAlgo": "one-after-another", 7 | "partitions": [ 8 | { 9 | "id": "partition-1", 10 | "partitionMax": 5 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/autoscaling-policy-test/autoscaling-policies/autoscaling-policy-autoscaling-policy-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "autoscaling-policy-autoscaling-policy-test", 3 | "loadThresholds": { 4 | "requestsInFlight": { 5 | "threshold": 35 6 | }, 7 | "memoryConsumption": { 8 | "threshold": 45 9 | }, 10 | "loadAverage": { 11 | "threshold": 25 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test_artifacts/test_autoscalepolicies.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "simpleAutoscalePolicy", 4 | "loadThresholds": { 5 | "requestsInFlight": { 6 | "upperLimit": 0, 7 | "lowerLimit": 0 8 | }, 9 | "memoryConsumption": { 10 | "upperLimit": 0, 11 | "lowerLimit": 0 12 | }, 13 | "loadAverage": { 14 | "upperLimit": 0, 15 | "lowerLimit": 0 16 | } 17 | } 18 | } 19 | ] 20 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/autoscaling-policy-test/autoscaling-policies/autoscaling-policy-autoscaling-policy-test-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "autoscaling-policy-autoscaling-policy-test-1", 3 | "loadThresholds": { 4 | "requestsInFlight": { 5 | "threshold": 35 6 | }, 7 | "memoryConsumption": { 8 | "threshold": 45 9 | }, 10 | "loadAverage": { 11 | "threshold": 25 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/autoscaling-policy-test/autoscaling-policies/autoscaling-policy-autoscaling-policy-test-2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "autoscaling-policy-autoscaling-policy-test-2", 3 | "loadThresholds": { 4 | "requestsInFlight": { 5 | "threshold": 35 6 | }, 7 | "memoryConsumption": { 8 | "threshold": 45 9 | }, 10 | "loadAverage": { 11 | "threshold": 25 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/autoscaling-policy-test/autoscaling-policies/autoscaling-policy-autoscaling-policy-test-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "autoscaling-policy-autoscaling-policy-test", 3 | "loadThresholds": { 4 | "requestsInFlight": { 5 | "threshold": 30 6 | }, 7 | "memoryConsumption": { 8 | "threshold": 40 9 | }, 10 | "loadAverage": { 11 | "threshold": 20 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/filters.txt: -------------------------------------------------------------------------------- 1 | -*.stub* 2 | -*.stub_ 3 | -*.stub_4.0.0 4 | -*.stub- 5 | -org.eclipse.* 6 | -*.equinox.* 7 | -samples.* 8 | -*.log4j* 9 | -*.axis2* 10 | -*startup* 11 | -org.wso2.carbon.caching.core.identity.* 12 | -org.wso2.carbon.caching.core.permissiontree.* 13 | -org.wso2.carbon.caching.infinispan.* 14 | -org.wso2.carbon.event.core.internal.delivery.jms.* 15 | -org.wso2.carbon.event.core.qpid.* 16 | -org.wso2.carbon.registry.synchronization.* 17 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-applications-test/autoscaling-policies/autoscaling-policy-sample-applications-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "autoscaling-policy-sample-applications-test", 3 | "loadThresholds": { 4 | "requestsInFlight": { 5 | "threshold": 35 6 | }, 7 | "memoryConsumption": { 8 | "threshold": 45 9 | }, 10 | "loadAverage": { 11 | "threshold": 25 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-application-startup-test/autoscaling-policies/autoscaling-policy-sample-application-startup-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "autoscaling-policy-sample-application-startup-test", 3 | "loadThresholds": { 4 | "requestsInFlight": { 5 | "threshold": 35 6 | }, 7 | "memoryConsumption": { 8 | "threshold": 45 9 | }, 10 | "loadAverage": { 11 | "threshold": 25 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/deployment-policy-test/network-partitions/mock/network-partition-deployment-policy-test-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-deployment-policy-test-1", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/network-partition-test/network-partitions/mock/network-partition-network-partition-test-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-network-partition-test-1", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/network-partition-test/network-partitions/mock/network-partition-network-partition-test-2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-network-partition-test-2", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/network-partition-test/network-partitions/mock/network-partition-network-partition-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-network-partition-test", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/README.md: -------------------------------------------------------------------------------- 1 | ##WSO2 Private PaaS - UXD Implemantation## 2 | ==================================== 3 | 4 | Initial version with improved UXDesigns. 5 | 6 | ### Features ### 7 | 8 | 1. json-schema support for all form definitions (www.json-schema.org) [STRATOS-944] 9 | 2. JSON Hyper-Schema based UI form implementation 10 | 3. JSON auto-correct feature 11 | 4. Carbon based user Management 12 | 5. Mobile friendly design 13 | 6. Improved UXD [STRATOS-810] 14 | 7. Include Application and Group Editor 15 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/application-policy-test/network-partitions/mock/network-partition-application-policy-test-2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-application-policy-test-2", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-applications-test/network-partitions/mock/network-partition-sample-applications-test-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-sample-applications-test-1", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/common/stratos-health-stream-def.json: -------------------------------------------------------------------------------- 1 | {"name":"cartridge_agent_health_stats","version":"1.0.0","nickName":"agent health stats","description":"agent health stats","payloadData":[{"name":"cluster_id", "type": "STRING"},{"name":"cluster_instance_id", "type": "STRING"},{"name":"network_partition_id", "type": "STRING"},{"name":"member_id", "type": "STRING"},{"name":"partition_id", "type": "STRING"},{"name":"health_description", "type": "STRING"},{"name":"value", "type": "DOUBLE"}]} 2 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-application-startup-test/network-partitions/mock/network-partition-sample-application-startup-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-sample-application-startup-test", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/cartridges/PHP.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "php", 3 | "provider": "apache", 4 | "category": "default", 5 | "host": "apachestratos.org", 6 | "displayName": "PHP", 7 | "description": "PHP Cartridge", 8 | "version": "5", 9 | "multiTenant": false, 10 | "portMapping": [ 11 | { 12 | "protocol": "http", 13 | "port": 22, 14 | "proxyPort": 8280 15 | } 16 | ], 17 | "iaasProvider": [ 18 | { 19 | "networkInterfaces": [ 20 | {} 21 | ] 22 | } 23 | ] 24 | } -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/deployment-policies/economyDeploymentPolicy.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "economyDeploymentPolicy", 3 | "networkPartitions": [ 4 | { 5 | "id": "os1", 6 | "partitions": [ 7 | { 8 | "id": "partition-1", 9 | "property": [ 10 | { 11 | "name": "region", 12 | "value": "RegionOne" 13 | } 14 | ], 15 | "partitionMax": 3 16 | } 17 | ], 18 | "partitionAlgo": "one-after-another" 19 | } 20 | ] 21 | } -------------------------------------------------------------------------------- /tools/installer/wso2cep/3.1.0/README.md: -------------------------------------------------------------------------------- 1 | ## WSO2 Complex Event Processor 3.1.0 Cartridge 2 | 3 | ### Profiles 4 | 5 | - Default 6 | - Worker 7 | - Manager 8 | 9 | ### Compatibility 10 | 11 | WSO2 Private PaaS 4.1.0 or higher 12 | 13 | ### Special Notes 14 | 15 | - Server Shutdown timeout can be changed adding a new property as follows under property section in a cartridge definition. 16 | 17 | name : CONFIG_PARAM_SERVER_SHUTDOWN_TIMEOUT 18 | value : 120 19 | 20 | Default value is 120 seconds. Value should be specified in seconds. 21 | 22 | - Create database tables before deploying the application 23 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/README.md: -------------------------------------------------------------------------------- 1 | ## WSO2 Data Analytics Server 3.0.0 Cartridge 2 | 3 | ### Profiles 4 | 5 | - Default 6 | - Worker 7 | - Manager 8 | 9 | ### Compatibility 10 | 11 | WSO2 Private PaaS 4.1.0 or higher 12 | 13 | ### Special Notes 14 | 15 | - Server Shutdown timeout can be changed adding a new property as follows under property section in a cartridge definition. 16 | 17 | name : CONFIG_PARAM_SERVER_SHUTDOWN_TIMEOUT 18 | value : 120 19 | 20 | Default value is 120 seconds. Value should be specified in seconds. 21 | 22 | - Create database tables before deploying the application 23 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-application-startup-test/deployment-policies/deployment-policy-sample-application-startup-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "deployment-policy-sample-application-startup-test", 3 | "networkPartitions": [ 4 | { 5 | "id": "network-partition-sample-application-startup-test", 6 | "partitionAlgo": "one-after-another", 7 | "partitions": [ 8 | { 9 | "id": "partition-1", 10 | "partitionMax": 20 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test_artifacts/test_deploymentpolicies.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "economyDeploymentPolicy", 4 | "partitionGroup": [ 5 | { 6 | "id": "os", 7 | "partitionAlgo": "one-after-another", 8 | "partition": [ 9 | { 10 | "id": "os1", 11 | "partitionMin": 1, 12 | "partitionMax": 3, 13 | "provider": "openstack", 14 | "property": [ 15 | { 16 | "name": "region", 17 | "value": "RegionOne" 18 | } 19 | ] 20 | } 21 | ] 22 | } 23 | ] 24 | } 25 | ] -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-application-startup-test/application-policies/application-policy-sample-application-startup-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "application-policy-sample-application-startup-test", 3 | "algorithm": "one-after-another", 4 | "networkPartitions": [ 5 | "network-partition-sample-application-startup-test" 6 | ], 7 | "properties": [ 8 | { 9 | "name": "networkPartitionGroups", 10 | "value": "network-partition-sample-application-startup-test" 11 | }, 12 | { 13 | "name": "key-2", 14 | "value": "value-2" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/AgentTerminationTestCase/payload/launch-params: -------------------------------------------------------------------------------- 1 | APPLICATION_ID=application1,SERVICE_NAME=tomcat,HOST_NAME=tomcat.stratos.org,MULTITENANT=false,TENANT_ID=-1234,TENANT_RANGE=*,CARTRIDGE_ALIAS=tomcat,CLUSTER_ID=tomcat.domain,CLUSTER_INSTANCE_ID=cluster-1-instance-1,CARTRIDGE_KEY=PUjpXCLujDhYr5A6,DEPLOYMENT=default,PORTS=8080,PUPPET_IP=127.0.0.1,PUPPET_HOSTNAME=puppet.apache.stratos.org,PUPPET_ENV=false,MEMBER_ID=tomcat.member-1,LB_CLUSTER_ID=null,NETWORK_PARTITION_ID=network-p1,PARTITION_ID=p1,APPLICATION_PATH=/tmp/AgentTerminationTestCase,MIN_COUNT=1,INTERNAL=false,CLUSTERING_PRIMARY_KEY=A,LOG_FILE_PATHS=/tmp/temp.log,PERSISTENCE_MAPPING=null -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/forms/default/applications/applications.json: -------------------------------------------------------------------------------- 1 | { 2 | "applicationId": "mysql-only", 3 | "alias": "mytestapp2", 4 | "components": { 5 | "subscribables": [ 6 | { 7 | "type": "mysql", 8 | "alias": "mymysql" 9 | } 10 | ] 11 | }, 12 | "subscribableInfo": [ 13 | { 14 | "alias": "mymysql", 15 | "deploymentPolicy": "dep", 16 | "autoscalingPolicy": "auto", 17 | "repoURL": "www.mygit.com/tomcat.git", 18 | "privateRepo": "false", 19 | "repoUsername": "admin", 20 | "repoPassword": "yyyy" 21 | } 22 | ] 23 | } -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCTestCase/payload/launch-params: -------------------------------------------------------------------------------- 1 | APPLICATION_ID=application1,SERVICE_NAME=tomcat,HOST_NAME=tomcat.stratos.org,MULTITENANT=false,TENANT_ID=-1234,TENANT_RANGE=*,CARTRIDGE_ALIAS=tomcat,CLUSTER_ID=tomcat.domain,CLUSTER_INSTANCE_ID=cluster-1-instance-1,CARTRIDGE_KEY=PUjpXCLujDhYr5A6,DEPLOYMENT=default,REPO_URL=https://github.com/imesh/stratos-php-applications.git,PORTS=8080,PUPPET_IP=127.0.0.1,PUPPET_HOSTNAME=puppet.apache.stratos.org,PUPPET_ENV=false,MEMBER_ID=tomcat.member-1,LB_CLUSTER_ID=null,NETWORK_PARTITION_ID=network-p1,PARTITION_ID=p1,APPLICATION_PATH=/tmp/ADCTestCase,MIN_COUNT=1,INTERNAL=false,CLUSTERING_PRIMARY_KEY=A,LOG_FILE_PATHS=/tmp/temp.log,PERSISTENCE_MAPPING=null -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/js/wizard/custom.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCValidationTestCase/payload/launch-params: -------------------------------------------------------------------------------- 1 | APPLICATION_ID=application1,SERVICE_NAME=tomcat,HOST_NAME=tomcat.stratos.org,MULTITENANT=false,TENANT_ID=-1234,TENANT_RANGE=*,CARTRIDGE_ALIAS=tomcat,CLUSTER_ID=tomcat.domain,CLUSTER_INSTANCE_ID=cluster-1-instance-1,CARTRIDGE_KEY=PUjpXCLujDhYr5A6,DEPLOYMENT=default,REPO_URL=https://github.com/imesh/stratos-php-applications.git,PORTS=8080,PUPPET_IP=127.0.0.1,PUPPET_HOSTNAME=puppet.apache.stratos.org,PUPPET_ENV=false,MEMBER_ID=tomcat.member-1,LB_CLUSTER_ID=null,NETWORK_PARTITION_ID=network-p1,PARTITION_ID=p1,APPLICATION_PATH=ddd/ffs/ss,MIN_COUNT=1,INTERNAL=false,CLUSTERING_PRIMARY_KEY=A,LOG_FILE_PATHS=/tmp/temp.log,PERSISTENCE_MAPPING=null -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/application-policy-test/application-policies/application-policy-application-policy-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "application-policy-application-policy-test", 3 | "algorithm": "one-after-another", 4 | "networkPartitions": [ 5 | "network-partition-application-policy-test-1", 6 | "network-partition-application-policy-test-2" 7 | ], 8 | "properties": [ 9 | { 10 | "name": "networkPartitionGroups", 11 | "value": "network-partition-application-policy-test-1,network-partition-application-policy-test-2" 12 | }, 13 | { 14 | "name": "key-2", 15 | "value": "value-2" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/application-policy-test/application-policies/application-policy-application-policy-test-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "application-policy-application-policy-test-1", 3 | "algorithm": "one-after-another", 4 | "networkPartitions": [ 5 | "network-partition-application-policy-test-1", 6 | "network-partition-application-policy-test-2" 7 | ], 8 | "properties": [ 9 | { 10 | "name": "networkPartitionGroups", 11 | "value": "network-partition-application-policy-test-1,network-partition-application-policy-test-2" 12 | }, 13 | { 14 | "name": "key-2", 15 | "value": "value-2" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/application-policy-test/application-policies/application-policy-application-policy-test-2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "application-policy-application-policy-test-2", 3 | "algorithm": "one-after-another", 4 | "networkPartitions": [ 5 | "network-partition-application-policy-test-1", 6 | "network-partition-application-policy-test-2" 7 | ], 8 | "properties": [ 9 | { 10 | "name": "networkPartitionGroups", 11 | "value": "network-partition-application-policy-test-1,network-partition-application-policy-test-2" 12 | }, 13 | { 14 | "name": "key-2", 15 | "value": "value-2" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-applications-test/application-policies/application-policy-sample-applications-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "application-policy-sample-applications-test", 3 | "algorithm": "one-after-another", 4 | "networkPartitions": [ 5 | "network-partition-sample-applications-test-1", 6 | "network-partition-sample-applications-test-2" 7 | ], 8 | "properties": [ 9 | { 10 | "name": "networkPartitionGroups", 11 | "value": "network-partition-sample-applications-test-1,network-partition-sample-applications-test-2" 12 | }, 13 | { 14 | "name": "key-2", 15 | "value": "value-2" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCMTAppTestCase/payload/launch-params: -------------------------------------------------------------------------------- 1 | APPLICATION_ID=application-3,SERVICE_NAME=tomcat-mt,HOST_NAME=tomcat.stratos.org,MULTITENANT=true,TENANT_ID=-1234,TENANT_RANGE=*,CARTRIDGE_ALIAS=tomcat,CLUSTER_ID=tomcat.domain,CLUSTER_INSTANCE_ID=cluster-1-instance-1,CARTRIDGE_KEY=PUjpXCLujDhYr5A6,DEPLOYMENT=default,REPO_URL=https://github.com/imesh/stratos-php-applications.git,PORTS=8080,PUPPET_IP=127.0.0.1,PUPPET_HOSTNAME=puppet.apache.stratos.org,PUPPET_ENV=false,MEMBER_ID=tomcat.member-1,LB_CLUSTER_ID=null,NETWORK_PARTITION_ID=network-p1,PARTITION_ID=p1,APPLICATION_PATH=/tmp/ADCMTAppTestCase,MIN_COUNT=1,INTERNAL=false,CLUSTERING_PRIMARY_KEY=A,LOG_FILE_PATHS=/tmp/temp.log,PERSISTENCE_MAPPING=null -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCExtensionTestCase/payload/launch-params: -------------------------------------------------------------------------------- 1 | APPLICATION_ID=application1,SERVICE_NAME=tomcat,HOST_NAME=tomcat.stratos.org,MULTITENANT=false,TENANT_ID=-1234,TENANT_RANGE=*,CARTRIDGE_ALIAS=tomcat,CLUSTER_ID=tomcat.domain,CLUSTER_INSTANCE_ID=cluster-1-instance-1,CARTRIDGE_KEY=PUjpXCLujDhYr5A6,DEPLOYMENT=default,REPO_URL=https://github.com/imesh/stratos-php-applications.git,PORTS=8080,PUPPET_IP=127.0.0.1,PUPPET_HOSTNAME=puppet.apache.stratos.org,PUPPET_ENV=false,MEMBER_ID=tomcat.member-1,LB_CLUSTER_ID=null,NETWORK_PARTITION_ID=network-p1,PARTITION_ID=p1,APPLICATION_PATH=/tmp/ADCExtensionTestCase,MIN_COUNT=1,INTERNAL=false,CLUSTERING_PRIMARY_KEY=A,LOG_FILE_PATHS=/tmp/temp.log,PERSISTENCE_MAPPING=null 2 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/myphp-application/artifacts/myphp-application.json: -------------------------------------------------------------------------------- 1 | { 2 | "applicationId": "myphp-application", 3 | "multiTenant": false, 4 | "name": "myphp-application", 5 | "description": "PHP Cartridge", 6 | "alias": "myphp", 7 | "components": { 8 | "cartridges": [ 9 | { 10 | "type": "php", 11 | "cartridgeMin": 1, 12 | "cartridgeMax": 1, 13 | "subscribableInfo": { 14 | "alias": "myphp", 15 | "deploymentPolicy": "economyDeploymentPolicy", 16 | "autoscalingPolicy": "simpleAutoscalePolicy", 17 | "maxMembers": 0, 18 | "minMembers": 0 19 | } 20 | } 21 | ] 22 | }, 23 | "signUpsExist": false 24 | } -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCMTAppTenantUserTestCase/payload/launch-params: -------------------------------------------------------------------------------- 1 | APPLICATION_ID=application-4,SERVICE_NAME=tomcat-mt,HOST_NAME=tomcat.stratos.org,MULTITENANT=true,TENANT_ID=4,TENANT_RANGE=*,CARTRIDGE_ALIAS=tomcat,CLUSTER_ID=tomcat.domain,CLUSTER_INSTANCE_ID=cluster-1-instance-1,CARTRIDGE_KEY=PUjpXCLujDhYr5A6,DEPLOYMENT=default,REPO_URL=https://github.com/imesh/stratos-php-applications.git,PORTS=8080,PUPPET_IP=127.0.0.1,PUPPET_HOSTNAME=puppet.apache.stratos.org,PUPPET_ENV=false,MEMBER_ID=tomcat.member-1,LB_CLUSTER_ID=null,NETWORK_PARTITION_ID=network-p1,PARTITION_ID=p1,APPLICATION_PATH=/tmp/ADCMTAppTenantUserTestCase,MIN_COUNT=1,INTERNAL=false,CLUSTERING_PRIMARY_KEY=A,LOG_FILE_PATHS=/tmp/temp.log,PERSISTENCE_MAPPING=null 2 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCBranchPerTenantTestCase/payload/launch-params: -------------------------------------------------------------------------------- 1 | APPLICATION_ID=application1,SERVICE_NAME=tomcat,HOST_NAME=tomcat.stratos.org,MULTITENANT=false,TENANT_ID=-1234,TENANT_RANGE=*,CARTRIDGE_ALIAS=tomcat,CLUSTER_ID=tomcat.domain,CLUSTER_INSTANCE_ID=cluster-1-instance-1,CARTRIDGE_KEY=PUjpXCLujDhYr5A6,DEPLOYMENT=default,REPO_URL=https://github.com/imesh/stratos-php-applications.git,PORTS=8080,PUPPET_IP=127.0.0.1,PUPPET_HOSTNAME=puppet.apache.stratos.org,PUPPET_ENV=false,MEMBER_ID=tomcat.member-1,LB_CLUSTER_ID=null,NETWORK_PARTITION_ID=network-p1,PARTITION_ID=p1,APPLICATION_PATH=/tmp/ADCBranchPerTenantTestCase,MIN_COUNT=1,INTERNAL=false,CLUSTERING_PRIMARY_KEY=A,LOG_FILE_PATHS=/tmp/temp.log,PERSISTENCE_MAPPING=null,COMMIT_ENABLED=true -------------------------------------------------------------------------------- /tools/migration/distribution/contents/conf/config.properties: -------------------------------------------------------------------------------- 1 | #Properties 2 | baseUrl400=https://192.168.30.227:9443/ 3 | username400=admin 4 | password400=admin 5 | baseUrl410=https://192.168.30.192:9443/ 6 | username410=admin 7 | password410=admin 8 | hostname=192.168.30.227 9 | 10 | #Configuration details 11 | 12 | #Configuration of paths 13 | certificate.path=/../resources/wso2carbon.jks 14 | output.path=/../output-artifacts/ 15 | sourcescripts.path=/../resources/scripts/ 16 | enable.selfcertified.certificates=false 17 | 18 | #IaaS provider details 19 | iaas=openstack 20 | iaasImageId=RegionOne/c1dc0372-b5f0-4fed-9bed-a6ffdaa9401c 21 | networkUuID=512e1f54-1e85-4dac-b2e6-f0b30fc552cf 22 | 23 | #cartridge deployment port mapping details 24 | default.port=22 25 | default.proxy.port=8280 26 | default.protocol=http -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/application-policy-test/network-partitions/mock/network-partition-application-policy-test-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-application-policy-test-1", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "network-partition-8-partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "network-partition-8-partition-2", 16 | "property": [ 17 | { 18 | "name": "region", 19 | "value": "default" 20 | } 21 | ] 22 | } 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/deployment-policy-test/network-partitions/mock/network-partition-deployment-policy-test-2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-deployment-policy-test-2", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "network-partition-6-partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "network-partition-6-partition-2", 16 | "property": [ 17 | { 18 | "name": "region", 19 | "value": "default" 20 | } 21 | ] 22 | } 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-applications-test/network-partitions/mock/network-partition-sample-applications-test-2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-sample-applications-test-2", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "network-partition-2-partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "network-partition-2-partition-2", 16 | "property": [ 17 | { 18 | "name": "region", 19 | "value": "default" 20 | } 21 | ] 22 | } 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/conf/log4j.properties: -------------------------------------------------------------------------------- 1 | # Root logger option 2 | log4j.rootLogger=INFO,stdout, file 3 | 4 | # Redirect log messages to console 5 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 6 | log4j.appender.stdout.Target=System.out 7 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 8 | log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p %c{1} - %m%n 9 | 10 | 11 | # Redirect log messages to a log file, support file rolling. 12 | log4j.appender.file=org.apache.log4j.RollingFileAppender 13 | log4j.appender.file.File=../log/ppaas-artifact-converter-log.log 14 | log4j.appender.file.MaxFileSize=5MB 15 | log4j.appender.file.MaxBackupIndex=10 16 | log4j.appender.file.layout=org.apache.log4j.PatternLayout 17 | log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p %c{1} - %m%n -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/partials/index_title.hbs: -------------------------------------------------------------------------------- 1 | 16 | {{page_title}} 17 | -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/assembly/filter.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | product.name=Private PaaS 18 | product.key=PPAAS 19 | hotdeployment=true 20 | hotupdate=false 21 | carbon.version=4.2.0 22 | default.server.role=PPaaS -------------------------------------------------------------------------------- /issue_template.md: -------------------------------------------------------------------------------- 1 | **Description:** 2 | 3 | 4 | **Suggested Labels:** 5 | 6 | 7 | **Suggested Assignees:** 8 | 9 | 10 | **Affected Product Version:** 11 | 12 | **OS, DB, other environment details and versions:** 13 | 14 | **Steps to reproduce:** 15 | 16 | 17 | **Related Issues:** 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/helpers/login_body.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | var resources = function (page, meta) { 18 | return { 19 | js: ['login/login.js'], 20 | css: [] 21 | }; 22 | }; 23 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/LogPublisherTestCase/log_file.log: -------------------------------------------------------------------------------- 1 | This is a sample log file for testing Log Publishing from PCA. 2 | This is a sample log file for testing Log Publishing from PCA. 3 | This is a sample log file for testing Log Publishing from PCA. 4 | This is a sample log file for testing Log Publishing from PCA. 5 | This is a sample log file for testing Log Publishing from PCA. 6 | This is a sample log file for testing Log Publishing from PCA. 7 | This is a sample log file for testing Log Publishing from PCA. 8 | This is a sample log file for testing Log Publishing from PCA. 9 | This is a sample log file for testing Log Publishing from PCA. 10 | This is a sample log file for testing Log Publishing from PCA. 11 | This is a sample log file for testing Log Publishing from PCA. 12 | This is a sample log file for testing Log Publishing from PCA. -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/network-partition-test/network-partitions/mock/network-partition-network-partition-test-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-network-partition-test", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "partition-2", 16 | "property": [ 17 | { 18 | "name": "region", 19 | "value": "default1" 20 | }, 21 | { 22 | "name": "zone", 23 | "value": "z1" 24 | } 25 | ] 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/login/logout.jag: -------------------------------------------------------------------------------- 1 | <% 2 | /* 3 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 4 | * 5 | * WSO2 Inc. licenses this file to you under the Apache License, 6 | * Version 2.0 (the "License"); you may not use this file except 7 | * in compliance with the License. 8 | * You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | session.invalidate(); 20 | response.sendRedirect(request.getContextPath()+'/login/'); 21 | %> -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/deployment-policy-test/network-partitions/mock/network-partition-deployment-policy-test-1-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-deployment-policy-test-1", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "partition-2", 16 | "property": [ 17 | { 18 | "name": "region", 19 | "value": "default1" 20 | }, 21 | { 22 | "name": "zone", 23 | "value": "z1" 24 | } 25 | ] 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /tools/installer/README.md: -------------------------------------------------------------------------------- 1 | # Template Module Based Installation for WSO2 Private PaaS 2 | 3 | WSO2 Private PaaS can be installed as a Single Node installation or a Distributed installation using the Template Modules provided below. 4 | 5 | 1. ppaas 6 | 2. wso2cep 7 | 3. wso2das 8 | 4. wso2cep-monitoring 9 | 5. activemq 10 | 11 | Run the Python Configurator on each template module by following the Configurator [README](https://github.com/wso2/private-paas-cartridges/blob/master/common/configurator/README.md). The modules can be applied on either a single node or a distributed setup. 12 | 13 | ## Special Notes 14 | 15 | 1. The Template Module `wso2cep-monitoring` contains only the configurations related to setting up metering and monitoring with WSO2 DAS for WSO2 Private PaaS. It should be applied on top of an existing external WSO2 CEP installation configured work as the external CEP for WSO2 Private PaaS. 16 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-applications-test/network-partitions/mock/network-partition-sample-applications-test-1-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "network-partition-sample-applications-test-1", 3 | "provider": "mock", 4 | "partitions": [ 5 | { 6 | "id": "partition-1", 7 | "property": [ 8 | { 9 | "name": "region", 10 | "value": "default" 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "partition-2", 16 | "property": [ 17 | { 18 | "name": "region", 19 | "value": "default1" 20 | }, 21 | { 22 | "name": "zone", 23 | "value": "z1" 24 | } 25 | ] 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/common/jndi.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License 15 | # 16 | 17 | connectionfactoryName=TopicConnectionFactory 18 | java.naming.provider.url=tcp://localhost:63016 19 | java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # Root logger option 2 | log4j.rootLogger=INFO, stdout, file 3 | 4 | log4j.logger.org.wso2.ppaas.tools.artifactmigration=DEBUG 5 | 6 | # Redirect log messages to console 7 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 8 | log4j.appender.stdout.Target=System.out 9 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 10 | log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n 11 | 12 | 13 | # Redirect log messages to a log file, support file rolling. 14 | log4j.appender.file=org.apache.log4j.RollingFileAppender 15 | log4j.appender.file.File=target/ppaas-artifact-converter-log.log 16 | log4j.appender.file.MaxFileSize=5MB 17 | log4j.appender.file.MaxBackupIndex=10 18 | log4j.appender.file.layout=org.apache.log4j.PatternLayout 19 | log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n 20 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/helpers/applications.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | var resources = function (page, meta) { 18 | return { 19 | js: ['custom/form.js' ], 20 | css: [ 'custom/style.css', 'font-mfizz-1.2/font-mfizz.css'] 21 | }; 22 | }; 23 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/util/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/controllers/log/console.jag: -------------------------------------------------------------------------------- 1 | <% 2 | /* 3 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 4 | * 5 | * WSO2 Inc. licenses this file to you under the Apache License, 6 | * Version 2.0 (the "License"); you may not use this file except 7 | * in compliance with the License. 8 | * You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | function printLog() { 21 | var log = new Log("apacheStratos"); 22 | return stringify(log); 23 | } 24 | 25 | %> -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/gen/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/instance/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/tenant/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test_artifacts/test_multitenantcartridges.json: -------------------------------------------------------------------------------- 1 | 2 | {"cartridge":[]} 3 | // { 4 | // "activeInstances": 0, 5 | // "cartridgeAlias": "-", 6 | // "cartridgeType": "lb", 7 | // "defaultAutoscalingPolicy": "aspolicy", 8 | // "description": "Stratos LB Cartridge", 9 | // "displayName": "stratos load balancer", 10 | // "hostName": "stratos.com", 11 | // "loadBalancer": true, 12 | // "multiTenant": true, 13 | // "persistance": false, 14 | // "provider": "lb", 15 | // "version": 4 16 | // }, 17 | // { 18 | // "activeInstances": 0, 19 | // "cartridgeAlias": "-", 20 | // "cartridgeType": "php", 21 | // "description": "PHP Cartridge", 22 | // "displayName": "PHP", 23 | // "hostName": "stratos.com", 24 | // "loadBalancer": false, 25 | // "multiTenant": true, 26 | // "persistance": false, 27 | // "provider": "stratos", 28 | // "version": 7 29 | // } 30 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/artifactmgt/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/topology/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/helpers/users_form.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | var resources = function (page, meta) { 18 | return { 19 | js: ['JSONEditor-0.7.12/jsoneditor-0.7.12.js', 'custom/script.js', 'custom/form.js' ], 20 | css: [ 'custom/style.css'] 21 | }; 22 | }; 23 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/artifactmgt/git/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/gen/Data/constants.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/application/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/distribution/src/main/readme/README: -------------------------------------------------------------------------------- 1 | Python Cartridge Agent (PCA) 2 | ============================ 3 | 4 | Cartridge agent manages cartridge instance lifecycle and publishes its health statistics 5 | to Complex Event Processor (CEP). It provides a set of extension points for implementing 6 | logic required for configuring the server. 7 | 8 | How to run Live Tests 9 | --------------------- 10 | 1. Install following packages 11 | 12 | apt-get install -y git python python-pip python-dev gcc zip 13 | 14 | 2. Install dependent python modules: 15 | ``` 16 | pip install paho-mqtt 17 | pip install psutil 18 | pip install pexpect 19 | pip install pycrypto 20 | pip install gitpython 21 | pip install yapsy 22 | ``` 23 | 24 | 3. Start ActiveMQ: 25 | ``` 26 | /bin/activemq start 27 | ``` 28 | 29 | 4. Run python cartridge agent live tests: 30 | ``` 31 | mvn clean install -Plive 32 | ``` 33 | -------------------------------------------------------------------------------- /tools/installer/scripts/README: -------------------------------------------------------------------------------- 1 | ## WSO Private PaaS Installer Tool 2 | 3 | 4 | This tool will enable users to install the private-paas with embedded CEP 3.0.0 5 | 6 | # Instructions 7 | 8 | 1. Build the ppaas-installer script by running the following command 9 | 10 | mvn clean install 11 | 12 | 2. Unzip the distribution and change the setup.conf configuration as required 13 | 14 | conf/setup.conf 15 | 16 | 3. Put the following artifacts under the pack folder 17 | 1. PPaaS distribution 18 | 2. ActiveMQ distribution 19 | 3. Copy the template-module folder to the into the packs/wso2ppaas/4.1.0/ 20 | 4. Change the module.ini of the template module as required 21 | 22 | 4. Change the conf/setup.conf based on the versions of the above artifacts. 23 | 24 | 5. run ppaas-installer.sh and provide the addition information required 25 | 26 | 6. If user needs the metering and monitoring feature, user needs to set up the DAS manually. 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/js/custom/script.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | // Setting the height of the centered div, and adding the centering class 18 | var actualHeight = $('#centered').height(); 19 | 20 | $('#centered').css('height', actualHeight); 21 | $('#centered').addClass('vertical-center'); -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/application/signup/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/instance/notifier/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/instance/status/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | __author__ = 'chamilad' 19 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/extensions/py/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | __author__ = 'chamilad' 19 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/gen/Exception/constants.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/domain/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | __author__ = 'chamilad' 19 | -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/conf/mqtttopic.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | # 18 | 19 | mqtturl=tcp://localhost:1883 20 | clientID=stratos 21 | tempfilelocation=/tmp 22 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/gen/ThriftSecureEventTransmissionService/constants.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/domain/mapping/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | __author__ = 'chamilad' 19 | -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/conf/application-authenticators.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/gen/ThriftEventTransmissionService/constants.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/temp-artifacts/sso/module.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 23 | 24 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/gen/Data/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | __all__ = ['ttypes', 'constants'] 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/gen/Exception/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | __all__ = ['ttypes', 'constants'] 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/thrift/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | __all__ = ['Thrift', 'TSCons'] 21 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-application-startup-test/applications/sample-application-startup-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "alias": "sample-application-startup-test", 3 | "applicationId": "sample-application-startup-test", 4 | "components": { 5 | "cartridges": [ 6 | { 7 | "type": "c1-sample-application-startup-test", 8 | "cartridgeMin": 3, 9 | "cartridgeMax": 5, 10 | "subscribableInfo": { 11 | "alias": "c1-1x0-sample-applications-test", 12 | "autoscalingPolicy": "autoscaling-policy-sample-application-startup-test", 13 | "deploymentPolicy": "deployment-policy-sample-application-startup-test", 14 | "artifactRepository": { 15 | "privateRepo": false, 16 | "repoUrl": "https://github.com/lakwarus/single-cartridge.git", 17 | "repoUsername": "", 18 | "repoPassword": "" 19 | } 20 | } 21 | } 22 | ] 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/thrift/server/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | __all__ = ['TServer', 'TNonblockingServer'] 21 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/gen/ThriftEventTransmissionService/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | __all__ = ['ttypes', 'constants', 'ThriftEventTransmissionService'] 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/thrift/transport/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | __all__ = ['TTransport', 'TSocket', 'THttpClient', 'TZlibTransport'] 21 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/Constants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | package org.wso2.ppaas.rest.endpoint; 19 | 20 | /** 21 | * Global constants used in this module 22 | */ 23 | public class Constants { 24 | 25 | public static final String SUPER_TENANT_SERVICE = "super.tenant.service"; 26 | 27 | } 28 | -------------------------------------------------------------------------------- /tools/installer/activemq/5.10.0/template-module/module.ini: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License 15 | # ------------------------------------------------------------------------ 16 | 17 | [SETTINGS] 18 | READ_FROM_ENVIRONMENT=true 19 | CARBON_HOME=/home/chamilad/dev/testbed/apache-activemq-5.10.0 20 | 21 | [PARAMS] 22 | JAVA_HEAP_SIZE=2G 23 | #CONFIG_PARAM_MB_USERNAME=system 24 | #CONFIG_PARAM_MB_PASSWORD=manager -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/helpers/applications_form.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | var resources = function (page, meta) { 18 | return { 19 | js: ['JSONEditor-0.7.12/jsoneditor-0.7.12.js','bootstrap-switch-3.0.2/bootstrap-switch.min.js', 'custom/script.js', 'custom/form.js' ], 20 | css: ['bootstrap-switch-3.0.2/bootstrap-switch.min.css', 'custom/style.css'] 21 | }; 22 | }; 23 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/gen/ThriftSecureEventTransmissionService/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | __all__ = ['ttypes', 'constants', 'ThriftSecureEventTransmissionService'] 18 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/login.jag: -------------------------------------------------------------------------------- 1 | <% 2 | /* 3 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 4 | * 5 | * WSO2 Inc. licenses this file to you under the Apache License, 6 | * Version 2.0 (the "License"); you may not use this file except 7 | * in compliance with the License. 8 | * You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | var log = new Log("apachestratos.login"); 21 | var error = session.get("error"), 22 | caramel = require('caramel'); 23 | 24 | if (error == null) { 25 | error = ""; 26 | } 27 | 28 | session.remove("error"); 29 | 30 | caramel.render({ 31 | error: error 32 | }); 33 | %> -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/resources/cloud-services-desc.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/partials/index_left_menu.hbs: -------------------------------------------------------------------------------- 1 | 16 | 17 |
18 |
19 |
20 | 23 |
24 |
25 |
26 |
-------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/conf/jndi.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | connectionfactoryName=TopicConnectionFactory 21 | java.naming.provider.url=tcp://localhost:61616 22 | java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/util/type/map/MapType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean.util.type.map; 20 | 21 | import java.util.ArrayList; 22 | import java.util.List; 23 | 24 | public class MapType { 25 | 26 | public List entry = new ArrayList(); 27 | } 28 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/helpers/configure_form.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | var resources = function (page, meta) { 18 | return { 19 | js: ['JSONEditor-0.7.12/jsoneditor-0.7.12.js', 'bootstrap-switch-3.0.2/bootstrap-switch.min.js','custom/script.js', 'custom/form.js' ], 20 | css: ['bootstrap-switch-3.0.2/bootstrap-switch.min.css', 'font-mfizz-1.2/font-mfizz.css','custom/style.css'] 21 | }; 22 | }; 23 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge/thrift/thrift/protocol/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | __all__ = ['fastbinary', 'TBase', 'TBinaryProtocol', 'TCompactProtocol', 'TJSONProtocol', 'TProtocol'] 21 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/resources/scripts/ec2/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | 4 | # Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 5 | # 6 | # WSO2 Inc. licenses this file to you under the Apache License, 7 | # Version 2.0 (the "License"); you may not use this file except 8 | # in compliance with the License. 9 | # You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # -------------------------------------------------------------- 21 | # 22 | prgdir=`dirname "$0"` 23 | script_path=`cd "$prgdir"; pwd` 24 | common_folder=`cd "${script_path}/../common"; pwd` 25 | 26 | bash ${common_folder}/undeploy.sh 27 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/resources/scripts/gce/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | 4 | # Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 5 | # 6 | # WSO2 Inc. licenses this file to you under the Apache License, 7 | # Version 2.0 (the "License"); you may not use this file except 8 | # in compliance with the License. 9 | # You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # -------------------------------------------------------------- 21 | # 22 | prgdir=`dirname "$0"` 23 | script_path=`cd "$prgdir"; pwd` 24 | common_folder=`cd "${script_path}/../common"; pwd` 25 | 26 | bash ${common_folder}/undeploy.sh 27 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/resources/scripts/mock/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | 4 | # Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 5 | # 6 | # WSO2 Inc. licenses this file to you under the Apache License, 7 | # Version 2.0 (the "License"); you may not use this file except 8 | # in compliance with the License. 9 | # You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # -------------------------------------------------------------- 21 | # 22 | prgdir=`dirname "$0"` 23 | script_path=`cd "$prgdir"; pwd` 24 | common_folder=`cd "${script_path}/../common"; pwd` 25 | 26 | bash ${common_folder}/undeploy.sh 27 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/deployment-policy-test/deployment-policies/deployment-policy-deployment-policy-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "deployment-policy-deployment-policy-test", 3 | "networkPartitions": [ 4 | { 5 | "id": "network-partition-deployment-policy-test-1", 6 | "partitionAlgo": "one-after-another", 7 | "partitions": [ 8 | { 9 | "id": "partition-1", 10 | "partitionMax": 20 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "network-partition-deployment-policy-test-2", 16 | "partitionAlgo": "round-robin", 17 | "partitions": [ 18 | { 19 | "id": "network-partition-6-partition-1", 20 | "partitionMax": 10 21 | }, 22 | { 23 | "id": "network-partition-6-partition-2", 24 | "partitionMax": 9 25 | } 26 | ] 27 | } 28 | ] 29 | } 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/resources/scripts/openstack/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | 4 | # Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 5 | # 6 | # WSO2 Inc. licenses this file to you under the Apache License, 7 | # Version 2.0 (the "License"); you may not use this file except 8 | # in compliance with the License. 9 | # You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # -------------------------------------------------------------- 21 | # 22 | prgdir=`dirname "$0"` 23 | script_path=`cd "$prgdir"; pwd` 24 | common_folder=`cd "${script_path}/../common"; pwd` 25 | 26 | bash ${common_folder}/undeploy.sh 27 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/deployment-policy-test/deployment-policies/deployment-policy-deployment-policy-test-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "deployment-policy-deployment-policy-test-1", 3 | "networkPartitions": [ 4 | { 5 | "id": "network-partition-deployment-policy-test-1", 6 | "partitionAlgo": "one-after-another", 7 | "partitions": [ 8 | { 9 | "id": "partition-1", 10 | "partitionMax": 20 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "network-partition-deployment-policy-test-2", 16 | "partitionAlgo": "round-robin", 17 | "partitions": [ 18 | { 19 | "id": "network-partition-6-partition-1", 20 | "partitionMax": 10 21 | }, 22 | { 23 | "id": "network-partition-6-partition-2", 24 | "partitionMax": 9 25 | } 26 | ] 27 | } 28 | ] 29 | } 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/deployment-policy-test/deployment-policies/deployment-policy-deployment-policy-test-2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "deployment-policy-deployment-policy-test-2", 3 | "networkPartitions": [ 4 | { 5 | "id": "network-partition-deployment-policy-test-1", 6 | "partitionAlgo": "one-after-another", 7 | "partitions": [ 8 | { 9 | "id": "partition-1", 10 | "partitionMax": 20 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "network-partition-deployment-policy-test-2", 16 | "partitionAlgo": "round-robin", 17 | "partitions": [ 18 | { 19 | "id": "network-partition-6-partition-1", 20 | "partitionMax": 10 21 | }, 22 | { 23 | "id": "network-partition-6-partition-2", 24 | "partitionMax": 9 25 | } 26 | ] 27 | } 28 | ] 29 | } 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-applications-test/deployment-policies/deployment-policy-sample-applications-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "deployment-policy-sample-applications-test", 3 | "networkPartitions": [ 4 | { 5 | "id": "network-partition-sample-applications-test-1", 6 | "partitionAlgo": "one-after-another", 7 | "partitions": [ 8 | { 9 | "id": "partition-1", 10 | "partitionMax": 20 11 | } 12 | ] 13 | }, 14 | { 15 | "id": "network-partition-sample-applications-test-2", 16 | "partitionAlgo": "round-robin", 17 | "partitions": [ 18 | { 19 | "id": "network-partition-2-partition-1", 20 | "partitionMax": 10 21 | }, 22 | { 23 | "id": "network-partition-2-partition-2", 24 | "partitionMax": 9 25 | } 26 | ] 27 | } 28 | ] 29 | } 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/scripts/gce/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | 22 | prgdir=`dirname "$0"` 23 | script_path=`cd "$prgdir"; pwd` 24 | common_folder=`cd "${script_path}/../common"; pwd` 25 | 26 | bash ${common_folder}/undeploy.sh 27 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/resources/scripts/ec2/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | 4 | # Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 5 | # 6 | # WSO2 Inc. licenses this file to you under the Apache License, 7 | # Version 2.0 (the "License"); you may not use this file except 8 | # in compliance with the License. 9 | # You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # -------------------------------------------------------------- 21 | # 22 | iaas="ec2" 23 | 24 | prgdir=`dirname "$0"` 25 | script_path=`cd "$prgdir"; pwd` 26 | common_folder=`cd "${script_path}/../common"; pwd` 27 | 28 | bash ${common_folder}/deploy.sh ${iaas} 29 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/resources/scripts/gce/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | 4 | # Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 5 | # 6 | # WSO2 Inc. licenses this file to you under the Apache License, 7 | # Version 2.0 (the "License"); you may not use this file except 8 | # in compliance with the License. 9 | # You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # -------------------------------------------------------------- 21 | # 22 | iaas="gce" 23 | 24 | prgdir=`dirname "$0"` 25 | script_path=`cd "$prgdir"; pwd` 26 | common_folder=`cd "${script_path}/../common"; pwd` 27 | 28 | bash ${common_folder}/deploy.sh ${iaas} 29 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/resources/scripts/mock/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | 4 | # Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 5 | # 6 | # WSO2 Inc. licenses this file to you under the Apache License, 7 | # Version 2.0 (the "License"); you may not use this file except 8 | # in compliance with the License. 9 | # You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # -------------------------------------------------------------- 21 | # 22 | iaas="mock" 23 | 24 | prgdir=`dirname "$0"` 25 | script_path=`cd "$prgdir"; pwd` 26 | common_folder=`cd "${script_path}/../common"; pwd` 27 | 28 | bash ${common_folder}/deploy.sh ${iaas} 29 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/helpers/wizard.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | var resources = function (page, meta) { 18 | return { 19 | js: ['JSONEditor-0.7.12/jsoneditor-0.7.12.js', 'bootstrap-switch-3.0.2/bootstrap-switch.min.js','custom/script.js', 'custom/form.js', 'wizard/custom.js'], 20 | css: ['bootstrap-switch-3.0.2/bootstrap-switch.min.css', 'font-mfizz-1.2/font-mfizz.css','custom/style.css','wizard/custom.css'] 21 | }; 22 | }; 23 | -------------------------------------------------------------------------------- /tools/migration/distribution/contents/resources/scripts/openstack/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | 4 | # Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 5 | # 6 | # WSO2 Inc. licenses this file to you under the Apache License, 7 | # Version 2.0 (the "License"); you may not use this file except 8 | # in compliance with the License. 9 | # You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # -------------------------------------------------------------- 21 | # 22 | iaas="openstack" 23 | 24 | prgdir=`dirname "$0"` 25 | script_path=`cd "$prgdir"; pwd` 26 | common_folder=`cd "${script_path}/../common"; pwd` 27 | 28 | bash ${common_folder}/deploy.sh ${iaas} 29 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/cartridge/definition/PropertyBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean.cartridge.definition; 20 | 21 | import javax.xml.bind.annotation.XmlRootElement; 22 | 23 | @XmlRootElement(name = "property") public class PropertyBean { 24 | 25 | public String name; 26 | 27 | public String value; 28 | } 29 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/common/cartridge-config.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | autoscaler.service.url=https://localhost:10843/services/AutoscalerService/ 18 | cloud.controller.service.url=https://localhost:10843/services/CloudControllerService/ 19 | stratos.manager.service.url=https://localhost:10843/services/StratosManagerService/ 20 | puppet.ip=127.0.0.1 21 | puppet.hostname=puppet.stratos.apache.org 22 | puppet.dns.available=false 23 | puppet.environment=stratos 24 | 25 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/plugins/DefaultArtifactCommit.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | [Core] 19 | Name = DefaultArtifactCommit 20 | Module = DefaultArtifactCommit 21 | 22 | [Documentation] 23 | Author = Op1 24 | Version = 0.1 25 | Website = stratos.apache.org 26 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/scripts/export.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # ---------------------------------------------------------------------------- 3 | # Copyright 2005-2015 WSO2, Inc. http://www.wso2.org 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # ---------------------------------------------------------------------------- 17 | STRATOS_MANAGER_HOSTNAME=localhost 18 | STRATOS_MANAGER_PORT=9443 19 | USERNAME=admin 20 | PASSWORD=admin 21 | 22 | curl -k -u $USERNAME:$PASSWORD https://$STRATOS_MANAGER_HOSTNAME:$STRATOS_MANAGER_PORT/migration/admin/cartridge/list/subscribed/all -o subscription-data.json -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/plugins/DefaultArtifactCheckout.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | [Core] 19 | Name = DefaultArtifactCheckout 20 | Module = DefaultArtifactCheckout 21 | 22 | [Documentation] 23 | Author = Op1 24 | Version = 0.1 25 | Website = stratos.apache.org 26 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/scripts/gce/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | 22 | 23 | iaas="gce" 24 | 25 | prgdir=`dirname "$0"` 26 | script_path=`cd "$prgdir"; pwd` 27 | common_folder=`cd "${script_path}/../common"; pwd` 28 | 29 | bash ${common_folder}/deploy.sh ${iaas} 30 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/newphp-application/artifacts/newphp-application.json: -------------------------------------------------------------------------------- 1 | { 2 | "applicationId": "newphp-application", 3 | "multiTenant": false, 4 | "name": "newphp-application", 5 | "description": "PHP Cartridge", 6 | "alias": "newphp", 7 | "components": { 8 | "cartridges": [ 9 | { 10 | "type": "php", 11 | "cartridgeMin": 1, 12 | "cartridgeMax": 1, 13 | "subscribableInfo": { 14 | "alias": "newphp", 15 | "deploymentPolicy": "economyDeploymentPolicy", 16 | "autoscalingPolicy": "simpleAutoscalePolicy", 17 | "maxMembers": 0, 18 | "minMembers": 0 19 | } 20 | }, 21 | { 22 | "type": "php", 23 | "cartridgeMin": 1, 24 | "cartridgeMax": 1, 25 | "subscribableInfo": { 26 | "alias": "newphp", 27 | "deploymentPolicy": "economyDeploymentPolicy", 28 | "autoscalingPolicy": "simpleAutoscalePolicy", 29 | "maxMembers": 0, 30 | "minMembers": 0 31 | } 32 | } 33 | ] 34 | }, 35 | "signUpsExist": false 36 | } -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/util/type/map/MapEntryType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean.util.type.map; 20 | 21 | import javax.xml.bind.annotation.XmlAttribute; 22 | import javax.xml.bind.annotation.XmlValue; 23 | 24 | public class MapEntryType { 25 | 26 | @XmlAttribute public S key; 27 | 28 | @XmlValue public T value; 29 | } 30 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/partials/login_header.hbs: -------------------------------------------------------------------------------- 1 | 16 | 17 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/autoscaler/policy/autoscale/LoadAverageThresholds.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean.autoscaler.policy.autoscale; 20 | 21 | import javax.xml.bind.annotation.XmlRootElement; 22 | 23 | @XmlRootElement public class LoadAverageThresholds { 24 | 25 | public float upperLimit; 26 | 27 | public float lowerLimit; 28 | } 29 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCExtensionTestCase/extensions/py/commit-job-handler.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # 3 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License 16 | # 17 | # ------------------------------------------------------------------------ 18 | 19 | [Core] 20 | Name = commit-job-handler 21 | Module = commit-job-handler 22 | 23 | [Documentation] 24 | Description = ArtifactCommitJob 25 | Author = Stratos 26 | Version = 0.1 27 | Website = stratos.apache.org 28 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/AgentStartupTestCase/extensions/py/commit-job-handler.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # 3 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License 16 | # 17 | # ------------------------------------------------------------------------ 18 | 19 | [Core] 20 | Name = commit-job-handler 21 | Module = commit-job-handler 22 | 23 | [Documentation] 24 | Description = ArtifactCommitJob 25 | Author = Stratos 26 | Version = 0.1 27 | Website = stratos.apache.org 28 | -------------------------------------------------------------------------------- /tools/installer/wso2das/3.0.0/template-module/templates/repository/conf/jndi.properties.template: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | connectionfactoryName=TopicConnectionFactory 21 | java.naming.provider.url=tcp://{{CONFIG_PARAM_MB_IP}}:{{CONFIG_PARAM_MB_PORT}} 22 | java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory 23 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/plugins/DefaultHealthStatisticsReader.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | [Core] 19 | Name = DefaultHealthStatisticsReader 20 | Module = DefaultHealthStatisticsReader 21 | 22 | [Documentation] 23 | Author = Op1 24 | Version = 0.1 25 | Website = stratos.apache.org 26 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/myphp-application/scripts/gce/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | 22 | prgdir=`dirname "$0"` 23 | script_path=`cd "$prgdir"; pwd` 24 | common_folder=`cd "${script_path}/../common"; pwd` 25 | 26 | bash ${common_folder}/undeploy.sh 27 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/newphp-application/scripts/gce/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | 22 | prgdir=`dirname "$0"` 23 | script_path=`cd "$prgdir"; pwd` 24 | common_folder=`cd "${script_path}/../common"; pwd` 25 | 26 | bash ${common_folder}/undeploy.sh 27 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/subscription/domain/SubscriptionDomainBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean.subscription.domain; 20 | 21 | import javax.xml.bind.annotation.XmlRootElement; 22 | 23 | @XmlRootElement(name = "domains") public class SubscriptionDomainBean { 24 | public String domainName; 25 | public String applicationContext; 26 | 27 | } 28 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/extensions/py/ExtensionExecutor.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | [Core] 19 | Name = ExtensionExecutor 20 | Module = ExtensionExecutor 21 | 22 | [Documentation] 23 | Description = ExtensionExecutor 24 | Author = Op1 25 | Version = 0.1 26 | Website = stratos.apache.org -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCExtensionTestCase/extensions/py/checkout-job-handler.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # 3 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License 16 | # 17 | # ------------------------------------------------------------------------ 18 | 19 | [Core] 20 | Name = checkout-job-handler 21 | Module = checkout-job-handler 22 | 23 | [Documentation] 24 | Description = ArtifactCheckoutJob 25 | Author = Stratos 26 | Version = 0.1 27 | Website = stratos.apache.org 28 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/AgentStartupTestCase/extensions/py/checkout-job-handler.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # 3 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License 16 | # 17 | # ------------------------------------------------------------------------ 18 | 19 | [Core] 20 | Name = checkout-job-handler 21 | Module = checkout-job-handler 22 | 23 | [Documentation] 24 | Description = ArtifactCheckoutJob 25 | Author = Stratos 26 | Version = 0.1 27 | Website = stratos.apache.org 28 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/AgentStartupTestCase/extensions/py/startup-test-handler.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # 3 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License 16 | # 17 | # ------------------------------------------------------------------------ 18 | 19 | [Core] 20 | Name = startup-test-handler 21 | Module = startup-test-handler 22 | 23 | [Documentation] 24 | Description = InstanceActivatedEvent 25 | Author = Stratos 26 | Version = 0.1 27 | Website = stratos.apache.org 28 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/autoscaler/policy/autoscale/MemoryConsumptionThresholds.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean.autoscaler.policy.autoscale; 20 | 21 | import javax.xml.bind.annotation.XmlRootElement; 22 | 23 | @XmlRootElement public class MemoryConsumptionThresholds { 24 | 25 | public float upperLimit; 26 | 27 | public float lowerLimit; 28 | } 29 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/autoscaler/policy/autoscale/RequestsInFlightThresholds.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean.autoscaler.policy.autoscale; 20 | 21 | import javax.xml.bind.annotation.XmlRootElement; 22 | 23 | @XmlRootElement public class RequestsInFlightThresholds { 24 | 25 | public float upperLimit; 26 | 27 | public float lowerLimit; 28 | 29 | } 30 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/main/java/org/wso2/ppaas/tools/artifactmigration/exception/ArtifactLoadingException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | package org.wso2.ppaas.tools.artifactmigration.exception; 19 | 20 | /** 21 | * Exception class to handle artifact loading exceptions 22 | */ 23 | public class ArtifactLoadingException extends Exception { 24 | 25 | public ArtifactLoadingException(String message) { 26 | super(message); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCBranchPerTenantTestCase/extensions/py/BranchBasedArtifactCommit.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | [Core] 19 | Name = BranchBasedArtifactCommit 20 | Module = BranchBasedArtifactCommit 21 | 22 | [Documentation] 23 | Author = Op1 24 | Version = 0.1 25 | Website = stratos.apache.org 26 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/ADCBranchPerTenantTestCase/extensions/py/BranchBasedArtifactCheckout.yapsy-plugin: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | [Core] 19 | Name = BranchBasedArtifactCheckout 20 | Module = BranchBasedArtifactCheckout 21 | 22 | [Documentation] 23 | Author = Op1 24 | Version = 0.1 25 | Website = stratos.apache.org 26 | -------------------------------------------------------------------------------- /tools/installer/wso2cep-monitoring/3.1.0/template-module/module.ini: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License 15 | # ------------------------------------------------------------------------ 16 | 17 | [SETTINGS] 18 | READ_FROM_ENVIRONMENT=true 19 | CARBON_HOME=/opt/wso2cep-3.1.0 20 | 21 | [PARAMS] 22 | CONFIG_PARAM_MONITORING_USERNAME=admin 23 | CONFIG_PARAM_MONITORING_PASSWORD=admin 24 | CONFIG_PARAM_MONITORING_HOST=localhost 25 | CONFIG_PARAM_MONITORING_PORT=7661 26 | CONFIG_PARAM_MONITORING_SECURE_PORT=7761 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/main/java/org/wso2/ppaas/tools/artifactmigration/exception/TransformationException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | package org.wso2.ppaas.tools.artifactmigration.exception; 19 | 20 | /** 21 | * Exception class to transforming exceptions 22 | */ 23 | public class TransformationException extends Exception { 24 | public TransformationException(String message, Throwable throwable) { 25 | super(message, throwable); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/myphp-application/scripts/gce/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | 22 | 23 | iaas="gce" 24 | 25 | prgdir=`dirname "$0"` 26 | script_path=`cd "$prgdir"; pwd` 27 | common_folder=`cd "${script_path}/../common"; pwd` 28 | 29 | bash ${common_folder}/deploy.sh ${iaas} 30 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/test-outputs/applications/newphp-application/scripts/gce/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | 22 | 23 | iaas="gce" 24 | 25 | prgdir=`dirname "$0"` 26 | script_path=`cd "$prgdir"; pwd` 27 | common_folder=`cd "${script_path}/../common"; pwd` 28 | 29 | bash ${common_folder}/deploy.sh ${iaas} 30 | -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/conf/multitenancy/tenant-reg-agent.xml: -------------------------------------------------------------------------------- 1 | 19 | 20 | 25 | 26 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/scripts/import.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # ---------------------------------------------------------------------------- 3 | # Copyright 2005-2015 WSO2, Inc. http://www.wso2.org 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # ---------------------------------------------------------------------------- 17 | STRATOS_MANAGER_HOSTNAME=localhost 18 | STRATOS_MANAGER_PORT=9443 19 | USERNAME=admin 20 | PASSWORD=admin 21 | 22 | curl -X POST -k -u $USERNAME:$PASSWORD -H "Accept: application/json" -H "Content-Type: application/json" \ 23 | -d@subscription-data.json https://$STRATOS_MANAGER_HOSTNAME:$STRATOS_MANAGER_PORT/migration/admin/cartridge/subscribe/bulk -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/autoscaler/partition/PartitionGroup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean.autoscaler.partition; 20 | 21 | import javax.xml.bind.annotation.XmlRootElement; 22 | import java.util.List; 23 | 24 | @XmlRootElement public class PartitionGroup { 25 | 26 | public String id; 27 | 28 | public String partitionAlgo; 29 | 30 | //partition Ids 31 | public List partition; 32 | } 33 | -------------------------------------------------------------------------------- /products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/common/jndi.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | connectionfactoryName=TopicConnectionFactory 21 | java.naming.provider.url=tcp://localhost:61617 22 | java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory 23 | java.naming.security.principal=system 24 | java.naming.security.credentials=manager 25 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/css/font-mfizz-1.2/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 Mfizz Inc 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/deployment-policy-test/deployment-policies/deployment-policy-deployment-policy-test-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "deployment-policy-deployment-policy-test", 3 | "networkPartitions": [ 4 | { 5 | "id": "network-partition-deployment-policy-test-1", 6 | "partitionAlgo": "one-after-another", 7 | "partitions": [ 8 | { 9 | "id": "partition-1", 10 | "partitionMax": 25 11 | }, 12 | { 13 | "id": "partition-2", 14 | "partitionMax": 20 15 | } 16 | ] 17 | }, 18 | { 19 | "id": "network-partition-deployment-policy-test-2", 20 | "partitionAlgo": "round-robin", 21 | "partitions": [ 22 | { 23 | "id": "network-partition-6-partition-1", 24 | "partitionMax": 15 25 | }, 26 | { 27 | "id": "network-partition-6-partition-2", 28 | "partitionMax": 5 29 | } 30 | ] 31 | } 32 | ] 33 | } 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/scripts/ec2/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | # -------------------------------------------------------------- 22 | # 23 | prgdir=`dirname "$0"` 24 | script_path=`cd "$prgdir"; pwd` 25 | common_folder=`cd "${script_path}/../common"; pwd` 26 | 27 | bash ${common_folder}/undeploy.sh 28 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/StratosAdminResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean; 20 | 21 | import javax.xml.bind.annotation.XmlRootElement; 22 | 23 | @XmlRootElement public class StratosAdminResponse { 24 | 25 | private String message; 26 | 27 | public String getMessage() { 28 | return message; 29 | } 30 | 31 | public void setMessage(String message) { 32 | this.message = message; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/jaggery.conf: -------------------------------------------------------------------------------- 1 | { 2 | "initScripts": ["app.js"], 3 | "logLevel": "info", 4 | "urlMappings": [ 5 | { 6 | "url":"/login/", 7 | "path":"/login.jag" 8 | }, 9 | { 10 | "url": "/controllers/", 11 | "path": "/controllers/*" 12 | }, 13 | { 14 | "url": "/", 15 | "path": "/index.jag" 16 | }, 17 | { 18 | "url": "/configure/", 19 | "path": "/configure.jag" 20 | }, 21 | { 22 | "url": "/configure/*", 23 | "path": "/configure_form.jag" 24 | }, 25 | { 26 | "url": "/users/", 27 | "path": "/users.jag" 28 | }, 29 | { 30 | "url": "/users/*", 31 | "path": "/users_form.jag" 32 | }, 33 | { 34 | "url": "/applications/", 35 | "path": "/applications_form.jag" 36 | }, 37 | { 38 | "url": "/applications/*", 39 | "path": "/applications_form.jag" 40 | }, 41 | { 42 | "url": "/wizard/*", 43 | "path": "/wizard.jag" 44 | } 45 | ], 46 | "errorPages": 47 | { 48 | "500":"/errorhtml/error.html", 49 | "404":"/errorhtml/error-404.html" 50 | } 51 | 52 | } -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventInputAdaptor.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 23 | 25 | 26 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/scripts/mock/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | # -------------------------------------------------------------- 22 | # 23 | prgdir=`dirname "$0"` 24 | script_path=`cd "$prgdir"; pwd` 25 | common_folder=`cd "${script_path}/../common"; pwd` 26 | 27 | bash ${common_folder}/undeploy.sh 28 | -------------------------------------------------------------------------------- /extensions/carbon/kubernetes-membership-scheme/src/main/java/org/wso2/carbon/membership/scheme/kubernetes/domain/Annotations.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.membership.scheme.kubernetes.domain; 18 | 19 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 20 | 21 | @JsonIgnoreProperties(ignoreUnknown = true) 22 | public class Annotations { 23 | 24 | private String memberId; 25 | 26 | public String getMemberId() { 27 | return memberId; 28 | } 29 | 30 | public void setMemberId(String memberId) { 31 | this.memberId = memberId; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /extensions/carbon/kubernetes-membership-scheme/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # 21 | log4j.appender.console=org.apache.log4j.ConsoleAppender 22 | log4j.appender.console.Target=System.out 23 | log4j.appender.console.layout=org.apache.log4j.PatternLayout 24 | log4j.appender.console.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %c{1} [%t] %n%m%n 25 | #Loggers 26 | log4j.rootLogger=info, console 27 | -------------------------------------------------------------------------------- /products/ppaas/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventOutputAdaptor.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 20 | admin 21 | tcp://localhost:7661 22 | admin 23 | ssl://localhost:7761 24 | 25 | -------------------------------------------------------------------------------- /products/ppaas/modules/integration/tests-integration/src/test/resources/sample-applications-test/deployment-policies/deployment-policy-sample-applications-test-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "deployment-policy-sample-applications-test", 3 | "networkPartitions": [ 4 | { 5 | "id": "network-partition-sample-applications-test-1", 6 | "partitionAlgo": "one-after-another", 7 | "partitions": [ 8 | { 9 | "id": "partition-1", 10 | "partitionMax": 25 11 | }, 12 | { 13 | "id": "partition-2", 14 | "partitionMax": 20 15 | } 16 | ] 17 | }, 18 | { 19 | "id": "network-partition-sample-applications-test-2", 20 | "partitionAlgo": "round-robin", 21 | "partitions": [ 22 | { 23 | "id": "network-partition-2-partition-1", 24 | "partitionMax": 15 25 | }, 26 | { 27 | "id": "network-partition-2-partition-2", 28 | "partitionMax": 5 29 | } 30 | ] 31 | } 32 | ] 33 | } 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /tools/installer/activemq/5.10.0/template-module/README.md: -------------------------------------------------------------------------------- 1 | # Apache ActiveMQ 5.10.0 Template for the Configurator 2 | --- 3 | 4 | 5 | ###Creating ActiveMQ Template Module for Private PaaS 6 | 7 | (1) Build the template module using the following command. 8 | 9 | ``` 10 | mvn clean install 11 | ``` 12 | 13 | --- 14 | ### Configuration parameters 15 | Following are the configuration parameters that is used by the template. 16 | You can configure following in the ***module.ini*** file. 17 | 18 | #### Read from environment variables : 19 | 20 | 21 | READ_FROM_ENVIRONMENT = false 22 | 23 | 24 | --- 25 | 26 | #### Set the path of product directory : 27 | 28 | CARBON_HOME = 29 | 30 | --------------------------------------------------------------------------------------- 31 | 32 | #### Modify Heap Size for ActiveMQ : 33 | 34 | JAVA_HEAP_SIZE=2G 35 | 36 | * Used in - < ACTIVEMQ_HOME >/bin/activemq 37 | 38 | --- 39 | 40 | #### Set Message Broker Username : 41 | 42 | CONFIG_PARAM_MB_USERNAME=system 43 | 44 | * Used in - < ACTIVEMQ_HOME >/conf/activemq.xml 45 | 46 | --- 47 | 48 | #### Set Message Broker Password : 49 | 50 | CONFIG_PARAM_MB_PASSWORD=manager 51 | 52 | * Used in - < ACTIVEMQ_HOME >/conf/activemq.xml 53 | -------------------------------------------------------------------------------- /tools/migration/artifact.migration.tool/src/test/resources/scripts/openstack/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # -------------------------------------------------------------- 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | # -------------------------------------------------------------- 22 | # 23 | prgdir=`dirname "$0"` 24 | script_path=`cd "$prgdir"; pwd` 25 | common_folder=`cd "${script_path}/../common"; pwd` 26 | 27 | bash ${common_folder}/undeploy.sh 28 | -------------------------------------------------------------------------------- /tools/migration/subscription-manager/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/autoscaler/policy/autoscale/LoadThresholds.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.ppaas.rest.endpoint.bean.autoscaler.policy.autoscale; 20 | 21 | import javax.xml.bind.annotation.XmlRootElement; 22 | 23 | @XmlRootElement public class LoadThresholds { 24 | 25 | public RequestsInFlightThresholds requestsInFlight; 26 | 27 | public MemoryConsumptionThresholds memoryConsumption; 28 | 29 | public LoadAverageThresholds loadAverage; 30 | } 31 | -------------------------------------------------------------------------------- /components/org.wso2.ppaas.manager.console/console/themes/privatePaaS/helpers/applications_topology.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | var resources = function (page, meta) { 18 | return { 19 | js: ['JSONEditor-0.7.12/jsoneditor-0.7.12.js','bootstrap-switch-3.0.2/bootstrap-switch.min.js', 'custom/script.js', 'd3js-v3/d3.v3.min.js' , 20 | 'jsplumb-1.7.2/dom.jsPlumb-1.7.2-min.js', 'dagre-v0.7.0/dagre.min.js', 'canvg/rgbcolor.js', 'canvg/canvg.js','custom/applications_topology.js'], 21 | css: ['bootstrap-switch-3.0.2/bootstrap-switch.min.css', 'custom/style.css', 'custom/topology.css'] 22 | }; 23 | }; 24 | --------------------------------------------------------------------------------