Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - MatthiasVDE

Pages: [1] 2
General Board / How to model an API architecture
« on: April 11, 2018, 10:04:25 pm »
I search some examples of the modelling of an API architecture in EA. Starting from the canonical/logical data model, over inner API's to consumer API's and the front-end.

The intention is to describe a layered design:

- Front-end (HTML5 /JS)
- Consumer API
- Consumer Java code
- Inner API
- Inner Java code
- Legacy System
- Database

The data model is located between the ESB and the Inner Java Code, because the ESB will translate the legacy data to the new data model that will be accessed through the API's. For each attribute we have to keep track of the source attribute, in order to create a mapping table afterwards.

Uml Process / AS400/RPG to Java API migration
« on: April 07, 2018, 05:34:54 pm »
In our company we have a monolithic as400 system with a DB2 database. The long term plan is to migrate everything to a new service oriented Java API platform.

The architectural plan is to expose the necessary RPG Routines as SOAP Web Services (1 on 1), and then transform them to REST services with the help of IBM Integration Bus. The REST services must already be based on the new data model. On top of the IIB layer we will create a Java API layer (with API Connect above) to provide data to the consumer applications. In fact, we will do SOA/API.

The problem is that the whole project approach is bottom-up, we do not have any contact with the business, only with the AS400 analyst/developers (dinosaurs  :)).

One of the steps in the whole plan is to create use cases, use cases that will be used to create the granularity for the API's. So, my question is, what is the best approach to create use cases, bottom up, from AS400 RPG routines?

Automation Interface, Add-Ins and Tools / Generate data model subset + JSON
« on: December 22, 2017, 02:19:03 am »
With the Message Composer from Geert Bellekens it's possible to create a subset from the canonical data model.
But if you want to generate JSON files you have to run the Schema Composer and create a new schema from that subset.

Is there a solution to do this in a simple way: create subset + generate json file?


General Board / Associations & the Schema Composer
« on: May 11, 2017, 11:58:08 pm »
I create e schema in EA13 and add some classes without to that schema, logically there are no associations visible in the schema composer.
But now, when I add the associations afterwards to my class diagram, the associations are still not visible in the schema composer. Next step, I remove the classes from my schema composer and add them again in the hope that the associations will be visible, unfortunately still no associations visible in the schema composer.

What next? I create a new schema and add my classes, now, the associations are visible.

Is it normal that you need to create a new schema to get some changes on your class diagram visible in the schema composer?

The following code creates a class diagram under the BIGroup element, this part works. But when I try to set the orientation of that class diagriam to landscape, it seems not working. When I debug it by showing a message box with the orientation, he gives me an 'L'.
Code: [Select]
function EA_OnPostNewElement(Info)
    dim elementID
    elementID = Info.Get("ElementID")
dim BIGroup
set BIGroup = Repository.GetElementByID(elementID)
dim classDiagram 'as EA.Diagram
set classDiagram = BIGroup.Diagrams.AddNew("LDM-BI Entities Overview", "Class")
classDiagram.Orientation = "L"
end function

Which Broadcast Event occurs when an attribute is dragged from the project browser to an element (f.e. a class)? I tried with the EA_OnPostNewAttribute(Repository, Info) event but no results...


On the label of a connector you can choose the direction so that a litle black arrow appears. Now I want to query that value, but I can't find  that value in the DB.

Automation Interface, Add-Ins and Tools / Hide stereotype notation
« on: March 25, 2017, 01:44:29 am »
When you create an mdg with uml profiles, and you don't use shapescripts, how can you prevent that the stereotype appears on your diagram?

Is it possible to remove duplicate elements from an arraylist?
I tried with some functions but no success.

Code: [Select]
'returns an ArrayList without duplicates
function removeDuplicates(arraylist)

dim result
set result = CreateObject("System.Collections.ArrayList")

dim element as EA.Element
for each element in arrayList
dim b
b = contains(arraylist, element)

'if contains then
'end if

set removeDuplicates = result
end function

Code: [Select]
'returns boolean
function contains(arraylist, element)
set contains = false
dim res as EA.Element
for each res in arrayList
if res.ElementID = element.ElementID then
set contains = true
exit for
end if

end function

Automation Interface, Add-Ins and Tools / Model Search Group
« on: January 03, 2017, 09:06:20 pm »
What's the purpose of scripts that are created in the Model Search Group? I can't find any explanation about this script group...

Bugs and Issues / MDG Technology Import not available
« on: December 16, 2016, 03:40:09 am »
I've just installed EA 12.1, but when I want to import an MDG technology and I navigate to the 'Project' menu, the "MDG Technology Import" option (and some other) are not visible. How can i solve this issue?


General Board / Import XMI as model pattern
« on: December 16, 2016, 12:59:59 am »
Has EA the possibility to import XMI files that can be used as model patterns in the model wizard?

General Board / Attribute and type with the same name
« on: December 13, 2016, 09:18:59 pm »
In this tutorial I read the following:

In our case we needed an URL NameSpace tag on our WSPackage. To do so I added a Tagged Value type called “namespace” and in the “Detail:” field we added the text “Type=URL;”. Now we have defined the Tagged Value type and it is ready to be used in our element. To do so add an Attribute with the same name as the Tagged Value, and type the name of the Tagged Value type in the “Type:” field. In our case an Attribute named “namespace” with the Type “namespace”.


If I add an attribute to an element with the name "namespace", and I choose as type also "namespace", I get the following error message:

Attribute with that name already exists

General Board / Error while importing MDG file
« on: December 08, 2016, 10:10:26 pm »

I'm using Enterprise Architect 12 Corporate Edition and I receive the following erorr when I import an MDG file that is probably created in EA 12.1:

"The current version of EA only supports ID's up to 12 characters in length. Please shorten the ID field in the profile and retry".

It looks evident for me that I just need to shorten the ID, but where in the xml file can I find the right ID field?


General Board / Link labels and text fields to class diagram attributes
« on: December 06, 2016, 07:50:44 pm »
I'm creating a wireframe in Enterprise Architect with fields and labels. I've also created a class diagram with different classes and attributes.
My question now is if it's possible to link the text fields and the labels on the wireframe to specific attributes in the classes?

For example:

The field or label "Company name" on the wireframe needs a link to the attribute 'name' in the class 'Company'.
This is very handy for the developpers to know in wich object/attribute they need to save the information from the fiels, or to get the information from to show in a label.


Pages: [1] 2