Commit 6df34572 authored by Bonita CI's avatar Bonita CI
Browse files

Merge branch 'master' into 'business_arch_in_db'

parents 470b713d c0d86914
......@@ -98,7 +98,7 @@ dropBusinessDataDBOnExit=Clean business data database on exit
dropBusinessDataDBOnBDMChanges=Clean business data database on changes
queryExpressionGuidance=Select the Business Object and the corresponding query to execute. Set the value for each parameter required by the query.
bdmCompatibilityTitle=Warning: Impact of changes
bdmCompatibilityMsg=This BDM is available to all processes in your Studio, and to pages using REST API calls. Changing the BDM might cause inconsistencies.\nAfter the BDM update, validate each diagram and check your pages.\nIf you have changed the Mandatory or Multiple setting for an attribute, or if you have changed a unique constraint, you must clear the values of the business data in the database.
bdmCompatibilityMsg=This BDM is available to all processes in your Studio, and to pages using REST API calls. Changing the BDM might cause inconsistencies.\nAfter the BDM update, validate each diagram and check your pages.\nIf you have changed the Mandatory or Multiple setting for an attribute, a unique constraint, or if you have changed a Business Object attribute Type you must clear the values of the business data in the database.
clearExistingBusinessData=Clear data
businessObjectNameAlreadyExists=A Business Object already exists with the same name
installFailedTitle=Deploy failed
......@@ -148,4 +148,4 @@ addBusinessObjectDataWindowTitle=New business variable
defaultValueBusinessDataTooltip=Business data can be initialized with existing Business Objects using a query\nor by creating a new one using a Groovy Script and the provided dao variable (XXXDAO.newInstance()).
cleaningBusinessObjects=Cleaning Business data model...
countQueryInfo=To get paged results from a REST API query on this business object you must create a related count query. For a query named "queryName", create a query named "countForQueryName" that counts the total number of results.
missingCountQuery=You can define a count query {0} to enable paged results from this REST API query.
\ No newline at end of file
missingCountQuery=You can define a count query {0} to enable paged results from this REST API query.
......@@ -101,8 +101,6 @@ public class Repository implements IRepository, IJavaContainer {
private static final String CLASS = "class";
private static final String BONITA_HOME_NAME = "bonita_home";
private final IProject project;
private SortedMap<Class<?>, IRepositoryStore<? extends IRepositoryFileStore>> stores;
......@@ -119,6 +117,8 @@ public class Repository implements IRepository, IJavaContainer {
private final ProjectClasspathFactory bonitaBPMProjectClasspath;
private boolean isLoaded = false;
public Repository(final IWorkspace workspace,
final IProject project,
final ExtensionContextInjectionFactory extensionContextInjectionFactory,
......@@ -286,9 +286,11 @@ public class Repository implements IRepository, IJavaContainer {
stores.clear();
stores = null;
}
isLoaded = false;
}
protected synchronized void initRepositoryStores(final IProgressMonitor monitor) {
isLoaded = false;
if (stores == null || stores.isEmpty()) {
disableBuild();
stores = new TreeMap<Class<?>, IRepositoryStore<? extends IRepositoryFileStore>>(new Comparator<Class<?>>() {
......@@ -317,6 +319,7 @@ public class Repository implements IRepository, IJavaContainer {
}
}
}
isLoaded = true;
}
private boolean migrationEnabled() {
......@@ -423,7 +426,7 @@ public class Repository implements IRepository, IJavaContainer {
@Override
public <T> T getRepositoryStore(final Class<T> repositoryStoreClass) {
if (stores == null || stores.isEmpty()) {
if (!isLoaded()) {
initRepositoryStores(NULL_PROGRESS_MONITOR);
enableBuild();
}
......@@ -731,7 +734,7 @@ public class Repository implements IRepository, IJavaContainer {
@Override
public boolean isLoaded() {
return stores != null && !stores.isEmpty();
return isLoaded;
}
public IScopeContext getScopeContext() {
......
......@@ -228,10 +228,12 @@
<unit id="org.codehaus.groovy24.feature.feature.group" version="2.9.2.xx-201509250011-e44"/>
<unit id="com.google.guava.sdk.feature.feature.group" version="11.0.1"/>
<unit id="com.google.guava.runtime.feature.feature.group" version="11.0.1"/>
<unit id="org.eclipse.m2e.feature.feature.group" version="1.5.1.20150109-1820"/>
<unit id="org.eclipse.m2e.feature.feature.group" version="1.6.2.20150902-0002"/>
<unit id="org.eclipse.m2e.sdk.feature.feature.group" version="1.6.2.20150902-0002"/>
<unit id="com.google.guava" version="15.0.0.v201403281430"/>
<unit id="org.codehaus.groovy.m2eclipse.feature.feature.group" version="2.9.2.xx-201509250011-e44"/>
<unit id="org.eclipse.m2e.jdt" version="1.5.1.20150109-1820"/>
<unit id="org.eclipse.m2e.feature.feature.group" version="1.6.2.20150902-0002"/>
<unit id="org.eclipse.m2e.jdt" version="1.6.2.20150902-0002"/>
<unit id="org.jspresso.contrib.sjsplugin.spock.feature.feature.group" version="2.12.0.201509182051"/>
</location>
</locations>
......
......@@ -77,7 +77,6 @@ autoGeneratedOperationProcessButton=Auto-generate the initialization script.Clic
manuallyDefinedOperationProcessButton=No, gracias. Definir\u00e9 manualmente c\u00f3mo utilizar el contrato.
contractStrictGenerationMsg=The contract inputs have been specified.\nA script that sets the default values of the business variable attributes with the contract input values will be generated. It can be viewed and edited in the Data tab. If the default value of a business variable already exists, this script will override it.\n\nContract inputs and the script can be edited manually.\nHowever, there is no refactoring (for example, updating the attribute name or a multiple property in a business object or contract element will break the script).
invalidBusinessDataSelected=Datos del negocio seleccionados no v\u00e1lidos.
<<<<<<< HEAD
setGeneratedScriptPreviewPageDescription=Preview of the generated script that initializes the default value of the data {0}. To edit this script, go to the Data declaration and edit the default value definition.
generatedScriptPreviewTitle=Vista previa del script generado
scriptNameLabel=Nombre del script
......@@ -87,3 +86,4 @@ preview=Vista previa >
selectMandatories=Mandatory attributes
mandatoryFieldsNotSelectedWarning=Mandatory attribute(s) {0} is/are not selected. Either select it/them or initialize it/them manually.
mandatoryFieldsNotSelectedStepWarning=Mandatory attribute(s) {0} is/are not selected. Either select it/them or create storage and update operations.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment