Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fixed Protocol Issue #31

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added ClientLibraries/Libraries/MySqlConnector.dll
Binary file not shown.
Binary file added ClientLibraries/Libraries/Npgsql.dll
Binary file not shown.
Binary file not shown.
41 changes: 41 additions & 0 deletions ClientLibraries/clientlibraryutility/ClientLibraryUtil.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"ClientLibraryUtil/1.1.1": {
"dependencies": {
"Newtonsoft.Json": "11.0.2"
},
"runtime": {
"ClientLibraryUtil.dll": {}
}
},
"Newtonsoft.Json/11.0.2": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "11.0.0.0",
"fileVersion": "11.0.2.21924"
}
}
}
}
},
"libraries": {
"ClientLibraryUtil/1.1.1": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Newtonsoft.Json/11.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-IvJe1pj7JHEsP8B8J8DwlMEx8UInrs/x+9oVY+oCD13jpLu4JbJU2WCIsMRn5C4yW9+DgkaO8uiVE5VHKjpmdQ==",
"path": "newtonsoft.json/11.0.2",
"hashPath": "newtonsoft.json.11.0.2.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.0-rc.1.20451.14"
}
}
}
Binary file not shown.
23 changes: 23 additions & 0 deletions ClientLibraries/consent-to-deploy-client-libraries.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Consent to deploy client libraries

By giving consent to install client libraries to connect with Oracle, PostgreSQL, MySQL, you can use the following libraries in Bold Reports. Bold Reports uses these client libraries to connect with their respective SQL database variants. Read about the licenses of each library to give consent for usage.

---
Oracle.ManagedDataAccess - Oracle License [https://www.oracle.com/downloads/licenses/distribution-license.html]
Oracle
---
Npgsql 4.0.0 - PostgreSQL License [https://github.com/npgsql/npgsql/blob/main/LICENSE]
PostgreSQL
---
MySQLConnector 1.1.0- MIT License [https://github.com/mysql-net/MySqlConnector/blob/master/LICENSE]
MySQL
MemSQL
MariaDB
---

Command to install client libraries from kudu console:

Find the names of client libraries which needs to be passed as a comma separated string for an arguement in install-optional.libs.sh.

e.g.
.\install-optional-libs.ps1 -ClientLibraries "oracle,postgresql,mysql"
72 changes: 72 additions & 0 deletions ClientLibraries/install-optional-libs.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
##########################################################################
# This the powershell script to move client libraries in boldreports designerservice
##########################################################################

[CmdletBinding()]
Param(
[string]$ClientLibraries,
[string]$clientlibraryextractpath = "Libraries"
)

$rootPath = "../reporting"
$pluginDirectories = "api","jobs","web","reportservice"
$apijson="${rootPath}/api/appsettings.Production.json;"
$jobsjson="${rootPath}/jobs/appsettings.Production.json;"
$webjson="${rootPath}/web/appsettings.Production.json;"
$servicejson="${rootPath}/reportservice/appsettings.json;"
$datajson="${rootPath}/web/wwwroot/cdn/scripts/datasource/dataconnectors.json"
$jsonfiles="$apijson$jobsjson$webjson$servicejson$datajson"
$mysqlassemblies=""
$postgresqlassemblies=""
$oracleassemblies=""
$Clientcollection = $ClientLibraries.Split(",")
try {
Foreach ($name in $Clientcollection)
{
Switch ($name)
{
"mysql"{
$mysqlassemblies="${name}=BoldReports.Data.MySQL;MemSQL;MariaDB;"
Foreach ($dirname in $pluginDirectories)
{
$destination="$rootPath/$dirname"
Copy-Item -Path $clientlibraryextractpath/BoldReports.Data.MySQL.dll -Destination $destination
Copy-Item -Path $clientlibraryextractpath/MySqlConnector.dll -Destination $destination
}
echo "mysql libraries are installed"
}
"oracle" {
$oracleassemblies="${name}=BoldReports.Data.Oracle;"
Foreach ($dirname in $pluginDirectories)
{
$destination="$rootPath/$dirname"
Copy-Item -Path $clientlibraryextractpath/BoldReports.Data.Oracle.dll -Destination $destination
Copy-Item -Path $clientlibraryextractpath/Oracle.ManagedDataAccess.dll -Destination $destination
}
echo "oracle libraries are installed"
}
"postgresql"{
$postgresqlassemblies="${name}=BoldReports.Data.PostgreSQL;"
Foreach ($dirname in $pluginDirectories)
{
$destination="$rootPath/$dirname"
Copy-Item -Path $clientlibraryextractpath/BoldReports.Data.PostgreSQL.dll -Destination $destination
Copy-Item -Path $clientlibraryextractpath/Npgsql.dll -Destination $destination
}
echo "postgresql libraries are installed"
}
}
}

$clientLibraries="$mysqlassemblies$oracleassemblies$postgresqlassemblies"
dotnet clientlibraryutility/ClientLibraryUtil.dll $clientLibraries $jsonfiles
echo "client libraries are updated"
}
catch {
if($PSItem.Exception.Message.ToLower().Contains('used by another process')) {
'Exception: ' + $PSItem.Exception.Message
echo 'File Lock Exception Occurred: Please stop the site and try it'
} else {
'Exception: ' + $PSItem.Exception.Message
}
}
20 changes: 0 additions & 20 deletions README.md

This file was deleted.

18 changes: 18 additions & 0 deletions app_data/configuration/product.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"InternalAppUrl": {
"Idp": "http://localhost:51894/",
"Bi": "",
"BiDesigner": "",
"Reports": "http://localhost:51894/reporting",
"ReportsService": "http://localhost:51894/reporting/reportservice"
},
"BoldProducts": [
{
"Name": "BoldReports",
"SetupName": "BoldReports_EnterpriseReporting",
"Version": "3.1.42",
"IDPVersion": "3.1.10",
"IsCommonLogin": false
}
]
}
Binary file added app_data/reporting/exporthelpers/phantomjs.exe
Binary file not shown.
147 changes: 0 additions & 147 deletions armtemplates/v1.1.14/AzureBlobStorage-ReportServer.json

This file was deleted.

Loading