Skip to content

Commit 295d0b8

Browse files
authored
BXMSDOC-3345-master: Fix broken links in community docs. (#1166)
1 parent 80ec1d7 commit 295d0b8

File tree

9 files changed

+44
-48
lines changed

9 files changed

+44
-48
lines changed

doc-content/drools-docs/src/main/asciidoc/AuthoringAssets/XLSDecisionTable-section.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
:context: decision-tables
3+
24
include::decision-tables-con.adoc[]
35

46
include::decision-tables-use-case-con.adoc[leveloffset=+1]

doc-content/drools-docs/src/main/asciidoc/AuthoringAssets/decision-tables-con.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[id='decision-tables-con']
1+
[id='decision-tables-con_{context}']
22
= Decision tables
33

44
Decision tables are XLS or XLSX spreadsheets that you can use to define business rules in a tabular format and that you can upload to your project in {CENTRAL}. Each row in the spreadsheet is a rule, and each column is a condition, an action, or another rule attribute. After you create and upload your decision tables, the rules you defined are compiled into Drools Rule Language (DRL) rules as with all other rule assets.

doc-content/drools-docs/src/main/asciidoc/DMN/dmn-decision-tables-ref.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ifdef::DM,PAM[]
1313
{URL_UPLOADED_DECISION_TABLES}[{UPLOADED_DECISION_TABLES}].
1414
endif::[]
1515
ifdef::DROOLS,JBPM,OP[]
16-
<<_decision_tables_in_spreadsheets>>.
16+
xref:decision-tables-con_decision-tables[].
1717
endif::[]
1818

1919
== Hit policies

doc-content/jbpm-docs/src/main/asciidoc/BPMN2/Activities-section.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ It contains the following properties:
169169
* __Id__: The id of the node (which is unique within one node container).
170170
* __Name__: The display name of the node.
171171
* __Variables__: Additional variables can be defined to store data during the execution of this node.
172-
See section "`<<_sec.data>>`" for details.
173172

174173
== Multi-instance sub-process
175174

doc-content/jbpm-docs/src/main/asciidoc/BPMN2/Events-section.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Represents a timer that can trigger one or multiple times after a given period o
6666
A Timer Event should have one incoming connection and one outgoing connection.
6767
The timer delay specifies how long the timer should wait before triggering the first time.
6868
When a Timer Event is reached in the process, it will start the associated timer.
69-
The timer is canceled if the timer node is canceled (e.g., by completing or aborting the enclosing process instance). Consult the section "`<<_sec.timers>>`" for more information.
69+
The timer is canceled if the timer node is canceled (e.g., by completing or aborting the enclosing process instance). Consult the section "`<<_timers>>`" for more information.
7070
The Timer Event contains the following properties:
7171

7272
* __Id__: The id of the node (which is unique within one node container).

doc-content/jbpm-docs/src/main/asciidoc/BPMN2/Process-section.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,9 @@ image::BPMN2/ProcessProperties.png[]
140140

141141
In addition to that following can be defined as well:
142142

143-
* __Variables__: Variables can be defined to store data during the execution of your process.
144-
See section "`<<_sec.data>>`" for details.
143+
* __Variables__: Variables can be defined to store data during the execution of your process. See section "`<<_variables>>`" for details.
145144
* __Swimlanes__: Specify the swimlanes used in this process for assigning human tasks.
146-
See chapter "`<<_ch.human_tasks>>`" for details.
145+
See chapter "`<<_jbpmtaskservice>>`" for details.
147146

148147
.BPMN2 process variables
149148
image::BPMN2/ProcessVariables.png[]

doc-content/jbpm-docs/src/main/asciidoc/BPMN2/Process-section.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ <h3 id="_details_process_properties">Details: Process properties</h3>
617617
<ul>
618618
<li>
619619
<p><em>Variables</em>: Variables can be defined to store data during the execution of your process.
620-
See section &#8220;<a href="#_sec.data">[_sec.data]</a>&#8221; for details.</p>
620+
See section &#8220;<a href="#_variables">[_variables]</a>&#8221; for details.</p>
621621
</li>
622622
<li>
623623
<p><em>Swimlanes</em>: Specify the swimlanes used in this process for assigning human tasks.
@@ -641,4 +641,4 @@ <h3 id="_details_process_properties">Details: Process properties</h3>
641641
</div>
642642
</div>
643643
</body>
644-
</html>
644+
</html>

doc-content/jbpm-docs/src/main/asciidoc/DomainSpecificProcesses/Overview-section.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Before moving on to an example, this section explains what custom work items and
88

99
In short, we use the term _custom work item_ when we're describing a node in your process that represents a domain-specific task and as such, contains extra properties and is handled by a `WorkItemHandler` implementation.
1010

11-
Because it's a domain-specific __task__, that means that a _custom
11+
Because it's a domain-specific __task__, that means that a _custom
1212
work item_ is equivalent to a `<task>` or ``<task>``-type node in BPMN2.
1313
However, a _``__WorkItem__``_ is also Java class instance that's used when a `WorkItemHandler` instance is called to complete the task or work item.
1414

15-
Depending on the BPMN2 editor you're using, you can create a custom work item definition in one of two ways:
15+
Depending on the BPMN2 editor you're using, you can create a custom work item definition in one of two ways:
1616

17-
* If you're using __Designer__, then this means creating a MVEL based definition and adding the definition in Designer itself. A description of this can be found in the <<_sec.designer.workitems>> section in the <<_ch.designer>> chapter. Once this is done, a new service node will appear on the BPMN 2.0 palette.
18-
* If you're using the _Eclipse BPMN 2.0 modeler plugin_ (which can be found http://eclipse.org/bpmn2-modeler/[here]), then you'll can modify the BPMN2 `<task>` or ``<task>``-type element to work with `WorkItemHandler` implementations. See the <<_sec.eclipse.task_nodes>> section in the <<_ch.eclipse_bpmn_plugin>> chapter.
17+
* If you're using __Designer__, then this means creating a MVEL based definition and adding the definition in Designer itself. Once this is done, a new service node will appear on the BPMN 2.0 palette. For more information, see <<jBPMDesigner>>.
18+
* If you're using the _Eclipse BPMN 2.0 modeler plugin_ (which can be found http://eclipse.org/bpmn2-modeler/[here]), then you'll can modify the BPMN2 `<task>` or ``<task>``-type element to work with `WorkItemHandler` implementations. For more information, see the <<jBPMEclipseModeler>> chapter.
1919

2020

2121
[[_sec.workitemhandler.overview]]
@@ -25,7 +25,7 @@ A _work item handler_ is a Java class used to execute (or abort) work items.
2525
That also means that the class implements the `org.kie.runtime.instance.WorkItemHandler` interface.
2626
While jBPM provides some custom `WorkItemHandler` instances (listed below), a Java developer with a minimal knowledge of jBPM can easily create a new work item handler class with its own custom business logic.
2727

28-
Among others, jBPM offers the following `WorkItemHandler` implementations:
28+
Among others, jBPM offers the following `WorkItemHandler` implementations:
2929

3030
* In the [path]_jbpm-bpmn2_ module, `org.jbpm.bpmn2.handler` package:
3131
+
@@ -38,11 +38,11 @@ Among others, jBPM offers the following `WorkItemHandler` implementations:
3838
There are a many more `WorkItemHandler` implementations present in the [path]_jbpm-workitems_ module.
3939
If you're looking for specific integration logic with Twitter, for example, we recommend you take a look at the classes made available there.
4040

41-
In general, a ``WorkItemHandler``'s `$$.$$executeWorkItem(...)` and ``$$.$$abortWorkItem(...)`` methods will do the following:
41+
In general, a ``WorkItemHandler``'s `$$.$$executeWorkItem(...)` and ``$$.$$abortWorkItem(...)`` methods will do the following:
4242

4343
. Extract information about the task being executed (or aborted) from the `WorkItem` instance
4444
. Execute the necessary business logic. This might be mean interacting with a web service, database, or other technical component.
45-
. Inform the {ENGINE} that the work item has been completed (or aborted) by calling one of the following two methods on the `WorkItemManager` instance passed to the method:
45+
. Inform the {ENGINE} that the work item has been completed (or aborted) by calling one of the following two methods on the `WorkItemManager` instance passed to the method:
4646

4747

4848
[source,java]

doc-content/shared-kie-docs/src/main/asciidoc/Spring/KieSpring-chapter.adoc

Lines changed: 28 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ A kmodule can contain multiple (1..n) kbase elements.
124124
</kie:kbase>
125125
</kie:kmodule>
126126
127-
<bean id="kiePostProcessor"
127+
<bean id="kiePostProcessor"
128128
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
129129
----
130130
====
@@ -133,7 +133,7 @@ A kmodule can contain multiple (1..n) kbase elements.
133133

134134

135135
When defining a KieBase or a KieSession, you have the option of declaring a scope for that bean.
136-
For example, To force Spring to produce a new bean instance each time one is needed, you should declare the bean's scope attribute to be 'prototype'. Similar way if you want Spring to return the same bean instance each time one is needed, you should declare the bean's scope attribute to be 'singleton'.
136+
For example, To force Spring to produce a new bean instance each time one is needed, you should declare the bean's scope attribute to be 'prototype'. Similar way if you want Spring to return the same bean instance each time one is needed, you should declare the bean's scope attribute to be 'singleton'.
137137

138138
=== IMPORTANT NOTE
139139

@@ -144,7 +144,7 @@ For proper initialization of the kmodule objects (kbase/ksession), it is mandato
144144
====
145145
[source,xml]
146146
----
147-
<bean id="kiePostProcessor"
147+
<bean id="kiePostProcessor"
148148
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
149149
----
150150
====
@@ -222,7 +222,7 @@ The same tag is used to define both Stateful (__org.kie.api.runtime.KieSession__
222222
</kie:kbase>
223223
</kie:kmodule>
224224
225-
<bean id="kiePostProcessor"
225+
<bean id="kiePostProcessor"
226226
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
227227
----
228228
====
@@ -231,7 +231,7 @@ The same tag is used to define both Stateful (__org.kie.api.runtime.KieSession__
231231

232232

233233
When defining a KieBase or a KieSession, you have the option of declaring a scope for that bean.
234-
For example, To force Spring to produce a new bean instance each time one is needed, you should declare the bean's scope attribute to be 'prototype'. Similar way if you want Spring to return the same bean instance each time one is needed, you should declare the bean's scope attribute to be 'singleton'.
234+
For example, To force Spring to produce a new bean instance each time one is needed, you should declare the bean's scope attribute to be 'prototype'. Similar way if you want Spring to return the same bean instance each time one is needed, you should declare the bean's scope attribute to be 'singleton'.
235235

236236
=== Kie:ReleaseId
237237

@@ -599,7 +599,7 @@ kie-spring provides features to define the listeners as standalone (individual)
599599
</kie:kbase>
600600
</kie:kmodule>
601601
602-
<bean id="kiePostProcessor"
602+
<bean id="kiePostProcessor"
603603
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
604604
----
605605
====
@@ -625,7 +625,7 @@ kie-spring provides features to define the listeners as standalone (individual)
625625
</kie:kbase>
626626
</kie:kmodule>
627627
628-
<bean id="kiePostProcessor"
628+
<bean id="kiePostProcessor"
629629
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
630630
----
631631
====
@@ -648,14 +648,14 @@ The debug listeners print the corresponding Event toString message to _System.er
648648
<kie:kmodule id="listeners_module">
649649
<kie:kbase name="drl_kiesample" packages="drl_kiesample">
650650
<kie:ksession name="ksession2">
651-
<kie:agendaEventListener />
651+
<kie:agendaEventListener />
652652
<kie:processEventListener />
653653
<kie:ruleRuntimeEventListener />
654654
</kie:ksession>
655655
</kie:kbase>
656656
</kie:kmodule>
657657
658-
<bean id="kiePostProcessor"
658+
<bean id="kiePostProcessor"
659659
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
660660
----
661661
====
@@ -689,7 +689,7 @@ The below sample provides more clarity.
689689
</kie:kbase>
690690
</kie:kmodule>
691691
692-
<bean id="kiePostProcessor"
692+
<bean id="kiePostProcessor"
693693
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
694694
----
695695
====
@@ -716,7 +716,7 @@ It is also valid to define multiple beans of the same event listener types for a
716716
</kie:kbase>
717717
</kie:kmodule>
718718
719-
<bean id="kiePostProcessor"
719+
<bean id="kiePostProcessor"
720720
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
721721
----
722722
====
@@ -769,7 +769,7 @@ Only one declaration of each type is allowed in a group.
769769
770770
<kie:kmodule id="listeners_module">
771771
<kie:kbase name="drl_kiesample" packages="drl_kiesample">
772-
<kie:ksession name="statelessWithGroupedListeners" type="stateless"
772+
<kie:ksession name="statelessWithGroupedListeners" type="stateless"
773773
listeners-ref="debugListeners"/>
774774
</kie:kbase>
775775
</kie:kmodule>
@@ -780,7 +780,7 @@ Only one declaration of each type is allowed in a group.
780780
<kie:ruleRuntimeEventListener ref="mock-rr-listener"/>
781781
</kie:eventListeners>
782782
783-
<bean id="kiePostProcessor"
783+
<bean id="kiePostProcessor"
784784
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
785785
----
786786
====
@@ -811,7 +811,7 @@ This tag has no attributes and must be present directly under a <kie:ksession...
811811
</kie:kbase>
812812
</kie:kmodule>
813813
814-
<bean id="kiePostProcessor"
814+
<bean id="kiePostProcessor"
815815
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
816816
----
817817
====
@@ -856,13 +856,13 @@ This tag has the following attributes and must be present directly under a <kie:
856856
<kie:kbase name="drl_kiesample" packages="drl_kiesample">
857857
<kie:ksession name="ConsoleLogger-statefulSession" type="stateful">
858858
<kie:fileLogger id="fl_logger" file="#{ systemProperties['java.io.tmpdir'] }/log1"/>
859-
<kie:fileLogger id="tfl_logger" file="#{ systemProperties['java.io.tmpdir'] }/log2"
859+
<kie:fileLogger id="tfl_logger" file="#{ systemProperties['java.io.tmpdir'] }/log2"
860860
threaded="true" interval="5"/>
861861
</kie:ksession>
862862
</kie:kbase>
863863
</kie:kmodule>
864864
865-
<bean id="kiePostProcessor"
865+
<bean id="kiePostProcessor"
866866
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
867867
----
868868
====
@@ -922,7 +922,7 @@ The commands supported are
922922
</kie:kbase>
923923
</kie:kmodule>
924924
925-
<bean id="kiePostProcessor"
925+
<bean id="kiePostProcessor"
926926
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
927927
----
928928
====
@@ -943,10 +943,10 @@ The commands supported are
943943
----
944944
<kie:kstore id="kstore" /> <!-- provides KnowledgeStoreService implementation -->
945945
946-
<bean id="myEmf"
946+
<bean id="myEmf"
947947
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
948948
<property name="dataSource" ref="ds" />
949-
<property name="persistenceUnitName"
949+
<property name="persistenceUnitName"
950950
value="org.drools.persistence.jpa.local" />
951951
</bean>
952952
@@ -967,7 +967,7 @@ The commands supported are
967967
</kie:kbase>
968968
</kie:kmodule>
969969
970-
<bean id="kiePostProcessor"
970+
<bean id="kiePostProcessor"
971971
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
972972
----
973973
====
@@ -977,7 +977,7 @@ The commands supported are
977977

978978
This section provides details on leveraging other standard spring features when integrating with Drools Expert.
979979

980-
==== Using Spring Expressions (Spel)
980+
==== Using Spring Expressions (Spel)
981981

982982

983983

@@ -1015,14 +1015,14 @@ This section provides details on leveraging other standard spring features when
10151015
class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
10161016
----
10171017

1018-
==== Using Spring Profiles
1018+
==== Using Spring Profiles
10191019

10201020

10211021
Spring 3.1 introduces a new profile attribute to the beans element of the spring-beans schema.
10221022
This attribute acts as a switch when enabling and disabling profiles in different environments.
10231023
One potential use of this attribute can be to have the same kbase defined with debug loggers in 'dev' environment and without loggers in 'prod' environment.
10241024

1025-
The below code snippet illustrates the concept of 'profiles'.
1025+
The below code snippet illustrates the concept of 'profiles'.
10261026

10271027
[source,xml]
10281028
----
@@ -1056,9 +1056,9 @@ http://drools.org/schema/kie-spring http://drools.org/schema/kie-spring.xsd">
10561056

10571057

10581058
As shown above, the Spring XML contains the definition of the profiles.
1059-
While loading the _ApplicationContext_ you have to tell Spring which profile you`'re loading.
1059+
While loading the _ApplicationContext_ you have to tell Spring which profile you`'re loading.
10601060

1061-
There are several ways of selecting your profile and the most useful is by using the "spring.profiles.active" system property.
1061+
There are several ways of selecting your profile and the most useful is by using the "spring.profiles.active" system property.
10621062

10631063
[source]
10641064
----
@@ -1067,15 +1067,15 @@ ApplicationContext ctx = new ClassPathXmlApplicationContext("beans.xml");
10671067
----
10681068

10691069

1070-
Obviously, it is not a good practice to hard code things as shown above and the recommended practice is to keep the system properties definitions independent of the application.
1070+
Obviously, it is not a good practice to hard code things as shown above and the recommended practice is to keep the system properties definitions independent of the application.
10711071

10721072
[source]
10731073
----
10741074
-Dspring.profiles.active="development"
10751075
----
10761076

10771077

1078-
The profiles can also be loaded and enabled programmtically
1078+
The profiles can also be loaded and enabled programmtically
10791079

10801080
[source]
10811081
----
@@ -1095,11 +1095,7 @@ This chapter describes the infrastructure used when configuring a human task ser
10951095
=== How to configure Spring with jBPM Human task
10961096

10971097

1098-
The jBPM human task server can be configured to use Spring persistence. <<_kie_spring_human_task_example>>
1099-
is an example of this which uses local transactions and Spring's thread-safe EntityManager proxy.
1100-
1101-
The following diagram shows the dependency graph used in <<_kie_spring_human_task_example>>
1102-
.
1098+
The jBPM human task server can be configured to use Spring persistence. The following is a dependency graph for a configuration that uses local transactions and Spring's thread-safe EntityManager proxy:
11031099

11041100
.Spring Human Task integration injection dependencies
11051101
image::Spring/ht-spring-deps.png[align="center"]

0 commit comments

Comments
 (0)