Recent posts

#21
General Archi Discussion / Re: Specialize (Directed) Asso...
Last post by Phil Beauvoir - February 03, 2023, 10:40:51 AM
Quote from: rchevallier on February 03, 2023, 10:34:37 AMHi Phil, Specialization are great
Do you have a document somewhere for the planned evolutions for this concept (like requested above)

Hi, the Roadmap for Archi, coArchi, coArchi 2, jArchi, and other plug-ins is not defined in a fine-grained document. See https://www.archimatetool.com/roadmap/ for the broader picture.

BTW - a feature request must first be defined and discussed at GitHub before it is even considered. See https://forum.archimatetool.com/index.php?topic=371.0

Regards,

Phil
#22
General Archi Discussion / Re: Specialize (Directed) Asso...
Last post by rchevallier - February 03, 2023, 10:34:37 AM
Hi Phil, Specialization are great
Do you have a document somewhere for the planned evolutions for this concept (like requested above)
#23
General Archi Discussion / Re: Publishing Capita Selecta
Last post by Jean-Baptiste Sarrodie - February 02, 2023, 20:07:47 PM
Hi,

Quote from: johmut on February 02, 2023, 09:16:57 AMThat could work ! Any 'boilerplate' script I can use as a kick-starter?

Sorry but no :-(

Regards,

JB
#24
General Archi Discussion / Re: Specialize (Directed) Asso...
Last post by Phil Beauvoir - February 02, 2023, 16:45:06 PM
Hi, no this is not possible because Specializations for relationships were not implemented to use the Specialization name as the relationship's name. We could consider that a feature request. Specifying the directed attribute could be possible, too, for a future version.
#25
General Archi Discussion / Specialize (Directed) Associat...
Last post by johmut - February 02, 2023, 16:05:36 PM
Hi,

Is there a way to define a Specialization of an Association Relation that is always Directed? and perhaps has a specified Name, e.g., Refers to?

KR,
JM
#26
General Archi Discussion / Re: Publishing Capita Selecta
Last post by johmut - February 02, 2023, 09:16:57 AM
Thanks JB,

That could work ! Any 'boilerplate' script I can use as a kick-starter?

KR,
JM
#27
General Archi Discussion / Re: Publishing Capita Selecta
Last post by Jean-Baptiste Sarrodie - February 01, 2023, 19:25:33 PM
Hi,

In your context, the best option would be to add some properties on folders to define which SMEs are concerned, and then use a script which updates "_hide_from_export_" property based on chosen audience. You can then generate the HTML export and undo the execution of the script.

For example, if you define a property named "Target Audience", and set it (potentially multiple times) on some folders or view, with its value being chosen in a list composed of your SME's name (e.g. "Security", "Data", and "Technology"), then a basic algorithm for this script would be:
1. Prompt user to known which audience to filter on.
2. Iterate on all folders or views and set the property "_hide_from_export_" to "true" on selected objects.
3. Iterate on all folders or views having an instance of property "Target Audience" whose value matches chosen audience, an remove property "_hide_from_export_" on selected objects and their children (for folders)
4. Script end, you can now run your HTML export.
5. Undo script execution.

Regards,

JB
#28
General Archi Discussion / Publishing Capita Selecta
Last post by johmut - February 01, 2023, 16:04:57 PM
Hi,
Architects are modeling in one repository (using coArchi + git). Subject Matter Experts would need to be able to browse through the elements and views created for their subject area (domain). Generating an HTML Report publishes the entire repository as a website. Making that website available to all SME's is information-security-wise not advised/allowed. How can we publish capita selecta from our model into an HTML report web-site?

Create a new model and re-create the views in the model tree + copy/paste of the view elements from source to target is not an option. Many views.... and View Link Elements (DnD View on View/Element) are not pasted, so no more drill down from the views into the linked views ...

Use the _hide_from_export_ property on folders, elements, views is not practical as this needs to be re-set by every architect that wants to generate a web-site from the perspective of his/her SME's in a Domain....

Please advise on how you publish from your models only those foldrs, elements, views that ar relevant for review by business stakeholders in different domains?

Thanks &
Kind Regards,
JohMut.
#29
Quote from: Jean-Baptiste Sarrodie on January 10, 2023, 10:40:12 AMHi,

Quote from: Jean-Baptiste Sarrodie on January 09, 2023, 16:43:51 PMI'm fortunate enought to know the IT4IT Forum Chair. I'm asking him directly and will let you know.

I've just had an answer : some last minute changes/fixes have been needed and the model is still being processed by experts inside the Open Group IT4IT Forum. It should be published officially soon.

Regards,

JB

I am interested as well. I want to start leveraging to explain the concepts at my organization.
#30
jArchi / Re: How do you unit test your ...
Last post by Jean-Baptiste Sarrodie - January 27, 2023, 09:25:05 AM
Hi,

Quote from: Phil Beauvoir on January 26, 2023, 21:28:33 PM@Jean-Baptiste Sarrodie didn't you once create a testing suite?

Not a real one.

Quote from: AlwaysLearning on January 20, 2023, 17:14:51 PMcan simply write a "Run Tests function" in a second script which includes the main script and then calls each of the test functions. 

That's basically how I do it. I try to separate script behavior and UI functions so that it becomes easier to test the behavior. But it also requires to define some helper function to easily switch on a debug mode which prints as much information as possible.

I'm not aware of a better testing framework for JS only application (ie. outside nodeJS), but if you find (or build) one, I could use it ;-)

Regards,

JB