Giter VIP home page Giter VIP logo

chron-notifier's Introduction

UTF8 Instructions

1. Prepare MySQL
In my.cnf

[client]
default-character-set=utf8

[mysqld]
character-set-server=utf8
collation-server=utf8_unicode_ci

2. In the persistance.xml file, your connection should specify utf-8n teh connection URL
?useUnicode=true&connectionCollation=utf8_general_ci&characterSetResults=utf8

3. Create database and table;

create database chron;
use chron;
grant all on chron.* to chron@localhost identified by 'password';
CREATE TABLE `Ticket` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `accountId` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `identifier` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `itemId` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `requestType` int(11) NOT NULL,
  `spaceId` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL,
  `statusMessage` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `submittor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
 

4. Optionally, use tomcat-users for authentication (BAD, VERY BAD!!!). 
The s/w uses two roles, Processor aka chronopolis and Submittor aka duracloud
to manage requests. Here's a brain dead, minimal example of what you can put
in the tomcat-users file. Ideally, you should tie this to LDAP, DB or 
anything w/ an encrypted password

<user username="producer" password="producer" roles="Submittor"/>
<user username="dura" password="producer" roles="Submittor"/>
<user username="chron" password="chron" roles="Processor"/>
<user username="admin" password="admin" roles="Submittor,Processor"/>

chron-notifier's People

Contributors

msmorul avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

awoods

chron-notifier's Issues

Secure service

Add authentication tables/objects, define roles, add accounts for providers, etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.