Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion samples/integration/vcpkg-all-smoke/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <azure/attestation.hpp>
#include <azure/core.hpp>
#include <azure/core/internal/json/json.hpp>
#include <azure/identity.hpp>
#include <azure/keyvault/certificates.hpp>
#include <azure/keyvault/keys.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
*/

#include <azure/attestation.hpp>
#include <azure/core/base64.hpp>
#include <azure/core/cryptography/hash.hpp>
#include <azure/core/internal/cryptography/sha_hash.hpp>
#include <azure/identity.hpp>

#include <chrono>
Expand All @@ -34,7 +31,6 @@ using namespace Azure::Security::Attestation;
using namespace Azure::Security::Attestation::Models;
using namespace std::chrono_literals;
using namespace Azure::Core;
using namespace Azure::Core::Cryptography::_internal;

int main()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
#include "cryptohelpers.hpp"

#include <azure/attestation.hpp>
#include <azure/core/base64.hpp>
#include <azure/core/cryptography/hash.hpp>
#include <azure/core/internal/cryptography/sha_hash.hpp>
#include <azure/identity.hpp>

#include <chrono>
Expand All @@ -37,7 +34,6 @@ using namespace Azure::Security::Attestation;
using namespace Azure::Security::Attestation::Models;
using namespace std::chrono_literals;
using namespace Azure::Core;
using namespace Azure::Core::Cryptography::_internal;

int main()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <thread>
#include <vector>

// cspell:: words mrsigner mrenclave mitm
// cspell: words mrsigner mitm
using namespace Azure::Security::Attestation;
using namespace Azure::Security::Attestation::Models;
using namespace std::chrono_literals;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@
// Both of these should be available from the Azure portal.
//

#include <azure/core/diagnostics/logger.hpp>
#include <azure/core/internal/diagnostics/log.hpp>
#include <azure/messaging/eventhubs.hpp>

using namespace Azure::Core::Diagnostics;
using namespace Azure::Core::Diagnostics::_internal;

#include <iostream>

int main()
Expand All @@ -43,7 +38,6 @@ int main()
// Retrieve properties about the EventHubs instance just created.
auto eventhubProperties{consumerClient.GetEventHubProperties()};
std::cout << "Created event hub, properties: " << eventhubProperties << std::endl;
Log::Stream(Logger::Level::Verbose) << "Created event hub, properties: " << eventhubProperties;

// Retrieve properties about the EventHubs instance just created.
auto partitionProperties{
Expand All @@ -57,13 +51,11 @@ int main()
partitionClientOptions.StartPosition.Earliest = true;
partitionClientOptions.StartPosition.Inclusive = true;

Log::Stream(Logger::Level::Verbose)
<< "Creating partition client. Start position: " << partitionClientOptions.StartPosition;
Log::Stream(Logger::Level::Verbose)
<< "Creating partition client. Start position: " << partitionClientOptions.StartPosition;
std::cerr << "Creating partition client. Start position: "
Comment thread
antkmsft marked this conversation as resolved.
Outdated
<< partitionClientOptions.StartPosition;

Log::Stream(Logger::Level::Verbose) << "earliest: HasValue: " << std::boolalpha
<< partitionClientOptions.StartPosition.Earliest.HasValue();
std::cerr << "earliest: HasValue: " << std::boolalpha
<< partitionClientOptions.StartPosition.Earliest.HasValue();
Comment thread
antkmsft marked this conversation as resolved.
Outdated
if (partitionClientOptions.StartPosition.Earliest.HasValue())
{
std::cerr << "earliest: Value: " << std::boolalpha
Expand Down