Skip to content

Commit

Permalink
Renamed WebBroker demo project for clearity
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobreveglieri committed Mar 23, 2023
1 parent 9d9312f commit 2d788e9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
program Prometheus.Demo.WebBroker;
program Starter.Sample.WebBroker;
{$APPTYPE GUI}

uses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Platform Condition="'$(Platform)'==''">Win32</Platform>
<TargetedPlatforms>1</TargetedPlatforms>
<AppType>Application</AppType>
<MainSource>Prometheus.Demo.WebBroker.dpr</MainSource>
<MainSource>Starter.Sample.WebBroker.dpr</MainSource>
</PropertyGroup>
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
<Base>true</Base>
Expand Down Expand Up @@ -56,7 +56,7 @@
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace)</DCC_Namespace>
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
<Icns_MainIcns>$(BDS)\bin\delphi_PROJECTICNS.icns</Icns_MainIcns>
<SanitizedProjectName>Prometheus_Demo_WebBroker</SanitizedProjectName>
<SanitizedProjectName>Starter_Sample_WebBroker</SanitizedProjectName>
<DCC_UnitSearchPath>..\Prometheus.Client;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
<VerInfo_Locale>1040</VerInfo_Locale>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
Expand Down Expand Up @@ -133,7 +133,7 @@
<BorlandProject>
<Delphi.Personality>
<Source>
<Source Name="MainSource">Prometheus.Demo.WebBroker.dpr</Source>
<Source Name="MainSource">Starter.Sample.WebBroker.dpr</Source>
</Source>
<Excluded_Packages>
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k280.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
Expand All @@ -142,6 +142,12 @@
</Delphi.Personality>
<Deployment Version="4">
<DeployFile LocalName="Win32\Debug\Prometheus.Demo.WebBroker.exe" Configuration="Debug" Class="ProjectOutput"/>
<DeployFile LocalName="Win32\Debug\Starter.Sample.WebBroker.exe" Configuration="Debug" Class="ProjectOutput">
<Platform Name="Win32">
<RemoteName>Starter_Sample_WebBroker.exe</RemoteName>
<Overwrite>true</Overwrite>
</Platform>
</DeployFile>
<DeployClass Name="AdditionalDebugSymbols">
<Platform Name="iOSSimulator">
<Operation>1</Operation>
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion Samples/Starter-WebBroker/WebModules.Prom.pas
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ procedure TPromWebModule.PromWebModuleMetricActionAction(Sender: TObject;
UpdateLastMinuteMetrics;
Response.ContentType := 'text/plain';
Response.ContentStream := TMemoryStream.Create;
var LWriter := TTextRenderer.Create;
var LWriter := TTextExposer.Create;
try
LWriter.Render(Response.ContentStream,
TCollectorRegistry.DefaultRegistry.Collect);
Expand Down

0 comments on commit 2d788e9

Please sign in to comment.