Skip to content

Commit

Permalink
upgrade and improve system
Browse files Browse the repository at this point in the history
  • Loading branch information
trieu committed Sep 24, 2024
1 parent 6d727b3 commit 956291f
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 12 deletions.
6 changes: 2 additions & 4 deletions NOTES-FOR-NEW-SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ Set Linux configs to scale on high load
curl -OL https://download.arangodb.com/arangodb311/DEBIAN/Release.key
sudo apt-key add - < Release.key
echo 'deb https://download.arangodb.com/arangodb311/DEBIAN/ /' | sudo tee /etc/apt/sources.list.d/arangodb.list
sudo apt-get install apt-transport-https
sudo apt-get update && sudo apt-get install arangodb3=3.11.9-1
sudo apt-get install apt-transport-https; sudo apt-get update && sudo apt-get install arangodb3=3.11.9-1

[ArangoDB on CentOS or Rocky Linux](https://idroot.us/install-arangodb-centos-8/)

Expand All @@ -106,8 +105,7 @@ Set Linux configs to scale on high load
deb https://nginx.org/packages/mainline/ubuntu/ jammy nginx
deb-src https://nginx.org/packages/mainline/ubuntu/ jammy nginx

sudo apt-get remove nginx-common
sudo apt-get update ; sudo apt-get install nginx; sudo service nginx start
sudo apt-get remove nginx-common; sudo apt-get update ; sudo apt-get install nginx; sudo service nginx start

[Install nginx on Rocky Linux 9](https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-rocky-linux-9)

Expand Down
10 changes: 8 additions & 2 deletions configs/database-query-template.aql
Original file line number Diff line number Diff line change
Expand Up @@ -1313,8 +1313,14 @@ AQL_UPDATE_AUTHORIZATION_FOR_PROFILES_BY_JOURNEY =>
AQL_DELETE_ALL_DEAD_VISITORS =>
LET c = LENGTH(
FOR p in cdp_profile
FILTER (CHAR_LENGTH(p.firstName) == 0 AND CHAR_LENGTH(p.lastName) == 0 AND CHAR_LENGTH(p.primaryEmail) == 0 AND CHAR_LENGTH(p.primaryPhone) == 0 AND CHAR_LENGTH(p.crmRefId) == 0
AND p.type == 0 AND p.totalLeadScore == 0) OR p.status == -44
FILTER (CHAR_LENGTH(p.firstName) == 0 AND
CHAR_LENGTH(p.lastName) == 0 AND
CHAR_LENGTH(p.primaryEmail) == 0 AND
CHAR_LENGTH(p.primaryPhone) == 0 AND
CHAR_LENGTH(p.crmRefId) == 0 AND
p.type == 0 AND
p.totalLeadScore == 0) OR
p.status == -44
RETURN p._key
)
RETURN c
Expand Down
Binary file modified leo-data-processing-starter-v_0.9.0.jar
Binary file not shown.
Binary file modified leo-main-starter-v_0.9.0.jar
Binary file not shown.
Binary file modified leo-observer-starter-v_0.9.0.jar
Binary file not shown.
Binary file modified leo-scheduler-starter-v_0.9.0.jar
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion resources/app-templates/leocdp-admin/main-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@
$('#userDisplayName').text(dn).attr('title', tt);
window.currentUserProfile = systemUser;

// websocket
registerUserToGetNotifications(systemUser);

if(role === 6) {
// hasSuperAdminRole === true
$("#nav_system_management").show();
Expand Down Expand Up @@ -344,6 +347,10 @@

// show main menu guide
initMainMenuGuide();


}
};
}


</script>
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h5 class="page-header" id="page_breadcrumb" > </h5>
<li>
<a href="javascript:" data-target-tab="panel_segment_data_exporting" title="Data Exporting" > <i class="fa fa-upload" aria-hidden="true"></i> Data Exporting </a>
</li>
<li>
<li style="display: none;" >
<a href="javascript:" data-target-tab="panel_segment_data_connection" title="Data Connection" > <i class="fa fa-exchange" aria-hidden="true"></i> Data Connection </a>
</li>
<li id="segment_data_enrichment" >
Expand Down

0 comments on commit 956291f

Please sign in to comment.