jms-broker


License

License

GroupId

GroupId

com.hack23.cia
ArtifactId

ArtifactId

jms-broker
Last Version

Last Version

2018.11.16
Release Date

Release Date

Type

Type

bundle
Description

Description

jms-broker
jms-broker
Project Organization

Project Organization

www.hack23.com
Source Code Management

Source Code Management

https://github.com/Hack23/cia/tree/master/jms-broker

Download jms-broker

Dependencies

compile (15)

Group / Artifact Type Version
org.apache.activemq : artemis-spring-integration jar 2.6.3.redhat-00004
io.netty : netty-buffer jar 4.1.31.Final
io.netty : netty-transport jar 4.1.31.Final
io.netty : netty-codec-http jar 4.1.31.Final
io.netty : netty-common jar 4.1.31.Final
io.netty : netty-handler jar 4.1.31.Final
io.netty : netty-transport-native-epoll jar 4.1.31.Final
io.netty : netty-transport-native-kqueue jar 4.1.31.Final
io.netty : netty-codec jar 4.1.31.Final
org.apache.geronimo.specs : geronimo-jms_2.0_spec jar 1.0.0.alpha-2-redhat-2
org.jasypt : jasypt-hibernate4 jar 1.9.2
org.jasypt : jasypt-spring31 jar 1.9.3.redhat_3
org.slf4j : jcl-over-slf4j jar 1.8.0-beta2
org.springframework : spring-jms jar 5.1.2.RELEASE
org.apache.xbean : xbean-spring jar 4.12

Project Modules

There are no modules declared in this project.

Citizen Intelligence Agency

Tracking politicians like bugs. Citizen Intelligence Agency is independent and non-partisan voluntary project.

Using Statistical Machine Intelligence and Learning Engine and Business Rules Management System to track politicians.

license FOSSA Status CLA assistant Maven Central Jenkins Jenkins tests Build Status Coverage Lines of Code Technical Debt CII Best Practices CodeFactor Maintainability BCH compliance codebeat badge Language grade: Java Black Duck Security Risk DepShield Badge Average time to resolve an issue Percentage of issues still open Quality Gate Quality gate SourceSpy Dashboard

Runtime

[JDK-11 or higher] [JDK-12] [JDK-13] [JDK-14] [JDK-15] [JDK-16] [JDK-17]

Goal

Visualize political activity in Sweden, present key performance indicators and metadata for the actors on national level.

Demo https://www.hack23.com/cia/

Still prototype, live demo running at https:/www.hack23.com/cia/.

Using open data from http://data.riksdagen.se/ , http://www.val.se/ and http://data.worldbank.org/ .

Currently the application displays data, metadata and charts for data related to Swedish parliament and government. Covering parliament members, committees, documents, ballots, decisions, ministries, government members and political parties.

Limited functionality proper navigation, descriptions,content, ui and styling are still not in place.

Roadmap

Plan to make it public some time after 2018.04, running Ubuntu 18.04, Postgresql 10.x, JDK10, Spring framework 5.x , Hibernate 6.x, Vaadin 8.x

#Resources

Project documentation http://hack23.github.io/cia/

Project Architecture http://hack23.github.io/cia/architecture.html

Project Architecture(old) https://structurizr.com/share/37264#Enterprise

3D project view https://www.hack23.com/sonar/project/extension/softvis3d/overview_page?id=com.hack23.cia:cia-all&qualifier=TRK&metricFootprint=complexity&metricHeight=ncloc&metricColor=coverage&layout=district&scale=logarithmic&cameraX=0&cameraY=1551&cameraZ=1570&colorTheme=default

Github source code location https://github.com/Hack23/cia

Build server, jenkins https://www.hack23.com/jenkins/

QA report, sonarqube https://www.hack23.com/sonar/

Repository manager, nexus https://www.hack23.com/nexus/

Reporting Security Issues

Follow instructions

Parlimentary informatics

