American

V1.0
1.0 March 10 2015 First version
1.1 March 17 2015 Add Profile User policy for new users

American properties

Group Roles Users Profiles Profiles members
Purge Groups Purge Roles Purge Users Purge Profiles
New Users and Profile 'User':

Operations

Drop Organization file to be digested here
Next auto refresh in {{countdown}} seconds
Timestamp Action Result
{{action.timestamp}} {{action.name}} {{action.status}}

No trace for the moment.

Examples

Show

Csv file:

This is the format of the CSV file you gave. This is a multiple CSV header : each line started by HEADER define the different header. Then, the content is a set of line. The first CSV parameter is the type of the line (ROLE for example), and then the definition follow the line define in the HEADER;ROLE definition.
HEADER;ROLE;RoleName;RoleDescription;RoleDisplayName;RoleIconName;RoleIconPath
HEADER;USER;UserName;UserPassword;UserEnable;UserFirstName; UserLastName;UserIconName;UserIconPath;UserTitle;UserJobTitle;UserManagerUserName;PROContactAddress;PROContactBuilding;PROContactCity;PROContactCountry;PROContactEmail;PROContactFaxNumber;PROContactMobileNumber;PROContactPhoneNumber;PROContactRoom;PROContactState;PROContactWebsite;PROContactZipCode;PERContactAddress;PERContactBuilding;PERContactCity;PERContactCountry;PERContactEmail;PERContactFaxNumber;PERContactMobileNumber;PERContactPhoneNumber;PERContactRoom;PERContactState;PERContactWebsite; PERContactZipCode<
HEADER;GROUP;GroupName;GroupDescription;GroupDisplayName;GroupIconName;GroupIconPath;GroupParentPath
HEADER;MEMBERSHIP;UserName;RoleName;GroupPath
HEARDER;PROFILE;ProfileName;ProfileDescription
HEARDER;PROFILEMEMBER;ProfileName;UserName;RoleName;GroupPath
# data now
# ------------- user
USER;Francis.Huster;bpm;True;Francis;Huster;Huster.gif;c:/tmp;Docteur;Artist;Walter.Bates;Gaumont;Immeuble Carmenia;Paris;France;francis.huster@gaumont.fr;FaxFaumont;06 501 501;01 501 501;Room 51;Ile de France;http://gaumont.fr/huster;75000;Rte Chambery;Charmette;Le versoud;Italie;francis.huster@laposte.net;Fax Perso;06 443 553;04 32 33 22;Room du haut;California;http://Francis.Huster;94706
USER;Walter.Bates;bpm;True;Walter;Bates;Huster.gif;c:/tmp;Docteur;Artist;Walter.Bates;Gaumont;Immeuble Carmenia;Paris;France;francis.huster@gaumont.fr;FaxFaumont;06 501 501;01 501 501;Room 51;Ile de France;http://gaumont.fr/huster;75000;Rte Chambery;Charmette;Le versoud;Italie;francis.huster@laposte.net;Fax Perso;06 443 553;04 32 33 22;Room du haut;California;http://Francis.Huster;94706

Service file:

1. Create a file in the directory /server/tenants//conf/services and set this content.
2. copy the lib included in the custom page in /webapps/bonita/WEB-INF/lib
3. restart the server
Then, every 20 s, the path define in the pathMonitor parameters is checked. Each file the American can understand is managed, and then move to a subpath "archive"
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
 <bean id="custompageservice" class="com.twosigma.bonitasoft.organization.service.OrganizationService" >
   <constructor-arg index="0" ref="sessionAccessor" />
   <constructor-arg index="1" name="pathMonitor" type="java.lang.String" value="C:/atelier/BPM-SP-6.4.1d/american" />
 </bean>

</beans>