-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
2,226 additions
and
599 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
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
18 changes: 17 additions & 1 deletion
18
...va/com/microsoft/aspire/extensions/azure/storage/resources/AzureStorageBlobsResource.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 |
---|---|---|
@@ -1,8 +1,24 @@ | ||
package com.microsoft.aspire.extensions.azure.storage.resources; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.microsoft.aspire.resources.properties.ReferenceExpression; | ||
|
||
public final class AzureStorageBlobsResource extends AzureStorageChildResource { | ||
|
||
public AzureStorageBlobsResource(String name, AzureStorageResource storageResource) { | ||
super(name, storageResource, "blobEndpoint"); | ||
super(name, storageResource); | ||
} | ||
|
||
@Override | ||
public ReferenceExpression getConnectionStringExpression() { | ||
// FIXME duplicated below | ||
return ReferenceExpression.create("{" + storageResource.getName() + ".outputs.blobEndpoint}"); | ||
} | ||
|
||
@JsonIgnore | ||
@Override | ||
public String getValueExpression() { | ||
// FIXME | ||
return "{" + storageResource.getName() + ".outputs.blobEndpoint}"; | ||
} | ||
} |
36 changes: 21 additions & 15 deletions
36
...va/com/microsoft/aspire/extensions/azure/storage/resources/AzureStorageChildResource.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
18 changes: 17 additions & 1 deletion
18
...a/com/microsoft/aspire/extensions/azure/storage/resources/AzureStorageQueuesResource.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 |
---|---|---|
@@ -1,8 +1,24 @@ | ||
package com.microsoft.aspire.extensions.azure.storage.resources; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.microsoft.aspire.resources.properties.ReferenceExpression; | ||
|
||
public final class AzureStorageQueuesResource extends AzureStorageChildResource { | ||
|
||
public AzureStorageQueuesResource(String name, AzureStorageResource storageResource) { | ||
super(name, storageResource, "queueEndpoint"); | ||
super(name, storageResource); | ||
} | ||
|
||
@Override | ||
public ReferenceExpression getConnectionStringExpression() { | ||
// FIXME duplicated below | ||
return ReferenceExpression.create("{" + storageResource.getName() + ".outputs.queueEndpoint}"); | ||
} | ||
|
||
@JsonIgnore | ||
@Override | ||
public String getValueExpression() { | ||
// FIXME | ||
return "{" + storageResource.getName() + ".outputs.queueEndpoint}"; | ||
} | ||
} |
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
18 changes: 17 additions & 1 deletion
18
...a/com/microsoft/aspire/extensions/azure/storage/resources/AzureStorageTablesResource.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 |
---|---|---|
@@ -1,8 +1,24 @@ | ||
package com.microsoft.aspire.extensions.azure.storage.resources; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.microsoft.aspire.resources.properties.ReferenceExpression; | ||
|
||
public final class AzureStorageTablesResource extends AzureStorageChildResource { | ||
|
||
public AzureStorageTablesResource(String name, AzureStorageResource storageResource) { | ||
super(name, storageResource, "tableEndpoint"); | ||
super(name, storageResource); | ||
} | ||
|
||
@Override | ||
public ReferenceExpression getConnectionStringExpression() { | ||
// FIXME duplicated below | ||
return ReferenceExpression.create("{" + storageResource.getName() + ".outputs.tableEndpoint}"); | ||
} | ||
|
||
@JsonIgnore | ||
@Override | ||
public String getValueExpression() { | ||
// FIXME | ||
return "{" + storageResource.getName() + ".outputs.tableEndpoint}"; | ||
} | ||
} |
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
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
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
1 change: 0 additions & 1 deletion
1
aspire4j/aspire4j/src/main/java/com/microsoft/aspire/DistributedApplication.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
Oops, something went wrong.