From 433fb7139f97970e8302812d4939c8eb3fc55fcb Mon Sep 17 00:00:00 2001 From: Isaiah Williams Date: Sun, 29 Sep 2019 09:20:53 -0500 Subject: [PATCH] Updating to latest version (#21) --- README.md | 8 +- SECURITY.md | 31 +++ azure-pipelines.yml | 66 ++++--- sdk/pom.xml | 8 +- .../samples/AadUserLoginHandler.java | 177 ++++++------------ .../samples/AggregatePartnerScenario.java | 7 +- .../samples/BasePartnerScenario.java | 7 +- .../samples/IPartnerScenario.java | 7 +- .../samples/IScenarioContext.java | 7 +- .../store/partnercenter/samples/Program.java | 7 +- .../agreements/CreateCustomerAgreement.java | 14 +- .../agreements/GetAgreementDetails.java | 7 +- .../agreements/GetCustomerAgreements.java | 7 +- ...etCustomerLicensesDeploymentAnalytics.java | 7 +- .../GetCustomerLicensesUsageAnalytics.java | 7 +- ...GetPartnerLicensesDeploymentAnalytics.java | 7 +- .../GetPartnerLicensesUsageAnalytics.java | 7 +- .../samples/auditrecords/GetAuditRecords.java | 7 +- .../auditrecords/SearchAuditRecords.java | 7 +- .../samples/carts/CheckoutCart.java | 7 +- .../samples/carts/CreateCart.java | 7 +- .../samples/carts/UpdateCart.java | 7 +- .../samples/configuration/Configuration.java | 7 +- .../configuration/ConfigurationHolder.java | 7 +- .../samples/context/ScenarioContext.java | 7 +- .../GetCustomerAvailabilities.java | 7 +- ...CustomerAvailabilitiesByTargetSegment.java | 7 +- .../GetCustomerAvailability.java | 7 +- .../customerproducts/GetCustomerProduct.java | 7 +- .../customerproducts/GetCustomerProducts.java | 7 +- .../GetCustomerProductsByTargetSegment.java | 7 +- .../customerproducts/GetCustomerSku.java | 7 +- .../customerproducts/GetCustomerSkus.java | 7 +- .../GetCustomerSkusByTargetSegment.java | 7 +- .../customers/CheckDomainAvailability.java | 7 +- .../samples/customers/CreateCustomer.java | 7 +- .../DeleteCustomerFromTipAccount.java | 7 +- .../samples/customers/FilterCustomers.java | 7 +- .../samples/customers/GetCustomerDetails.java | 7 +- .../customers/GetCustomerManagedServices.java | 7 +- .../GetCustomerRelationshipRequest.java | 7 +- .../samples/customers/GetPagedCustomers.java | 7 +- .../UpdateCustomerBillingProfile.java | 7 +- .../GetCustomerServiceCostsLineItems.java | 7 +- .../GetCustomerServiceCostsSummary.java | 7 +- .../customerusers/CreateCustomerUser.java | 7 +- .../CustomerUserAssignGroup1Licenses.java | 7 +- .../CustomerUserAssignGroup2Licenses.java | 7 +- .../CustomerUserAssignLicenses.java | 7 +- ...erUserAssignedGroup1AndGroup2Licenses.java | 7 +- .../CustomerUserAssignedGroup1Licenses.java | 7 +- .../CustomerUserAssignedGroup2Licenses.java | 7 +- .../CustomerUserAssignedLicenses.java | 7 +- .../customerusers/CustomerUserRestore.java | 7 +- .../customerusers/DeleteCustomerUser.java | 7 +- .../GetCustomerInactiveUsers.java | 7 +- .../GetCustomerUserCollection.java | 7 +- .../customerusers/GetCustomerUserDetails.java | 7 +- .../GetCustomerUserDirectoryRoles.java | 7 +- .../customerusers/GetPagedCustomerUsers.java | 7 +- .../customerusers/SortedCustomerUsers.java | 7 +- .../customerusers/UpdateCustomerUser.java | 7 +- .../CreateConfigurationPolicy.java | 7 +- .../devicesdeployment/CreateDeviceBatch.java | 7 +- .../devicesdeployment/CreateDevices.java | 7 +- .../DeleteConfigurationPolicy.java | 7 +- .../devicesdeployment/DeleteDevice.java | 7 +- .../GetAllConfigurationPolicies.java | 7 +- .../GetBatchUploadStatus.java | 7 +- .../samples/devicesdeployment/GetDevices.java | 7 +- .../devicesdeployment/GetDevicesBatches.java | 7 +- .../UpdateConfigurationPolicy.java | 7 +- .../UpdateDevicesPolicy.java | 7 +- .../samples/entitlements/GetEntitlements.java | 7 +- .../samples/helpers/ConsoleHelper.java | 7 +- .../CreateCustomerForIndirectReseller.java | 7 +- .../GetCustomersOfIndirectReseller.java | 7 +- .../indirectmodel/GetIndirectResellers.java | 7 +- .../GetIndirectResellersOfCustomer.java | 7 +- .../GetSubscriptionsByMpnId.java | 7 +- .../indirectmodel/PlaceOrderForCustomer.java | 7 +- .../indirectmodel/VerifyPartnerMpnId.java | 7 +- .../samples/invoice/GetAccountBalance.java | 7 +- .../samples/invoice/GetInvoice.java | 7 +- .../samples/invoice/GetInvoiceLineItems.java | 7 +- .../samples/invoice/GetInvoiceStatement.java | 7 +- .../samples/invoice/GetInvoiceSummary.java | 7 +- .../samples/invoice/GetPagedInvoices.java | 7 +- .../samples/offers/GetOffer.java | 7 +- .../samples/offers/GetOfferCategories.java | 7 +- .../samples/offers/GetOffers.java | 7 +- .../samples/offers/GetPagedOffers.java | 7 +- .../orders/CreateAzureReservationOrder.java | 7 +- .../samples/orders/CreateOrder.java | 7 +- .../samples/orders/GetOrders.java | 7 +- .../samples/products/CheckInventory.java | 7 +- .../samples/products/GetAvailabilities.java | 7 +- .../GetAvailabilitiesByTargetSegment.java | 7 +- .../samples/products/GetAvailability.java | 7 +- .../samples/products/GetProduct.java | 7 +- .../samples/products/GetProducts.java | 7 +- .../products/GetProductsByTargetSegment.java | 7 +- .../samples/products/GetSku.java | 7 +- .../samples/products/GetSkus.java | 7 +- .../products/GetSkusByTargetSegment.java | 7 +- .../ratecards/GetAzureSharedRateCard.java | 7 +- .../ratedusage/GetCustomerUsageSummary.java | 7 +- .../AggregateScenarioExecutionStrategy.java | 7 +- .../IScenarioExecutionStrategy.java | 7 +- .../PromptExecutionStrategy.java | 7 +- .../GetAllCustomerServiceRequests.java | 7 +- .../GetPagedPartnerServiceRequests.java | 7 +- .../GetPartnerServiceRequestDetails.java | 7 +- .../GetServiceRequestSupportTopics.java | 7 +- .../UpdatePartnerServiceRequest.java | 7 +- .../subscriptions/AddSubscriptionAddOn.java | 7 +- .../ConvertTrialSubscription.java | 7 +- .../GetSubscriptionProvisioningStatus.java | 7 +- .../GetSubscriptionSupportContact.java | 7 +- .../subscriptions/GetSubscriptions.java | 7 +- .../subscriptions/RegisterSubscription.java | 7 +- .../subscriptions/UpdateSubscription.java | 7 +- .../UpdateSubscriptionSupportContact.java | 7 +- .../subscriptions/UpgradeSubscription.java | 7 +- .../GetAzureSubscriptionUtilization.java | 7 +- .../validations/AddressValidation.java | 7 +- .../main/resources/SamplesConfiguration.json | 6 +- secure-app-model/keyvault/cpvsample/pom.xml | 2 +- .../secureappmodel/cpvsample/Program.java | 7 +- .../cpvsample/PropertyName.java | 7 +- .../cpvsample/models/ApplicationConsent.java | 7 +- .../cpvsample/models/ApplicationGrant.java | 7 +- .../security/AccessTokenProvider.java | 7 +- .../security/AzureTokenProvider.java | 7 +- .../security/GraphAuthenticationProvider.java | 7 +- .../security/IAccessTokenProvider.java | 7 +- .../cpvsample/security/IVaultProvider.java | 7 +- .../cpvsample/security/KeyVaultProvider.java | 7 +- .../security/SecureLoginHandler.java | 7 +- secure-app-model/keyvault/cspsample/pom.xml | 2 +- .../secureappmodel/cspsample/Program.java | 7 +- .../cspsample/PropertyName.java | 7 +- .../security/AccessTokenProvider.java | 7 +- .../security/AzureTokenProvider.java | 7 +- .../security/GraphAuthenticationProvider.java | 7 +- .../security/IAccessTokenProvider.java | 7 +- .../cspsample/security/IVaultProvider.java | 7 +- .../cspsample/security/KeyVaultProvider.java | 7 +- .../security/SecureLoginHandler.java | 7 +- .../controllers/HomeController.java | 7 +- .../partnerconsent/models/StateData.java | 7 +- .../security/AuthenticationFilter.java | 7 +- .../security/IVaultProvider.java | 7 +- .../security/KeyVaultProvider.java | 7 +- 154 files changed, 436 insertions(+), 893 deletions(-) create mode 100644 SECURITY.md diff --git a/README.md b/README.md index 3396dc5..d7defb2 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# Partner Center Java SDK Samples +# Partner Center SDK for Java Samples -[![Build Status](https://dev.azure.com/isaiahwilliams/community/_apis/build/status/partner-center-java-samples/partner-center-java-samples%20CI?branchName=master)](https://dev.azure.com/isaiahwilliams/community/_build/latest?definitionId=15&branchName=master) +[![Build Status](https://dev.azure.com/isaiahwilliams/public/_apis/build/status/partner-center-java-samples?branchName=master)](https://dev.azure.com/isaiahwilliams/public/_build/latest?definitionId=27&branchName=master) -This repository contains samples for the Partner Center Java SDK. +This repository contains samples for the Partner Center SDK for Java. ## Samples List | Sample Name | Description | |-------------|-------------| | [SDK Samples](sdk/README.md) | Console application that demonstrates each scenario the Partner Center Java SDK is capable of performing.| -| [Secure App Model](secure-app-model/README.md) | A set of projects that demonstrate how a Control Panel Vendor (CPV) and a Cloud Solution Provider (CSP) should implement the Secure App Model. | +| [Secure Application Model](secure-app-model/README.md) | A set of projects that demonstrate how a Control Panel Vendor (CPV) and a Cloud Solution Provider (CSP) should implement the Secure Application Model. | ## Reporting Security Issues diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..ecd8f85 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,31 @@ +# Security + +Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [many more](https://opensource.microsoft.com/). + +If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's [definition](https://docs.microsoft.com/previous-versions/tn-archive/cc751383(v=technet.10)) of a security vulnerability, please report it to us as described below. + +## Reporting Security Issues + +**Please do not report security vulnerabilities through public GitHub issues.** Instead, please report them to the Microsoft Security Response Center at [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://technet.microsoft.com/security/dn606155). + +You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). + +Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: + +* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) +* Full paths of source file(s) related to the manifestation of the issue +* The location of the affected source code (tag/branch/commit or direct URL) +* Any special configuration required to reproduce the issue +* Step-by-step instructions to reproduce the issue +* Proof-of-concept or exploit code (if possible) +* Impact of the issue, including how an attacker might exploit the issue + +This information will help us triage your report more quickly. + +## Preferred Languages + +We prefer all communications to be in English. + +## Policy + +Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/msrc/cvd). \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8c7a1ac..32e2712 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,51 +1,63 @@ +strategy: + matrix: + linux: + imageName: 'ubuntu-latest' + mac: + imageName: 'macOS-latest' + windows: + imageName: 'windows-latest' + +pool: + vmImage: $(imageName) + trigger: - master -pool: - vmImage: 'ubuntu-latest' +variables: + LoggingOptions: '-Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' steps: - task: Maven@3 + displayName: 'Build SDK samples' inputs: mavenPomFile: 'sdk/pom.xml' - mavenOptions: '-Xmx3072m' - javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' - jdkArchitectureOption: 'x64' - publishJUnitResults: true - testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' + options: '-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -am' + mavenOptions: '$(LoggingOptions)' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + findBugsRunAnalysis: true - task: Maven@3 + displayName: 'Build secure application model CPV sample' inputs: mavenPomFile: 'secure-app-model/keyvault/cpvsample/pom.xml' - mavenOptions: '-Xmx3072m' - javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' - jdkArchitectureOption: 'x64' - publishJUnitResults: true - testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' + options: '-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -am' + mavenOptions: '$(LoggingOptions)' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + findBugsRunAnalysis: true - task: Maven@3 + displayName: 'Build secure application model CSP sample' inputs: mavenPomFile: 'secure-app-model/keyvault/cspsample/pom.xml' - mavenOptions: '-Xmx3072m' - javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' - jdkArchitectureOption: 'x64' - publishJUnitResults: true - testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' + options: '-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -am' + mavenOptions: '$(LoggingOptions)' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + findBugsRunAnalysis: true - task: Maven@3 + displayName: 'Build secure application model partner consent sample' inputs: mavenPomFile: 'secure-app-model/keyvault/partnerconsent/pom.xml' - mavenOptions: '-Xmx3072m' - javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' - jdkArchitectureOption: 'x64' - publishJUnitResults: true - testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' - \ No newline at end of file + options: '-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -am' + mavenOptions: '$(LoggingOptions)' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + findBugsRunAnalysis: true + \ No newline at end of file diff --git a/sdk/pom.xml b/sdk/pom.xml index c4dbd24..789aa72 100644 --- a/sdk/pom.xml +++ b/sdk/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.microsoft.store partnercenter-samples - 1.13.6 + 1.14.1 jar Samples http://maven.apache.org @@ -14,7 +14,7 @@ com.microsoft.store partnercenter - 1.13.6 + 1.14.1 @@ -29,8 +29,8 @@ maven-compiler-plugin 3.8.0 - 1.7 - 1.7 + 1.8 + 1.8 diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/AadUserLoginHandler.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/AadUserLoginHandler.java index 9059913..395e25c 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/AadUserLoginHandler.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/AadUserLoginHandler.java @@ -1,27 +1,19 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples; import java.io.IOException; -import java.net.URI; -import java.net.URISyntaxException; -import java.time.Instant; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; +import java.util.Collections; +import java.util.concurrent.CompletableFuture; +import java.util.function.Consumer; -import com.microsoft.aad.adal4j.AdalErrorCode; -import com.microsoft.aad.adal4j.AuthenticationContext; -import com.microsoft.aad.adal4j.AuthenticationException; -import com.microsoft.aad.adal4j.AuthenticationResult; -import com.microsoft.aad.adal4j.DeviceCode; +import com.microsoft.aad.msal4j.DeviceCode; +import com.microsoft.aad.msal4j.DeviceCodeFlowParameters; +import com.microsoft.aad.msal4j.IAuthenticationResult; +import com.microsoft.aad.msal4j.PublicClientApplication; import com.microsoft.store.partnercenter.AuthenticationToken; import com.microsoft.store.partnercenter.IAadLoginHandler; -import com.microsoft.store.partnercenter.exception.PartnerException; import com.microsoft.store.partnercenter.samples.configuration.ConfigurationHolder; import org.joda.time.DateTime; @@ -37,122 +29,69 @@ public class AadUserLoginHandler @Override public AuthenticationToken authenticate() { - AuthenticationContext context = null; - AuthenticationResult result = null; - Instant expiresOn; - DeviceCode deviceCode; - ExecutorService service = null; - - // read AAD configuration - String authority = - ConfigurationHolder.getInstance().getConfiguration().getPartnerServiceSettings().get( "AuthenticationAuthorityEndpoint" ); - String commonDomain = - ConfigurationHolder.getInstance().getConfiguration().getPartnerServiceSettings().get( "CommonDomain" ); - String resourceUrl = - ConfigurationHolder.getInstance().getConfiguration().getUserAuthentication().get( "ResourceUrl" ); - String clientId = - ConfigurationHolder.getInstance().getConfiguration().getUserAuthentication().get( "ClientId" ); + CompletableFuture future; + Consumer deviceCodeConsumer; + IAuthenticationResult authResult = null; + PublicClientApplication app; + String authority; + String clientId; + String scope; try { - URI addAuthority = new URI( authority ).resolve( new URI( commonDomain ) ); + authority = ConfigurationHolder + .getInstance() + .getConfiguration() + .getPartnerServiceSettings() + .get("AuthenticationAuthorityEndpoint"); - service = Executors.newFixedThreadPool( 1 ); - context = new AuthenticationContext( addAuthority.toString(), false, service ); - - deviceCode = context.acquireDeviceCode(clientId, resourceUrl, null).get(); - expiresOn = Instant.now().plusSeconds(deviceCode.getExpiresIn()); + clientId = ConfigurationHolder + .getInstance() + .getConfiguration() + .getUserAuthentication() + .get("ClientId"); + + scope = ConfigurationHolder + .getInstance() + .getConfiguration() + .getUserAuthentication() + .get("Scope"); - System.out.println(deviceCode.getMessage()); - - result = SendTokenRequest(context, deviceCode, expiresOn); - } - catch (ExecutionException ex) - { - ex.printStackTrace(); - } - catch(IOException e) - { - e.printStackTrace(); - } - catch ( URISyntaxException e ) - { - e.printStackTrace(); - } - catch ( InterruptedException e ) - { - e.printStackTrace(); - } + app = PublicClientApplication.builder(clientId) + .authority(authority + "/common") + .build(); - finally - { - service.shutdown(); - } + deviceCodeConsumer = (DeviceCode deviceCode) -> { + System.out.println(deviceCode.message()); + }; + + future = app.acquireToken( + DeviceCodeFlowParameters.builder( + Collections.singleton(scope), + deviceCodeConsumer) + .build()); - if ( result == null ) - { - throw new NullPointerException( "authentication result was null" ); - } - - return new AuthenticationToken( result.getAccessToken(), new DateTime( result.getExpiresOnDate() ) ); - } - - private AuthenticationResult SendTokenRequest(AuthenticationContext context, DeviceCode deviceCode, Instant expiresOn) - { - AuthenticationResult result = null; - long duration; - - duration = expiresOn.getEpochSecond() - Instant.now().getEpochSecond(); - - while(duration > 0) - { - try - { - result = context.acquireTokenByDeviceCode(deviceCode, null).get(); - break; - } - catch(AuthenticationException ex) - { - if(ex.getErrorCode() != AdalErrorCode.AUTHORIZATION_PENDING) - { - throw ex; - } - } - catch (ExecutionException ex) - { - if(ex.getCause() instanceof AuthenticationException) - { - if(((AuthenticationException)ex.getCause()).getErrorCode() != AdalErrorCode.AUTHORIZATION_PENDING) - { - ex.printStackTrace(); - } - } - else + future.handle((result, ex) -> { + if(ex != null) { ex.printStackTrace(); } - } - catch (InterruptedException ex) - { - ex.printStackTrace(); - } - - try - { - Thread.sleep(deviceCode.getInterval() * 1000); - } - catch(InterruptedException ex) - { - } - duration = expiresOn.getEpochSecond() - Instant.now().getEpochSecond(); + return result; + }); + + authResult = future.join(); + + if ( authResult == null ) + { + throw new NullPointerException( "authentication result was null" ); + } } - - if(result == null) + catch(IOException ex) { - throw new PartnerException("Verification code expired before contacting the server."); + ex.printStackTrace(); } - return result; + return new AuthenticationToken(authResult.accessToken(), new DateTime(authResult.expiresOnDate())); } } \ No newline at end of file diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/AggregatePartnerScenario.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/AggregatePartnerScenario.java index 4634d43..7841bca 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/AggregatePartnerScenario.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/AggregatePartnerScenario.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/BasePartnerScenario.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/BasePartnerScenario.java index 4517df9..4697538 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/BasePartnerScenario.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/BasePartnerScenario.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/IPartnerScenario.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/IPartnerScenario.java index 4b24a7d..c767c01 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/IPartnerScenario.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/IPartnerScenario.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/IScenarioContext.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/IScenarioContext.java index 1d21468..5d2fed7 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/IScenarioContext.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/IScenarioContext.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/Program.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/Program.java index 66feadd..fda6a62 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/Program.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/Program.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/CreateCustomerAgreement.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/CreateCustomerAgreement.java index 7fd6bdd..85f4076 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/CreateCustomerAgreement.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/CreateCustomerAgreement.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.agreements; @@ -11,7 +8,6 @@ import java.text.MessageFormat; import com.microsoft.store.partnercenter.IAggregatePartner; import com.microsoft.store.partnercenter.models.Contact; import com.microsoft.store.partnercenter.models.agreements.Agreement; -import com.microsoft.store.partnercenter.models.agreements.AgreementType; import com.microsoft.store.partnercenter.samples.BasePartnerScenario; import com.microsoft.store.partnercenter.samples.IScenarioContext; import com.microsoft.store.partnercenter.utils.StringHelper; @@ -70,16 +66,16 @@ public class CreateCustomerAgreement agreement.setDateAgreed(new DateTime()); agreement.setPrimaryContact(contact); agreement.setTemplateId(agreementTemplateId); - agreement.setType(AgreementType.MICROSOFT_CLOUD_AGREEMENT); + agreement.setType("MicrosoftCustomerAgreement"); agreement.setUserId(selectedUserId); this.getContext().getConsoleHelper().writeObject(agreement, "New Agreement"); this.getContext().getConsoleHelper().startProgress("Creating Agreement"); - Agreement newlyCreatedagreement = partnerOperations.getCustomers().byId(selectedCustomerId).getAgreements().create(agreement); + Agreement newlyCreatedAgreement = partnerOperations.getCustomers().byId(selectedCustomerId).getAgreements().create(agreement); this.getContext().getConsoleHelper().stopProgress(); this.getContext().getConsoleHelper().success("Create new agreement successfully!"); - this.getContext().getConsoleHelper().writeObject(newlyCreatedagreement, "Newly created agreement Information"); + this.getContext().getConsoleHelper().writeObject(newlyCreatedAgreement, "Newly created agreement Information"); } } \ No newline at end of file diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/GetAgreementDetails.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/GetAgreementDetails.java index fa65ee1..0243e43 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/GetAgreementDetails.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/GetAgreementDetails.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.agreements; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/GetCustomerAgreements.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/GetCustomerAgreements.java index a3fdb12..de44a14 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/GetCustomerAgreements.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/agreements/GetCustomerAgreements.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.agreements; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetCustomerLicensesDeploymentAnalytics.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetCustomerLicensesDeploymentAnalytics.java index 4ae5aa8..848b6af 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetCustomerLicensesDeploymentAnalytics.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetCustomerLicensesDeploymentAnalytics.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.analytics; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetCustomerLicensesUsageAnalytics.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetCustomerLicensesUsageAnalytics.java index d818d9e..413953c 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetCustomerLicensesUsageAnalytics.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetCustomerLicensesUsageAnalytics.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.analytics; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetPartnerLicensesDeploymentAnalytics.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetPartnerLicensesDeploymentAnalytics.java index 21d9530..5d8c369 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetPartnerLicensesDeploymentAnalytics.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetPartnerLicensesDeploymentAnalytics.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.analytics; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetPartnerLicensesUsageAnalytics.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetPartnerLicensesUsageAnalytics.java index ab6af9d..8fde5d3 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetPartnerLicensesUsageAnalytics.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/analytics/GetPartnerLicensesUsageAnalytics.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.analytics; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/auditrecords/GetAuditRecords.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/auditrecords/GetAuditRecords.java index b73cd53..60b8df1 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/auditrecords/GetAuditRecords.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/auditrecords/GetAuditRecords.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.auditrecords; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/auditrecords/SearchAuditRecords.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/auditrecords/SearchAuditRecords.java index 581f15e..9e2b3ed 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/auditrecords/SearchAuditRecords.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/auditrecords/SearchAuditRecords.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.auditrecords; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/CheckoutCart.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/CheckoutCart.java index 01af6cf..3491bf1 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/CheckoutCart.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/CheckoutCart.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.carts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/CreateCart.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/CreateCart.java index 166eaeb..6a5a7a6 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/CreateCart.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/CreateCart.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.carts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/UpdateCart.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/UpdateCart.java index d36ffdd..b3d437c 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/UpdateCart.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/carts/UpdateCart.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.carts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/configuration/Configuration.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/configuration/Configuration.java index c9674a8..79913f9 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/configuration/Configuration.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/configuration/Configuration.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.configuration; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/configuration/ConfigurationHolder.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/configuration/ConfigurationHolder.java index beec709..734e1b6 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/configuration/ConfigurationHolder.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/configuration/ConfigurationHolder.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.configuration; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/context/ScenarioContext.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/context/ScenarioContext.java index 00a7483..7fcdc12 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/context/ScenarioContext.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/context/ScenarioContext.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.context; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailabilities.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailabilities.java index 986fa3a..b2bddda 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailabilities.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailabilities.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerproducts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailabilitiesByTargetSegment.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailabilitiesByTargetSegment.java index 5d19527..47f46f1 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailabilitiesByTargetSegment.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailabilitiesByTargetSegment.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerproducts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailability.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailability.java index 995c8fb..530d34c 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailability.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerAvailability.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerproducts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProduct.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProduct.java index cc516c6..37a1afa 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProduct.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProduct.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerproducts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProducts.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProducts.java index b3dff31..05a9854 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProducts.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProducts.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerproducts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProductsByTargetSegment.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProductsByTargetSegment.java index 25f24bd..cc94b48 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProductsByTargetSegment.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerProductsByTargetSegment.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerproducts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSku.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSku.java index 9637cc3..e4c3023 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSku.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSku.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerproducts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSkus.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSkus.java index 5995200..6dee674 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSkus.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSkus.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerproducts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSkusByTargetSegment.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSkusByTargetSegment.java index fa8fc0a..6e23fd6 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSkusByTargetSegment.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerproducts/GetCustomerSkusByTargetSegment.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerproducts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/CheckDomainAvailability.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/CheckDomainAvailability.java index 62665ab..8601159 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/CheckDomainAvailability.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/CheckDomainAvailability.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/CreateCustomer.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/CreateCustomer.java index d2b781c..a52781b 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/CreateCustomer.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/CreateCustomer.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/DeleteCustomerFromTipAccount.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/DeleteCustomerFromTipAccount.java index d2cb1c6..51a7bbe 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/DeleteCustomerFromTipAccount.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/DeleteCustomerFromTipAccount.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/FilterCustomers.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/FilterCustomers.java index c9d9639..46ac3bb 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/FilterCustomers.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/FilterCustomers.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerDetails.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerDetails.java index 836bc8c..7a3a0a0 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerDetails.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerDetails.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerManagedServices.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerManagedServices.java index 8d29a52..408c45c 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerManagedServices.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerManagedServices.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerRelationshipRequest.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerRelationshipRequest.java index c90b6a4..6de59df 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerRelationshipRequest.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetCustomerRelationshipRequest.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetPagedCustomers.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetPagedCustomers.java index 089b60a..4cdf40a 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetPagedCustomers.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/GetPagedCustomers.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/UpdateCustomerBillingProfile.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/UpdateCustomerBillingProfile.java index 5dba8a6..4113fe2 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/UpdateCustomerBillingProfile.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customers/UpdateCustomerBillingProfile.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerservicecosts/GetCustomerServiceCostsLineItems.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerservicecosts/GetCustomerServiceCostsLineItems.java index 6c2b3f8..ef5a5b7 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerservicecosts/GetCustomerServiceCostsLineItems.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerservicecosts/GetCustomerServiceCostsLineItems.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerservicecosts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerservicecosts/GetCustomerServiceCostsSummary.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerservicecosts/GetCustomerServiceCostsSummary.java index 4c65602..d6c5028 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerservicecosts/GetCustomerServiceCostsSummary.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerservicecosts/GetCustomerServiceCostsSummary.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerservicecosts; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CreateCustomerUser.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CreateCustomerUser.java index 57cb83a..804a479 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CreateCustomerUser.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CreateCustomerUser.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignGroup1Licenses.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignGroup1Licenses.java index b3e9b18..4815897 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignGroup1Licenses.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignGroup1Licenses.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignGroup2Licenses.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignGroup2Licenses.java index c5c76c9..01d0f4f 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignGroup2Licenses.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignGroup2Licenses.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignLicenses.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignLicenses.java index cf76153..470064d 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignLicenses.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignLicenses.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup1AndGroup2Licenses.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup1AndGroup2Licenses.java index 0918c13..dbf3362 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup1AndGroup2Licenses.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup1AndGroup2Licenses.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup1Licenses.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup1Licenses.java index e6119d9..ae6f62b 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup1Licenses.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup1Licenses.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup2Licenses.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup2Licenses.java index 6740d8e..0871aa7 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup2Licenses.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedGroup2Licenses.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedLicenses.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedLicenses.java index 22eb462..113a33a 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedLicenses.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserAssignedLicenses.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserRestore.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserRestore.java index 728c9e8..cbbe2ba 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserRestore.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/CustomerUserRestore.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/DeleteCustomerUser.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/DeleteCustomerUser.java index 3cf2f69..8a0e517 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/DeleteCustomerUser.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/DeleteCustomerUser.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerInactiveUsers.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerInactiveUsers.java index 6110782..6ee706c 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerInactiveUsers.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerInactiveUsers.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserCollection.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserCollection.java index 38613e6..a5ccfc3 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserCollection.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserCollection.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserDetails.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserDetails.java index 4f0ac19..88df5b8 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserDetails.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserDetails.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserDirectoryRoles.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserDirectoryRoles.java index d97b979..d180b66 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserDirectoryRoles.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetCustomerUserDirectoryRoles.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetPagedCustomerUsers.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetPagedCustomerUsers.java index de9afa6..f91e8d3 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetPagedCustomerUsers.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/GetPagedCustomerUsers.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/SortedCustomerUsers.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/SortedCustomerUsers.java index 7fcbcf0..18a79a3 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/SortedCustomerUsers.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/SortedCustomerUsers.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/UpdateCustomerUser.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/UpdateCustomerUser.java index f6757c4..28d4134 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/UpdateCustomerUser.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/customerusers/UpdateCustomerUser.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.customerusers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateConfigurationPolicy.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateConfigurationPolicy.java index 14d538c..25178a3 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateConfigurationPolicy.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateConfigurationPolicy.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateDeviceBatch.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateDeviceBatch.java index 31ee10c..4c44c51 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateDeviceBatch.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateDeviceBatch.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateDevices.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateDevices.java index a98c9c6..672b1dd 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateDevices.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/CreateDevices.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/DeleteConfigurationPolicy.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/DeleteConfigurationPolicy.java index caa5d94..51c3fe1 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/DeleteConfigurationPolicy.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/DeleteConfigurationPolicy.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/DeleteDevice.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/DeleteDevice.java index f3ff042..6d19082 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/DeleteDevice.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/DeleteDevice.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetAllConfigurationPolicies.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetAllConfigurationPolicies.java index d0e1f11..32d6cf8 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetAllConfigurationPolicies.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetAllConfigurationPolicies.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetBatchUploadStatus.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetBatchUploadStatus.java index ab1a69b..7979587 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetBatchUploadStatus.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetBatchUploadStatus.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetDevices.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetDevices.java index 570a997..5d5dadb 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetDevices.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetDevices.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetDevicesBatches.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetDevicesBatches.java index 8b64eec..b906438 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetDevicesBatches.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/GetDevicesBatches.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/UpdateConfigurationPolicy.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/UpdateConfigurationPolicy.java index 2c895c0..5923c1a 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/UpdateConfigurationPolicy.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/UpdateConfigurationPolicy.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/UpdateDevicesPolicy.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/UpdateDevicesPolicy.java index c2546db..ad87006 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/UpdateDevicesPolicy.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/devicesdeployment/UpdateDevicesPolicy.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.devicesdeployment; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/entitlements/GetEntitlements.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/entitlements/GetEntitlements.java index 7786d11..0e0837d 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/entitlements/GetEntitlements.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/entitlements/GetEntitlements.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.entitlements; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/helpers/ConsoleHelper.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/helpers/ConsoleHelper.java index 19ded17..a610ab4 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/helpers/ConsoleHelper.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/helpers/ConsoleHelper.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.helpers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/CreateCustomerForIndirectReseller.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/CreateCustomerForIndirectReseller.java index ae37d7f..435c64a 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/CreateCustomerForIndirectReseller.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/CreateCustomerForIndirectReseller.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.indirectmodel; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetCustomersOfIndirectReseller.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetCustomersOfIndirectReseller.java index 01ad960..3b7a10c 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetCustomersOfIndirectReseller.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetCustomersOfIndirectReseller.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.indirectmodel; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetIndirectResellers.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetIndirectResellers.java index 249e9ab..b16bd63 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetIndirectResellers.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetIndirectResellers.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.indirectmodel; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetIndirectResellersOfCustomer.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetIndirectResellersOfCustomer.java index d8885bb..4d9c072 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetIndirectResellersOfCustomer.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetIndirectResellersOfCustomer.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.indirectmodel; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetSubscriptionsByMpnId.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetSubscriptionsByMpnId.java index aff36f7..ce0b000 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetSubscriptionsByMpnId.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/GetSubscriptionsByMpnId.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.indirectmodel; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/PlaceOrderForCustomer.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/PlaceOrderForCustomer.java index b52a771..fd68d1b 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/PlaceOrderForCustomer.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/PlaceOrderForCustomer.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.indirectmodel; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/VerifyPartnerMpnId.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/VerifyPartnerMpnId.java index 2aacd79..55ec91b 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/VerifyPartnerMpnId.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/indirectmodel/VerifyPartnerMpnId.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.indirectmodel; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetAccountBalance.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetAccountBalance.java index 8973dba..e3fe317 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetAccountBalance.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetAccountBalance.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.invoice; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoice.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoice.java index 2aa4db3..cfea16f 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoice.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoice.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.invoice; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceLineItems.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceLineItems.java index e1e1166..5786607 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceLineItems.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceLineItems.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.invoice; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceStatement.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceStatement.java index 9f84f11..9dc3aaa 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceStatement.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceStatement.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.invoice; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceSummary.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceSummary.java index e6d7d5d..7072f89 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceSummary.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetInvoiceSummary.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.invoice; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetPagedInvoices.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetPagedInvoices.java index db85f77..3d0eb23 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetPagedInvoices.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/invoice/GetPagedInvoices.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.invoice; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOffer.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOffer.java index 313fcad..6c13c56 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOffer.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOffer.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.offers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOfferCategories.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOfferCategories.java index 8147be8..98cab34 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOfferCategories.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOfferCategories.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.offers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOffers.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOffers.java index a7bafc2..c01a0a8 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOffers.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetOffers.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.offers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetPagedOffers.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetPagedOffers.java index 8a174a3..4239b52 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetPagedOffers.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/offers/GetPagedOffers.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.offers; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/CreateAzureReservationOrder.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/CreateAzureReservationOrder.java index 70bffb3..8be880b 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/CreateAzureReservationOrder.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/CreateAzureReservationOrder.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.orders; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/CreateOrder.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/CreateOrder.java index 9c20e0f..38484bc 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/CreateOrder.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/CreateOrder.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.orders; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/GetOrders.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/GetOrders.java index 31a9cb7..a5e3f1d 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/GetOrders.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/orders/GetOrders.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.orders; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/CheckInventory.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/CheckInventory.java index 0391e17..d53597b 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/CheckInventory.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/CheckInventory.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailabilities.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailabilities.java index f2e3cc5..a46245a 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailabilities.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailabilities.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailabilitiesByTargetSegment.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailabilitiesByTargetSegment.java index 2b7c411..9cd2af1 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailabilitiesByTargetSegment.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailabilitiesByTargetSegment.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailability.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailability.java index c10f675..40912ec 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailability.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetAvailability.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProduct.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProduct.java index f779198..c225638 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProduct.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProduct.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProducts.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProducts.java index d08e8c2..5e33592 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProducts.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProducts.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProductsByTargetSegment.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProductsByTargetSegment.java index f90905c..13555e1 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProductsByTargetSegment.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetProductsByTargetSegment.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSku.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSku.java index c3a001e..1547c51 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSku.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSku.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSkus.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSkus.java index 3ebb355..725f466 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSkus.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSkus.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSkusByTargetSegment.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSkusByTargetSegment.java index 73dda08..27676da 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSkusByTargetSegment.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/products/GetSkusByTargetSegment.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.products; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/ratecards/GetAzureSharedRateCard.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/ratecards/GetAzureSharedRateCard.java index b8f7dc9..7f75f18 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/ratecards/GetAzureSharedRateCard.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/ratecards/GetAzureSharedRateCard.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.ratecards; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/ratedusage/GetCustomerUsageSummary.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/ratedusage/GetCustomerUsageSummary.java index 9219ce1..43f1b3b 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/ratedusage/GetCustomerUsageSummary.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/ratedusage/GetCustomerUsageSummary.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.ratedusage; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/AggregateScenarioExecutionStrategy.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/AggregateScenarioExecutionStrategy.java index 4ee3789..6a8f46a 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/AggregateScenarioExecutionStrategy.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/AggregateScenarioExecutionStrategy.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.scenarioexecution; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/IScenarioExecutionStrategy.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/IScenarioExecutionStrategy.java index a1fee8d..53b7ba2 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/IScenarioExecutionStrategy.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/IScenarioExecutionStrategy.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.scenarioexecution; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/PromptExecutionStrategy.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/PromptExecutionStrategy.java index b13e8c0..b9ccc0d 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/PromptExecutionStrategy.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/scenarioexecution/PromptExecutionStrategy.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.scenarioexecution; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetAllCustomerServiceRequests.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetAllCustomerServiceRequests.java index 37414ac..73f99a2 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetAllCustomerServiceRequests.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetAllCustomerServiceRequests.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.servicerequests; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetPagedPartnerServiceRequests.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetPagedPartnerServiceRequests.java index c020199..fecb9d3 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetPagedPartnerServiceRequests.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetPagedPartnerServiceRequests.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.servicerequests; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetPartnerServiceRequestDetails.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetPartnerServiceRequestDetails.java index b0449e0..6955632 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetPartnerServiceRequestDetails.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetPartnerServiceRequestDetails.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.servicerequests; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetServiceRequestSupportTopics.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetServiceRequestSupportTopics.java index e7968a3..2efdfbc 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetServiceRequestSupportTopics.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/GetServiceRequestSupportTopics.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.servicerequests; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/UpdatePartnerServiceRequest.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/UpdatePartnerServiceRequest.java index b20631e..9164619 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/UpdatePartnerServiceRequest.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/servicerequests/UpdatePartnerServiceRequest.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.servicerequests; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/AddSubscriptionAddOn.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/AddSubscriptionAddOn.java index 06568f7..63cfafb 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/AddSubscriptionAddOn.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/AddSubscriptionAddOn.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.subscriptions; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/ConvertTrialSubscription.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/ConvertTrialSubscription.java index c4da4c6..70d5f8b 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/ConvertTrialSubscription.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/ConvertTrialSubscription.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.subscriptions; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptionProvisioningStatus.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptionProvisioningStatus.java index 6aec9f7..f26ed88 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptionProvisioningStatus.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptionProvisioningStatus.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.subscriptions; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptionSupportContact.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptionSupportContact.java index f396d75..7570384 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptionSupportContact.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptionSupportContact.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.subscriptions; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptions.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptions.java index 4655f1e..53027ae 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptions.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/GetSubscriptions.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.subscriptions; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/RegisterSubscription.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/RegisterSubscription.java index 535be18..cc8c9a9 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/RegisterSubscription.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/RegisterSubscription.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.subscriptions; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpdateSubscription.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpdateSubscription.java index af44254..2714147 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpdateSubscription.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpdateSubscription.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.subscriptions; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpdateSubscriptionSupportContact.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpdateSubscriptionSupportContact.java index 20d0962..63bf004 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpdateSubscriptionSupportContact.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpdateSubscriptionSupportContact.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.subscriptions; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpgradeSubscription.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpgradeSubscription.java index 8f6ac43..a3ab316 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpgradeSubscription.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/subscriptions/UpgradeSubscription.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.subscriptions; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/utilization/GetAzureSubscriptionUtilization.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/utilization/GetAzureSubscriptionUtilization.java index be2d53d..5ab48b3 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/utilization/GetAzureSubscriptionUtilization.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/utilization/GetAzureSubscriptionUtilization.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.utilization; diff --git a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/validations/AddressValidation.java b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/validations/AddressValidation.java index 79bc009..0493455 100644 --- a/sdk/src/main/java/com/microsoft/store/partnercenter/samples/validations/AddressValidation.java +++ b/sdk/src/main/java/com/microsoft/store/partnercenter/samples/validations/AddressValidation.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.samples.validations; diff --git a/sdk/src/main/resources/SamplesConfiguration.json b/sdk/src/main/resources/SamplesConfiguration.json index fa70557..6c2fee1 100644 --- a/sdk/src/main/resources/SamplesConfiguration.json +++ b/sdk/src/main/resources/SamplesConfiguration.json @@ -1,13 +1,13 @@ { "PartnerServiceSettings": { "PartnerServiceApiEndpoint": "https://api.partnercenter.microsoft.com", - "AuthenticationAuthorityEndpoint": "https://login.windows.net/", - "GraphEndpoint": "https://graph.windows.net", + "AuthenticationAuthorityEndpoint": "https://login.microsoftonline.com/", + "GraphEndpoint": "https://graph.windows.net/.default", "CommonDomain": "common" }, "UserAuthentication": { "ClientId": "", - "ResourceUrl": "https://api.partnercenter.microsoft.com" + "Scope": "https://api.partnercenter.microsoft.com/user_impersonation" }, "AppAuthentication": { "ApplicationId": "", diff --git a/secure-app-model/keyvault/cpvsample/pom.xml b/secure-app-model/keyvault/cpvsample/pom.xml index e6e30d3..67a8301 100644 --- a/secure-app-model/keyvault/cpvsample/pom.xml +++ b/secure-app-model/keyvault/cpvsample/pom.xml @@ -39,7 +39,7 @@ com.microsoft.store partnercenter - 1.13.6 + 1.14.1 org.slf4j diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/Program.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/Program.java index fd085e1..307ad41 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/Program.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/Program.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/PropertyName.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/PropertyName.java index 1d5c83c..50cb897 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/PropertyName.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/PropertyName.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/models/ApplicationConsent.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/models/ApplicationConsent.java index 280f5b7..fa57f20 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/models/ApplicationConsent.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/models/ApplicationConsent.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample.models; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/models/ApplicationGrant.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/models/ApplicationGrant.java index 838ab46..6f55109 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/models/ApplicationGrant.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/models/ApplicationGrant.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample.models; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/AccessTokenProvider.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/AccessTokenProvider.java index 77500a9..cb91bba 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/AccessTokenProvider.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/AccessTokenProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample.security; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/AzureTokenProvider.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/AzureTokenProvider.java index dd0f354..ffe3e54 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/AzureTokenProvider.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/AzureTokenProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample.security; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/GraphAuthenticationProvider.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/GraphAuthenticationProvider.java index 98aa89c..bf0154b 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/GraphAuthenticationProvider.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/GraphAuthenticationProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample.security; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/IAccessTokenProvider.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/IAccessTokenProvider.java index 6d8fd4a..0035f97 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/IAccessTokenProvider.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/IAccessTokenProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample.security; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/IVaultProvider.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/IVaultProvider.java index 2f11c91..4175748 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/IVaultProvider.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/IVaultProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample.security; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/KeyVaultProvider.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/KeyVaultProvider.java index 77e2265..ad55181 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/KeyVaultProvider.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/KeyVaultProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample.security; diff --git a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/SecureLoginHandler.java b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/SecureLoginHandler.java index 1d1a333..44ce74b 100644 --- a/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/SecureLoginHandler.java +++ b/secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/SecureLoginHandler.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cpvsample.security; diff --git a/secure-app-model/keyvault/cspsample/pom.xml b/secure-app-model/keyvault/cspsample/pom.xml index a633b03..5fd13f6 100644 --- a/secure-app-model/keyvault/cspsample/pom.xml +++ b/secure-app-model/keyvault/cspsample/pom.xml @@ -39,7 +39,7 @@ com.microsoft.store partnercenter - 1.13.6 + 1.14.1 org.slf4j diff --git a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/Program.java b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/Program.java index c71146f..ac36d19 100644 --- a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/Program.java +++ b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/Program.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cspsample; diff --git a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/PropertyName.java b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/PropertyName.java index 42d646d..360cec5 100644 --- a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/PropertyName.java +++ b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/PropertyName.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cspsample; diff --git a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/AccessTokenProvider.java b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/AccessTokenProvider.java index 7f34f8f..4a883e5 100644 --- a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/AccessTokenProvider.java +++ b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/AccessTokenProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cspsample.security; diff --git a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/AzureTokenProvider.java b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/AzureTokenProvider.java index 97aae6f..40a0269 100644 --- a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/AzureTokenProvider.java +++ b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/AzureTokenProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cspsample.security; diff --git a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/GraphAuthenticationProvider.java b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/GraphAuthenticationProvider.java index dc6fcd6..94e828e 100644 --- a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/GraphAuthenticationProvider.java +++ b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/GraphAuthenticationProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cspsample.security; diff --git a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/IAccessTokenProvider.java b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/IAccessTokenProvider.java index f9ef5b0..830c429 100644 --- a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/IAccessTokenProvider.java +++ b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/IAccessTokenProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cspsample.security; diff --git a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/IVaultProvider.java b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/IVaultProvider.java index 0195398..c44c05a 100644 --- a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/IVaultProvider.java +++ b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/IVaultProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cspsample.security; diff --git a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/KeyVaultProvider.java b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/KeyVaultProvider.java index 6876d43..e01dfd3 100644 --- a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/KeyVaultProvider.java +++ b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/KeyVaultProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cspsample.security; diff --git a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/SecureLoginHandler.java b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/SecureLoginHandler.java index 6a290ee..a77f448 100644 --- a/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/SecureLoginHandler.java +++ b/secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/SecureLoginHandler.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.secureappmodel.cspsample.security; diff --git a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/controllers/HomeController.java b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/controllers/HomeController.java index 843141d..f2e12ae 100644 --- a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/controllers/HomeController.java +++ b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/controllers/HomeController.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.partnerconsent.controllers; diff --git a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/models/StateData.java b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/models/StateData.java index 6918754..18427db 100644 --- a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/models/StateData.java +++ b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/models/StateData.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.partnerconsent.models; diff --git a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/AuthenticationFilter.java b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/AuthenticationFilter.java index 1b5fa91..fcadb64 100644 --- a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/AuthenticationFilter.java +++ b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/AuthenticationFilter.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.partnerconsent.security; diff --git a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/IVaultProvider.java b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/IVaultProvider.java index bdd5ea4..233aee7 100644 --- a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/IVaultProvider.java +++ b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/IVaultProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.partnerconsent.security; diff --git a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/KeyVaultProvider.java b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/KeyVaultProvider.java index 1566915..016223a 100644 --- a/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/KeyVaultProvider.java +++ b/secure-app-model/keyvault/partnerconsent/src/main/java/com/microsoft/store/samples/partnerconsent/security/KeyVaultProvider.java @@ -1,8 +1,5 @@ -// ----------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// ----------------------------------------------------------------------- +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.samples.partnerconsent.security;