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.


Messages - ea0921

Pages: [1] 2 3 ... 7
1
General Board / Provide reason to connect to EA application using DLL
« on: October 14, 2024, 06:54:12 pm »
Hello,

I am using Interop.dll to connect to EA application using API. I want to provide reason for opening the connection with EA application similar to hibernate where we can provide reason of opening a new connection.

Is there any way in EA api where i can provide reason for opening the connection ?

Thanks

2
General Board / Re: Get history of API calls made to EA
« on: September 24, 2024, 06:06:58 pm »
Thanks Geert, this will surely help me with my task

3
General Board / Re: Get history of API calls made to EA
« on: September 24, 2024, 04:40:16 pm »
Is there any for sqllite3 or MS Access which we can do, because (.qea) and (.eapx) uses them internally.

Thanks

4
General Board / Get history of API calls made to EA
« on: September 24, 2024, 04:12:48 pm »
Hello,

I have an application which communicates with EA using API to read/create/update entity in EA.

I want to know the history of API request which has been made in the API, along with their execution time from EA.

Is there any way to find out the following:
1. History of API request which has been made to EA
2. Execution time taken to process the given request

Thanks

5
General Board / EA behavior for multi-threaded environment
« on: September 23, 2024, 11:10:33 pm »
Hello,

I have created a multi-threaded application that communicates with EA system. Set-up for my application is as follows:

There are 5 threads: T1 to T5 which parallelly make request to EA system using API.

Out of all the above 5 threads, suppose request of third thread T3 is wrong request which results into pop-up to be displayed from EA application.
Because of pop-up, my EA application stops its processing for other threads request and all the remaining thread gets halted until the pop-up is not closed.

I want to perform following operation:
1. Fetch the text from pop-up and close the pop-up from the program.(Done)
2. Pass the pop-up to the thread which caused the pop-up. In my case third thread (T3)

I want to know about the following:
1. Is my understanding of EA stops processing further request until pop-up is not closed correct? I want the actual behavior of EA in multi-threaded environment.
2. Is there any way to identify which thread cause the pop-up to occur so that I can get to know which thread caused the issue?

Thanks

6
General Board / Pop-Up: Operation is not allowed when object is closed
« on: September 20, 2024, 04:41:08 pm »
Hello,

I am having a version-controlled package in EA which is syncing from source to other project of EA.
Operations I am performing,

1. While writing any create/update, first take check out of the package
2. Perform create/update operation
3. Perform check in of the package.

While performing this I am getting pop-up of operation is not allowed when object is closed..
Also, there are many requests going on parallelly on the same project at the same time.

Why do I get this type of error in version-controlled package, and how to solve this error or how to avoid this error?

Thanks

7
General Board / Re: API calls limit error from EA
« on: September 20, 2024, 04:31:58 pm »
Thank you Geert

8
Thank you Geert

9
General Board / API calls limit error from EA
« on: September 20, 2024, 03:18:23 pm »
Hello,

I have an integration in which I am integrating multiple projects of EA from to other projects of EA.

Projects used are: .qea(file based), and .eap(mysql database)

There are multiple read and write operations being performed on the projects at the same time parallelly for each entity that is present in the project. Each project has around 3 root nodes and 50 packages in each root node. And each package around 20-30 elements/diagrams in it.

I am getting pop-up of database lock on too many API calls on same project for the (.qea) file.

I want to understand why am i getting this pop-up for (.qea) file. Does EA internally apply some locking mechanism??

Thanks

10
Hello,

I want to add an inline image in element, package, diagram entities in EA. Is there any way in which we can add an inline image in the Notes field, or by creating any custom field (tagged value) in the application for a project and add inline image??


Thanks

11
General Board / List of Error codes
« on: September 16, 2024, 02:48:18 pm »
Hello,

Can someone please share with me error codes list and there meaning or any documentation regarding error codes which we receive from EA application while using API's to communicate with EA application.

Thanks

12
In my environment, I have created multiple integrations from EA to EA. in which I am syncing multiple source projects to multiple target projects in multithreaded environment.

There are multiple qea files and in that qea file there are multiple packages. I have different integration for each package of one qea file, in such a way that there are multiple read and write api calls to same qea file.

Also I am integrating attachments, relationships, diagrams as well. With too many requests, is there any way to prevent the errors to occur.
Also I have version control enabled projects, where every time I do check-out and check-in at every write request.

Few pop ups which I have encountered:
1. Failed to create empty document
2. Warning underlying model data may have been modified by another user.
3. SQL update failed with error : database is locked
4. The memory could not be written.

I am using windows machine I my machine has 12 GB of RAM.

Can you please help me in preventing above kind of issues.

Thanks

13
Thanks Geert for sharing information, it will surely help us in avoiding crashing of EA.

I also wanted to ask that is there any way present in EA by which we can silently ignore all the pop-ups and get the error messages of the pop-ups in the API's itself.

Or else is there any way where we can non-interactively communicate with EA without the need of interactive user.

Thanks

14
Hello,

I am using enterprise architect application as source and target. In the source I have created packages which I want to sync in the target repository.
I am using API to automate this task. I am C# to automate this task.
I am using OpenFile2 command to open the EA repository. In this scenario when I give wrong project path and do not release the GDI objects, after some times I get an pop-up from EA application saying cannot create empty document.
Whenever this pop-up comes up, my automation gets stuck in the middle and I need to manually go to the VM and close the pop-up.

I would like to know more about following two questions:

1: What are the pop-up which EA application gives. And in what case/scenarios does EA give pop-up when interacting EA through API's. Link to the documentation or any blog released by EA will be more helpful.

2: Is there any way in which we can avoid opening of pop-up and get the error message in API response, or some other way to silently handle pop-ups


15
General Board / Loop node
« on: March 15, 2024, 11:27:34 pm »
Hi,

I want to reproduce this diagram https://sparxsystems.com/enterprise_architect_user_guide/16.0/modeling_languages/loop_and_conditional_nodes2.html

I have two questions:

a) How can I insert and display the condition (i.e. i=0) under each action?
b) I have inserted an action into [Test] section but I cannot see it in the Properties > Nodes panel.

Thanks for help

Pages: [1] 2 3 ... 7