Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fluent version of latest ACR stable release 2018-09 #635

Merged
merged 32 commits into from
Dec 4, 2018
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
529d446
added FileTaskStep
iscai-msft Oct 18, 2018
4ccde48
implemented definition flow for RegistryFileTaskStep
iscai-msft Oct 19, 2018
ec0be8e
implemented definition flow for RegistryEncodedTaskStep
iscai-msft Oct 19, 2018
bd0c999
implemented definition flow for RegistryDockerTaskStep
iscai-msft Oct 19, 2018
321d6ec
starting update for container registry tasks, no updates on TaskStep
iscai-msft Oct 19, 2018
b139684
added update for FileTaskStep
iscai-msft Oct 22, 2018
8d73d46
added update step for FileTaskStep, EncodedTaskStep, and DockerTaskStep
iscai-msft Oct 23, 2018
3bcc633
added creation for TaskRunRequests
iscai-msft Oct 25, 2018
6a7a350
ammendment to previous definition of TaskRunRequest commit
iscai-msft Oct 25, 2018
90d29c0
Merge branch 'master' of github.com:Azure/azure-libraries-for-java in…
iscai-msft Oct 29, 2018
cb8dc10
finished implementing fluent version of latest acr stable release pac…
iscai-msft Oct 29, 2018
ccbdb47
added test recordings for new acr tests
iscai-msft Oct 30, 2018
a64e412
fixed checkstyle error
iscai-msft Oct 30, 2018
78b6b82
rebuilt program to try to pass travis
iscai-msft Oct 30, 2018
ea8fa61
fixed maven plugin version from 1.8 to 1.7 to pass travis
iscai-msft Oct 30, 2018
4611141
exposed some collections in Azure, added LangDefinition to classes an…
iscai-msft Oct 30, 2018
7e08737
fixed CancelAndDelteRunsAndTasks test
iscai-msft Oct 30, 2018
c79a630
changed Task interface to RegistryTask
iscai-msft Nov 1, 2018
51df0fb
changed Tasks interface to RegistryTasks
iscai-msft Nov 1, 2018
7abde2e
Merge branch 'master' of github.com:Azure/azure-libraries-for-java in…
iscai-msft Nov 7, 2018
35eeb30
Added Trigger definition to Fluent implementation of Task creation
iscai-msft Nov 7, 2018
c8b9502
added update functionality for existing triggers in a task
iscai-msft Nov 8, 2018
b805291
added trigger into fluent flow for task definition and update
iscai-msft Nov 15, 2018
9ae80b9
added test recordings from container registry to pass travis
iscai-msft Nov 15, 2018
6c1b449
Merge branch 'master' of github.com:Azure/azure-libraries-for-java in…
iscai-msft Nov 15, 2018
7ab7e6e
added overriding argument for RegistryDockerTaskStep and RegistryDock…
iscai-msft Nov 16, 2018
c3d86c2
fixed checkstyle error
iscai-msft Nov 16, 2018
a2acf8e
ignoring visual studio code metadata
iscai-msft Nov 19, 2018
0dc3174
got rid of all javaxml dependencies in pom files besides the parent pom
iscai-msft Nov 19, 2018
2c12965
got rid of err file and added to gitignore
iscai-msft Nov 19, 2018
c544ad0
edited beta to include since version 1.17.0
iscai-msft Nov 19, 2018
70bc662
edited javadoc comment for RegistryEncodedTaskStep interface
iscai-msft Nov 19, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
anuchandy marked this conversation as resolved.
Show resolved Hide resolved
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
Binary file added .vs/azure-libraries-for-java/v15/.suo
Binary file not shown.
Binary file added .vs/slnx.sqlite
Binary file not shown.
10 changes: 5 additions & 5 deletions api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@
"args": "--payload-flattening-threshold=1 --tag=package-2018-01"
},
"containerinstance": {
"dir": "azure-mgmt-containerinstance",
"source": "specification/containerinstance/resource-manager/readme.md",
"package": "com.microsoft.azure.management.containerinstance",
"args": "--payload-flattening-threshold=1 --tag=package-2018-06"
"dir": "azure-mgmt-containerinstance",
"source": "specification/containerinstance/resource-manager/readme.md",
"package": "com.microsoft.azure.management.containerinstance",
"args": "--payload-flattening-threshold=1 --tag=package-2018-06"
},
"containerregistry": {
"dir": "azure-mgmt-containerregistry",
"source": "specification/containerregistry/resource-manager/readme.md",
"package": "com.microsoft.azure.management.containerregistry",
"args": "--payload-flattening-threshold=1 --tag=package-2018-02-preview"
"args": "--payload-flattening-threshold=1 --tag=package-2018-09"
},
"containerservice": {
"dir": "azure-mgmt-containerservice",
Expand Down
5 changes: 5 additions & 0 deletions azure-mgmt-appservice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the tag here and everywhere, except the one in root pom.xml. The child modules should inherit the version from parent.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, is this needed for all modules or only ACR? If it's latter then this should only be added to ACR. But still, the version should be defined in the parent.

</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions azure-mgmt-batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
</developers>

<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions azure-mgmt-batchai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions azure-mgmt-cdn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
<artifactId>azure-mgmt-resources</artifactId>
<version>1.17.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions azure-mgmt-compute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
<artifactId>azure-mgmt-resources</artifactId>
<version>1.17.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-storage</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions azure-mgmt-containerinstance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
Expand Down
628 changes: 628 additions & 0 deletions azure-mgmt-containerregistry/hs_err_pid15312.log

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions azure-mgmt-containerregistry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class Actor {
private String name;

/**
* Get the name value.
* Get the subject or username associated with the request context that generated the event.
*
* @return the name value
*/
Expand All @@ -32,7 +32,7 @@ public String name() {
}

/**
* Set the name value.
* Set the subject or username associated with the request context that generated the event.
*
* @param name the name value to set
* @return the Actor object itself.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.containerregistry;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The properties that determine the run agent configuration.
*/
public class AgentProperties {
/**
* The CPU configuration in terms of number of cores required for the run.
*/
@JsonProperty(value = "cpu")
private Integer cpu;

/**
* Get the CPU configuration in terms of number of cores required for the run.
*
* @return the cpu value
*/
public Integer cpu() {
return this.cpu;
}

/**
* Set the CPU configuration in terms of number of cores required for the run.
*
* @param cpu the cpu value to set
* @return the AgentProperties object itself.
*/
public AgentProperties withCpu(Integer cpu) {
this.cpu = cpu;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.containerregistry;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for Architecture.
*/
public final class Architecture extends ExpandableStringEnum<Architecture> {
/** Static value amd64 for Architecture. */
public static final Architecture AMD64 = fromString("amd64");

/** Static value x86 for Architecture. */
public static final Architecture X86 = fromString("x86");

/** Static value arm for Architecture. */
public static final Architecture ARM = fromString("arm");

/**
* Creates or finds a Architecture from its string representation.
* @param name a name to look for
* @return the corresponding Architecture
*/
@JsonCreator
public static Architecture fromString(String name) {
return fromString(name, Architecture.class);
}

/**
* @return known Architecture values
*/
public static Collection<Architecture> values() {
return values(Architecture.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,14 @@
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.containerregistry.implementation;
package com.microsoft.azure.management.containerregistry;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Properties of a build argument.
* The properties of a run argument.
*/
public class BuildArgumentInner {
/**
* The type of the argument.
*/
@JsonProperty(value = "type", required = true)
private String type;

public class Argument {
/**
* The name of the argument.
*/
Expand All @@ -40,34 +34,7 @@ public class BuildArgumentInner {
private Boolean isSecret;

/**
* Creates an instance of BuildArgumentInner class.
*/
public BuildArgumentInner() {
type = "DockerBuildArgument";
}

/**
* Get the type value.
*
* @return the type value
*/
public String type() {
return this.type;
}

/**
* Set the type value.
*
* @param type the type value to set
* @return the BuildArgumentInner object itself.
*/
public BuildArgumentInner withType(String type) {
this.type = type;
return this;
}

/**
* Get the name value.
* Get the name of the argument.
*
* @return the name value
*/
Expand All @@ -76,18 +43,18 @@ public String name() {
}

/**
* Set the name value.
* Set the name of the argument.
*
* @param name the name value to set
* @return the BuildArgumentInner object itself.
* @return the Argument object itself.
*/
public BuildArgumentInner withName(String name) {
public Argument withName(String name) {
this.name = name;
return this;
}

/**
* Get the value value.
* Get the value of the argument.
*
* @return the value value
*/
Expand All @@ -96,18 +63,18 @@ public String value() {
}

/**
* Set the value value.
* Set the value of the argument.
*
* @param value the value value to set
* @return the BuildArgumentInner object itself.
* @return the Argument object itself.
*/
public BuildArgumentInner withValue(String value) {
public Argument withValue(String value) {
this.value = value;
return this;
}

/**
* Get the isSecret value.
* Get flag to indicate whether the argument represents a secret and want to be removed from build logs.
*
* @return the isSecret value
*/
Expand All @@ -116,12 +83,12 @@ public Boolean isSecret() {
}

/**
* Set the isSecret value.
* Set flag to indicate whether the argument represents a secret and want to be removed from build logs.
*
* @param isSecret the isSecret value to set
* @return the BuildArgumentInner object itself.
* @return the Argument object itself.
*/
public BuildArgumentInner withIsSecret(Boolean isSecret) {
public Argument withIsSecret(Boolean isSecret) {
this.isSecret = isSecret;
return this;
}
Expand Down
Loading