-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/dev' into dev
- Loading branch information
Showing
224 changed files
with
19,727 additions
and
2,602 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,42 @@ | ||
*.class | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.ear | ||
|
||
# Azure Tooling # | ||
node_modules | ||
|
||
# Eclipse # | ||
*.pydevproject | ||
.project | ||
.metadata | ||
bin/** | ||
tmp/** | ||
tmp/**/* | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.classpath | ||
.settings/ | ||
.loadpath | ||
|
||
# Other Tooling # | ||
.classpath | ||
.project | ||
target | ||
node_modules | ||
.idea | ||
*.iml | ||
|
||
# Mac OS # | ||
.DS_Store | ||
.DS_Store? | ||
|
||
# Windows # | ||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...pi-core/src/main/java/com/microsoft/windowsazure/services/core/TimeSpan8601Converter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* Copyright Microsoft Corporation | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.microsoft.windowsazure.services.core; | ||
|
||
import javax.xml.datatype.DatatypeConfigurationException; | ||
import javax.xml.datatype.DatatypeFactory; | ||
import javax.xml.datatype.Duration; | ||
|
||
public class TimeSpan8601Converter { | ||
public static String format(Duration duration) { | ||
return duration.toString(); | ||
} | ||
|
||
public static Duration parse(String duration) { | ||
try { | ||
DatatypeFactory factory = DatatypeFactory.newInstance(); | ||
return factory.newDuration(duration); | ||
} | ||
catch (DatatypeConfigurationException e) | ||
{ | ||
String msg = String.format("The value \"%s\" is not a valid ISO8601 duration.", duration); | ||
throw new IllegalArgumentException(msg, e); | ||
} | ||
} | ||
} |
9 changes: 1 addition & 8 deletions
9
...main/resources/META-INF/services/com.microsoft.windowsazure.services.core.Builder$Exports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
com.microsoft.windowsazure.services.blob.Exports | ||
com.microsoft.windowsazure.services.queue.Exports | ||
com.microsoft.windowsazure.services.table.Exports | ||
com.microsoft.windowsazure.services.serviceBus.Exports | ||
com.microsoft.windowsazure.services.serviceBus.implementation.Exports | ||
com.microsoft.windowsazure.services.core.utils.Exports | ||
com.microsoft.windowsazure.services.core.utils.pipeline.Exports | ||
com.microsoft.windowsazure.services.media.Exports | ||
com.microsoft.windowsazure.services.management.Exports | ||
com.microsoft.windowsazure.services.core.utils.pipeline.Exports |
13 changes: 0 additions & 13 deletions
13
microsoft-azure-api-core/src/main/resources/management/package-names.xjb
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
...osoft-azure-api-core/src/main/resources/management/schemas.microsoft.com.windowsazure.xsd
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
microsoft-azure-api-core/src/main/resources/serviceBus/package-names.xjb
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
...re-api-core/src/main/resources/serviceBus/schemas.microsoft.com.2003.10.Serialization.xsd
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.