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
1
General Board / Versioning with composed components
« on: June 22, 2018, 05:15:28 pm »
We model our integration architecture and API's with ArchiMate symbols. An API (ArchiMate_ApplicationService) is composed of some components (ArchiMate_ApplicationComponent)

- API (ArchiMate_ApplicationService)
  • Gateway (ArchiMate_ApplicationComponent)
  • Java Code (ArchiMate_ApplicationComponent)
  • Integration  (ArchiMate_ApplicationService)
  • AS400 Service  (ArchiMate_ApplicationService)
  • RPG Routine  (ArchiMate_ApplicationComponent)



Suppose there is a new version of the ESB Admissibility service that impacts the whole Admissibility API so we need to deploy a new version of that API. In the Admissibility API v2.0, we will use the new ESB Admissibility v2.0, but for all the other components we reuse the v1.0 versions. A big remark is that we will stil use the Admissibility API v1.0 besides the Admissibility API v2.0 for some implementations.

The v1.0 components that we will reuse in the Admissibility API v2.0, can't be duplicated in EA as parts of the two versions of the Admissibility API, and that's a big problem...
For example the Admissibility GW v1.0 must be a part of Admissibility API v1.0 and Admissibility API v2.0, how can we handle this?

2
Automation Interface, Add-Ins and Tools / EAI Patterns
« on: May 31, 2018, 07:37:22 pm »
Does anyone know if there's an MDG available to model EAI patterns?

3
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
- ESB
- 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.


4
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?

5
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?

Thanks

6
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?

7
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"
classDiagram.Update()
BIGroup.Diagrams.Refresh()
end function

8
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...

Thanks,

9
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.

10
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?

11
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
'
'else
'
'end if


next
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
next


end function

12
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...

13
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?

Thanks

14
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?

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

Quote
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”.

So...

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:

Quote
Attribute with that name already exists

Pages: [1] 2