https://en.wikipedia.org/wiki/Parliamentary_informatics list many good examples of other projects in the domain around the world.

USA https://www.govtrack.us/

Canada http://OpenParliament.ca

European Union http://www.votewatch.eu/

Sweden http://govdata.se/api

http://riksdagsskolket.se/

http://www.demokratikollen.se

Denmark http://www.hvemstemmerhvad.dk/

Finland http://kansanmuisti.fi/

Norway https://www.holderdeord.no/

UK https://www.theyworkforyou.com/ http://www.publicwhip.org.uk/

Germany http://offenesparlament.de

Italy http://parlamento17.openpolis.it/

France https://www.nosdeputes.fr/

Colombia http://www.congresovisible.org/

Jordanian http://www.jpm.jo/

South Korea http://pokr.kr/

Israel https://oknesset.org/

Running docker image

Docker repository : https://hub.docker.com/r/hack23/cia/

  1. docker run hack23/cia:2020.11.21 -p 28443:8443

  2. Access server at https://localhost:28443/cia/ , register new user to get admin access

Installing Debian/Ubuntu package

Currently only build a debian package, works with debian and ubuntu 14.04,16.04,16.10

  1. Installing database(postgres) and openjdk
$ sudo apt-get install openjdk-11-jdk postgresql-11 pgadmin3
  1. Installing Postgresql on Ubuntu
$ sudo apt-get install postgresql-11 postgresql-contrib postgresql-11-pgaudit
  1. Create empty database

Below description set the default username/password and database name used for development, recommend using custom credentials and update the configuration at /opt/cia/webapps/cia/WEB-INF/database.properties to define your own username/password and database name.

$ sudo su - postgres
$ psql
postgres=# CREATE USER eris WITH password 'discord';
postgres=# CREATE DATABASE cia_dev;
postgres=# GRANT ALL PRIVILEGES ON DATABASE cia_dev to eris;
  1. Modify postgres setting, enable prepared transactions and extensions used pg_stat_statements, pgaudit, pgcrypto

Edit file "/etc/postgresql/11/main/postgresql.conf" set

max_prepared_transactions = 100
shared_preload_libraries = 'pg_stat_statements, pgaudit, pgcrypto'
pgaudit.log = ddl
pg_stat_statements.track = all
pg_stat_statements.max = 10000
  1. Modify postgres setting Edit file "/etc/postgresql/11/main/pg_hba.conf" add line
host all all ::1/128 md5
  1. Restart postgres
$ service postgresql restart
  1. Get cia debian package and
$ wget https://oss.sonatype.org/content/repositories/releases/com/hack23/cia/cia-dist-deb/2020.11.21/cia-dist-deb-2020.11.21.deb
  1. Install debian package
$ sudo dpkg -i cia-dist-deb-2020.11.21.deb
  1. Access the server at https://localhost:28443/cia/ .

Application package diagram overview

Package overview diagram Api docs

Cloudformation template diagram

Cloudformation

FOSSA Status

Get more details at codescene.io.

com.hack23.cia

www.hack23.com

Development of Secure Open Source Software Applications and Tools.

Versions

Version
2018.11.16
2018.10.17
2018.9.23
2018.9.8
2018.8.17
2018.7.31
2018.5.21
2018.5.8
2018.4.30
2018.4.3
2018.2.25
2018.1.27
2018.1.20
2017.12.24
2017.11.28
2017.11.12
2017.9.15
2017.8.27
2017.7.24
2017.6.6
2017.5.17
2017.4.23
2017.4.15
2017.2.24
2017.1.21
2017.1.1
2016.12.22
2016.12.13
2016.11.22
2016.11.15
2016.11.13
2016.10.2
2016.9.17
2016.8.17
2016.7.28
2016.7.5
2016.5.7
2016.4.3
2016.3.7
2016.2.7
2016.1.10
2015.12.20
2015.12.01
2011.05.31
1.0.0-beta-1.2
1.0.0-beta-1.1
1.0.0-beta-1