Skip to content

Instantly share code, notes, and snippets.

View mlushpenko's full-sized avatar

Maksym Lushpenko mlushpenko

View GitHub Profile
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.buyme.com/ShipmentService/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ShipmentService" targetNamespace="http://www.buyme.com/ShipmentService/">
<wsdl:message name="GetAdditionalCostsRequest">
<wsdl:part name="Address" type="xsd:string"/>
<wsdl:part name="Weight" type="xsd:float"/>
<wsdl:part name="ShipmentType" type="xsd:int"/>
</wsdl:message>
<wsdl:message name="GetAdditionalCostsResponse">
<wsdl:part name="AdditionalCosts" type="xsd:float"/>
</wsdl:message>
/**
* ShipmentServiceSOAPImpl.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.buyme.www.ShipmentService;
import java.util.Calendar;
This activity contains 9 nodes and 12 edges (8 control and 4 data flow edges)
21 registered tasks:
- Start
- Start:OUT
- Fork from:Start
- provisionAVM 1
- provisionAVM 1:controlIN
- provisionAVM 1:dataOUT
- provisionAVM 1:controlOUT
- provisionAVM 2
@mlushpenko
mlushpenko / gist:4c1a4436466c84f8e8b7
Created March 31, 2015 16:19
Output of the deployment of virtual machines in the debug mode. Implementation based on java fork-join framework.
This activity contains 9 nodes and 12 edges (8 control and 4 data flow edges)
21 registered tasks:
- Start
- Start:OUT
- Fork from:Start
- provisionAVM 1
- provisionAVM 1:controlIN
- provisionAVM 1:dataOUT
- provisionAVM 1:controlOUT
This activity contains 9 nodes and 12 edges (8 control and 4 data flow edges)
21 registered tasks:
- Start
- Start:OUT
- Fork from:Start
- provisionAVM 1
- provisionAVM 1:controlIN
- provisionAVM 1:dataOUT
- provisionAVM 1:controlOUT
- provisionAVM 2
@mlushpenko
mlushpenko / gist:4ab1b853b6e8c2d30baa
Created April 18, 2015 16:30
Error 1612 during the installation of Google voice. I had it already installed and made many calls, but now when I try to make a call it tells me to install it =(
INFORMATION 5344 2828 18:26:56-896 CONSOLE 177 "callGeneric:1,0,logMsg,2,Note: Adding new context with Id:9122", source: sachplg.js (177)
INFORMATION 5344 2828 18:26:56-896 CONSOLE 177 "callGeneric:1,0,onNavigate,https://www.google.com/work/search/solutions/#інтранет,,9122,true", source: sachplg.js (177)
INFORMATION 5344 2828 18:26:56-914 CONSOLE 177 "callGeneric:1,0,logMsg,2,Got C Callthis.callback.changeBitmap(-1,50729776,9122)", source: sachplg.js (177)
INFORMATION 5344 2828 18:26:56-914 CONSOLE 177 "callGeneric:1,0,logMsg,2,Got C Callthis.callback.changeBitmap(-2147467259,-1,9122)", source: sachplg.js (177)
INFORMATION 5344 2828 18:26:56-917 CONSOLE 177 "callGeneric:1,0,logMsg,2,Got C Callthis.callback.changeBitmap(-1,50729776,9122)", source: sachplg.js (177)
INFORMATION 5344 2828 18:26:56-924 CONSOLE 177 "callGeneric:1,0,logMsg,2,Got C Callthis.callback.changeBitmap(-2147467259,-1,9122)", source: sachplg.js (177)
INFORMATION 5344 2828 18:26:56-927 CONSOLE 177 "callGeneric:1,0,logMsg,2,Got C Callthis.call
"C:\Program Files\Java\jdk1.7.0_75\bin\java" -Didea.launcher.port=7535 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 14.0.2\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.7.0_75\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\jfxrt.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.7.0_75\jre\lib\ext\loca
5. Conclusion
In this work we presented a DSL for the provisioning and deployment of multi-cloud applications which can be used as a library by third parties. In addition, we showed how this DSL was used in the CloudMF framework to combine declarative and imperative deployment approaches. The combination of both approaches allows application developers to deploy applications only by defining the desired final state of the system, while at the same time allowing them to tune the deployment process to their specific needs with help of the internal DSL. Internal DSL could also be used by reasoning engines to automatically update deployment plans according to the defined policies.
Moreover, a deployment engine was developed which allows cloud application owners to observe the progress of the deployment process in real-time. The real-time presentation of the deployment process makes it easier to debug applications and gives application operators a clear idea how and when every deployment operation is performed, t
-----------------------------------1.2 Research problem-----------------------------------
In this work we focus on two challenges: (i) combination of the declarative and imperative
approaches to the application provisioning and deployment, and (ii) continuous
deployment of cloud applications. Based on this, the reasearch problem may be formulated as follows:
"How can we enable both, flexibility and fine-grained control, in the deployment and provisioning of multi-cloud
applications, and allow efficient run-time management of such applications?"
-------------------------------------1.3 Research questions-------------------------------------
@mlushpenko
mlushpenko / gist:463dc843acedbbbfe238
Created June 15, 2015 13:18
Fibonacci big numbers
public int solution(int N) {
// write your code in Java SE 8
BigInteger fib = fibonacci(N);
System.out.println(fib);
int remainder = fib.mod(new BigInteger("1000000")).intValue() ;
return remainder;
}
public BigInteger fibonacci(int i){
if (i < 2)