39 Messages
sap-businessobjects-to-collibra-integration
Hello ,
i need to connect SAP BO to Collibra . the sample code provided on marketplace is a bit confusing also its look like some part of code is missing() . if any one have latest version of sample code or the exact steps for integration that would be helpful.
When i tried to launch app without fixing error.it showed me below error:
com.collibra.marketplace.sap.businessobjects.Application - No active profile set, falling back to default profiles: default
2021-11-10 17:28:25,759 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
java.lang.NoSuchMethodError: org.springframework.web.context.support.ServletContextAwareProcessor: method ‘void ()’ not found
If anyone have any solution or point of contact for this type of integration. please Guide us
Thanks In advance
Former User
1.2K Messages
3 years ago
I am also looking for same Resolution …Please let me know if anyone can help on this…Regards
0
0
jamesscicluna1
4 Messages
3 years ago
Hi Pratik and Priyabrata,
Are you running the integration from an IDE? If so, then probably you have some missing configurations or incorrect configurations in your IDE.
Can you try instead to run the integration from terminal by navigating to the sbi-sap-bo-1.0.0 folder (where the pom.xml file resides) and running this command:
mvn spring-boot:run
Alternatively, you can first package the jar using:
mvn clean package
and then execute the jar (created in the target folder ) using:
java -jar sbi-sap-bo-1.0.0.jar
0
0
pratikmori
39 Messages
3 years ago
Hi James & Data Citizens,
Thanks for helping us.
All other configuration related issues were resolved , but we are getting below exception while running the application.
Please refer a above screenshot and please help us out.
3
0
pratikmori
39 Messages
3 years ago
Hi Team,
There are no trailing “/” in the URL that we have provided in application.properties . I am able to login using the same username and password when i hit DGC via the browser. so the credentials are valid
and i can login .Not sure why the same credentials are not working with the connector .
can we set-up a quick call to discuss on this error.
Thanks,
Pratik
1
0
pratikmori
39 Messages
3 years ago
Hi Bas,
As you suggested i checked the DGC logs.In the logs i can see below error entries of userAuthenticationListner
"
** Line 11796: 2021-11-30 12:36:59.410 [ajp-nio-0.0.0.0-8080-exec-37] INFO c.c.d.c.s.a.UserAuthenticationListener - User failed to log in: AuthenticationEvent{userName=‘This is correct just removing beacuse of client data proetection’, sessionId=‘null’, realms=null, timeout=0, licenseType=CONSUMER, productPermissions=‘null’, action=LOGIN, remoteHost=‘null’, userAgent=‘null’, userAgentVersion=‘null’, failureReason=org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.apache.shiro.authc.UsernamePasswordToken] could not be authenticated by any configured realms., timestamp=1638275819410} [trace_id=95b9d883383180bf8636ffd163a0a1f6, trace_flags=01, span_id=608c82deae57b9df]**
"
Please have a look and guide us for further step.
Thanks
Pratik
3
0
pratikmori
39 Messages
3 years ago
Hi Bas van Reeuwijk,
What i need to fill in place of server host
i know about server-port which is in application.properties
EX. In this case
https://server-host:8081/sync
Thanks,
Pratik
0
0
pratikmori
39 Messages
3 years ago
Hi Bas,
The application has started.
Please find below the application logs showing the start-up
2021-12-01 11:26:43,384 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler [“http-nio-8081”]
2021-12-01 11:26:43,410 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 8081 (http) with context path ‘’
2021-12-01 11:26:43,575 [main] INFO com.collibra.marketplace.sap.businessobjects.Application - Started Application in 7.577 seconds (JVM running for 10.026)
However, We are unable to reach the below end point from Chrome browser. Can you please check .
https://localhost:8081/sync
Can you please share any screenshot for the above endpoint screen when hit from local machine ?
Also can you please let us know the significance of the below properties from application.properties file and how we can configure these in local?
server.ssl.enabled=
server.ssl.key-alias=
server.ssl.key-store=
server.ssl.key-store-password=
server.ssl.key-password=
Thanks,
Pratik
1
0
pratikmori
39 Messages
3 years ago
Hi Bas,
As you guided us. i created keystore.jks file. See the below screenshot.
After that i configure the values in application.properties.(This is correct right or do i need to change anything)
Refer below screenshot.
Now i m try to running the application it asking me the username and password.
Refer below ss.
Which credentials i need to pass here ? (Collabra, SAP BO or any other)
Thanks,
Pratik
1
0
pratikmori
39 Messages
3 years ago
Hi Bas,
Screenshot of Application.properties
I am passing the same credenticals.
But it is throwing below error.
do you have any idea what is the issue here.
Thanks
Pratik
1
0
pratikmori
39 Messages
3 years ago
Hi Bas,
I also tried using POSTMAN . Please refer below screenshot.
Am i doing anything wrong in postman ?
Thanks,
Pratik
1
pratikmori
39 Messages
3 years ago
Hi Team,
I got below error:
I have hidden the URL for privacy.
i tried two different path to connect with BO and fetch the token:
2)v1/logon/long
but it is throwing an error in both cases.
can you please tell us what is the issue here.
Thanks,
Pratik
0
0
pratikmori
39 Messages
3 years ago
Hi Team,
Can you please guide us which kind of SAP BO access required to connect with SAP BO and fetch the metadata using the this integration.
Thanks,
Pratik
1
0
pratikmori
39 Messages
3 years ago
@spring-team.collibra.com @bas.van.reeuwijk @james_scicluna.epam.com.
Please guide us
0
0
springboot_team
368 Messages
3 years ago
Hi Pratik,
This error is occurring because an SAPBO entity does not have the flag “hasLov” set to either true or false. This flag indicates whether or not this SAPBO entity has a list of values.
The SAPBO integration is taking the value provided by this flag and adding it as a “Categorical Data” attribute True/False value. But since this value is null, Collibra is failing to process it, thus leading to the failure of the whole Collibra import, thus leading to the failure of the sync.
A fix on the SAPBO integration is needed to avoid this scenario. With this fix, we’ll make sure not to add the “Categorical Data” attribute whenever SAPBO’s “hasLov” entity is null. Similar scenarios for other attributes are also possible, which we’d also need to fix.
We will publish this fix on Marketplace in the near future. We will also included other fixes (such as an upgrade of the log4j dependency due to CVE-2021-44228)
1
0
springboot_team
368 Messages
3 years ago
Hi Pratik,
An updated version of the SAPBO integration has just been published on Marketplace: https://marketplace.collibra.com/listings/sap-businessobjects-to-collibra-integration/
This fixes the issue you faced with regards to null valued SAPBO fields.
And to answer your questions:
The SAPBO user needs to have enough rights to be able to use SAPBO’s REST API to extract universes and their items. It does not need permission to modify, create or delete universes and their items.
Currently the integration only ingests metadata from top-level folders.
0
0