# Lyo Designer Philosophy

**URL:** <https://forum.open-services.net/t/lyo-designer-philosophy/692>\
**Category:** OSLC\
**Created:** [January 3, 2023, 5:35pm UTC](https://forum.open-services.net/t/lyo-designer-philosophy/692 "2023-01-03T17:35:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krusty84](https://forum.open-services.net/user_avatar/forum.open-services.net/krusty84/32/225_2.png) [@Krusty84](https://forum.open-services.net/u/Krusty84)\
**Post date:** [January 3, 2023, 5:35pm UTC](https://forum.open-services.net/t/lyo-designer-philosophy/692/1 "2023-01-03T17:35:11Z")

</div>

Hello Dear Team,  
Do I understand correctly that after defining some specific domain, Lyo will generate code based on the model + add 3rd libraries, such as an application server, etc., and the generated code will be able to be executed from the wheels?  
Or the generated code will not be able to be executed and I will need to do something else?

Thank you very much!

---

<div class="post-metadata">

**Author:** ![andrew](https://forum.open-services.net/user_avatar/forum.open-services.net/andrew/32/28_2.png) [@andrew](https://forum.open-services.net/u/andrew)\
**Post date:** [January 3, 2023, 5:44pm UTC](https://forum.open-services.net/t/lyo-designer-philosophy/692/2 "2023-01-03T17:44:21Z")

</div>

Hi,

@jad is the Lyo Designer lead, I will leave this question to him.

I would suggest to go through [Toolchain Modelling Workshop](https://oslc.github.io/developing-oslc-applications/eclipse_lyo/toolchain-modelling-workshop.html)

/Andrew

---

<div class="post-metadata">

**Author:** ![jad](https://forum.open-services.net/user_avatar/forum.open-services.net/jad/32/42_2.png) [@jad](https://forum.open-services.net/u/jad)\
**Post date:** [January 3, 2023, 11:27pm UTC](https://forum.open-services.net/t/lyo-designer-philosophy/692/3 "2023-01-03T23:27:22Z")

</div>

Thanks @andrew ! The suggested workshop is indeed a good starting point. It should explain to you @Krusty84 what gets generated, as well as what needs to be done after that. Unfortunatly, it is a bit out of date, but hope the instructions are still valid.

In summary, the API is fully generated. But you still need write some code to get the data from your source.

---

<div class="post-metadata">

**Author:** ![Krusty84](https://forum.open-services.net/user_avatar/forum.open-services.net/krusty84/32/225_2.png) [@Krusty84](https://forum.open-services.net/u/Krusty84)\
**Post date:** [January 11, 2023, 11:53am UTC](https://forum.open-services.net/t/lyo-designer-philosophy/692/4 "2023-01-11T11:53:13Z")

</div>

Dear @jad and @andrew thank you very much!  
I found some data about OSLC and I try to do OSLC adapter for fun and self-education

> **[GitHub - Krusty84/FileSystem\_OSLC\_Connector](https://github.com/Krusty84/FileSystem_OSLC_Connector)**
>
> Contribute to Krusty84/FileSystem\_OSLC\_Connector development by creating an account on GitHub.

After that I will try to use it together Polarion as instance.

Thanks again!

---

<div class="post-metadata">

**Author:** ![Krusty84](https://forum.open-services.net/user_avatar/forum.open-services.net/krusty84/32/225_2.png) [@Krusty84](https://forum.open-services.net/u/Krusty84)\
**Post date:** [January 13, 2023, 2:18pm UTC](https://forum.open-services.net/t/lyo-designer-philosophy/692/5 "2023-01-13T14:18:31Z")

</div>

Hello Dear @jad and @andrew ,  
I have the following question, please,

I have OSLC Adapter - for the file system, via it I can get a direct link to folders and files, and right now, I have a simple URLs, URL as-is:

- [http://localhost:8888/filesystem-adapter/oslc/serviceProviders/3](http://localhost:8888/filesystem-adapter/oslc/serviceProviders/3) (URL to folder)
- [http://localhost:8888/filesystem-adapter/oslc/fs\_entities/FileSystemEntity/3/1](http://localhost:8888/filesystem-adapter/oslc/fs_entities/FileSystemEntity/3/1) (URL to file into folder)

Based on various docs that I read, I understood that there is a possibility to specify the type of URL links (relates\_to or is tracked\_by, etc.)

How should I set kinds for my URLs to folders and files?  
In other words, how do I set some type to the URL, which will be “saying” what this URLs is for, I come from the world of PLM where objects are connected through relationships (within the same database) and I think by categories of relationships between objects

Just kick me on the right way: docs,samples, etc.  
Thank you so much!

---

<div class="post-metadata">

**Author:** ![Krusty84](https://forum.open-services.net/user_avatar/forum.open-services.net/krusty84/32/225_2.png) [@Krusty84](https://forum.open-services.net/u/Krusty84)\
**Post date:** [January 20, 2023, 2:54pm UTC](https://forum.open-services.net/t/lyo-designer-philosophy/692/6 "2023-01-20T14:54:07Z")

</div>

Or… should I establish link type on the OSLC consumer side?

cause OSLC server provide some data as is, and in my case files and folder are simple folders and files… and when I will set link between exposed (via OSLC server) file and some Object in ALM or PLM, Will I be need to set specific relation between ALM object and URL link to file?

---

<div class="post-metadata">

**Author:** ![Krusty84](https://forum.open-services.net/user_avatar/forum.open-services.net/krusty84/32/225_2.png) [@Krusty84](https://forum.open-services.net/u/Krusty84)\
**Post date:** [January 21, 2023, 6:53am UTC](https://forum.open-services.net/t/lyo-designer-philosophy/692/7 "2023-01-21T06:53:40Z")

</div>

I am idiot 🙂

Thanks to [Managing Links in the OSLC AM Specification | Architecture Management - Open Services for Lifecycle Collaboration](https://archive.open-services.net/wiki/architecture-management/Managing-Links-in-the-OSLC-AM-Specification/index.html)

I have understood the idea about link types aka relations

---

<div class="post-metadata">

**Author:** ![jad](https://forum.open-services.net/user_avatar/forum.open-services.net/jad/32/42_2.png) [@jad](https://forum.open-services.net/u/jad)\
**Post date:** [January 24, 2023, 2:44pm UTC](https://forum.open-services.net/t/lyo-designer-philosophy/692/8 "2023-01-24T14:44:24Z")

</div>

Hi @Krusty84 !

Not only in the AM Specification, all specifications contain such links.

If you take the RM specificatiion for example ([OSLC Requirements Management Version 2.1. Part 3: Constraints](https://docs.oasis-open-projects.org/oslc-op/rm/v2.1/os/requirements-management-shapes.html#RequirementShape)) you can see some relations/links defined such as “oslc\_rm:affectedBy” or “oslc\_rm:decomposedBy”, etc.

If you are using LyoDesigner, you can define any such links in your model (called reference propertie).

hope this helps.
