Skip to content

Instantly share code, notes, and snippets.

@tnmtechnologies
Last active November 20, 2020 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnmtechnologies/7d118e02a62cc3f987d23a0002415052 to your computer and use it in GitHub Desktop.
Save tnmtechnologies/7d118e02a62cc3f987d23a0002415052 to your computer and use it in GitHub Desktop.
[quarkus/native] Namf MT service starts in 51ms including registration to NRF (quarkus native docker run)
> docker run -i --rm -e NF_APIROOT=http://192.168.128.62:8283 -e NF_NRF_APIROOT=http://192.168.128.62:8080 -e NF_NFINSTANCEID=82830000-0000-0000-0000-000000000000 -e NF_NRF_NFM_HEARTBEATTIMER=10 -e QUARKUS_JAEGER_ENDPOINT=http://192.168.128.62:14268/api/traces -p 8283:8080 quarkus/getting-started-native
__ ____ __ _____ ___ __ ____ ______
--/ __ \/ / / / _ | / _ \/ //_/ / / / __/
-/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
3GPP 5GC Access and Mobility Management Function - MT service
Namf_MT service (15.2.0)
Technical specification document http://www.3gpp.org/ftp//Specs/archive/29_series/29.518/29518-f20.zip
Exposed endpoints
-----------------
- Namf_MT API
{apiRoot}/namf-mt/v1
- OpenAPI
{apiRoot}/openapi
- Health check
{apiRoot}/health
{apiRoot}/health/live
{apiRoot}/health/ready
- Metrics
{apiRoot}/metrics
{apiRoot}/metrics/application
{apiRoot}/metrics/vendor
- Swagger UI
{apiRoot}/swagger-ui
Build informations
------------------
version 5.5.4-SNAPSHOT
date 2020-11-18T12:05:04Z
commit cd97a48
A b<>com software (https://b-com.com)
Powered by Quarkus 1.8.3.Final
2020-11-20 16:19:46,184 INFO [com.bco.new._3g._5g.nf.com.mic.con.con.BaseConverter] (main) AbstractConverter()
2020-11-20 16:19:46,184 INFO [com.bco.new._3g._5g.nf.com.mic.con.con.PlmnIdConverter] (main) PlmnIdConverter()
2020-11-20 16:19:46,184 INFO [com.bco.new._3g._5g.nf.com.mic.con.con.BaseConverter] (main) AbstractConverter()
2020-11-20 16:19:46,184 INFO [com.bco.new._3g._5g.nf.com.mic.con.con.SnssaiConverter] (main) SnssaiConverter()
2020-11-20 16:19:46,194 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFManagementBean] (main) NFManagementBean()
2020-11-20 16:19:46,194 INFO [com.bco.new._3g._5g.amf.mt.ser.mod.NFApiDataProducer] (main) create()
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.amf.mt.ser.mod.NFApiDataProducer] (main) create()
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.mod.NFServiceProducer] (main) createNFService(nfApiRoot=http://192.168.128.62:8283, defaultDuration=86,400, nfApiData=NFApiData(nfType=AMF, serviceName=namf-mt, apiFullVersion=1.0.0, apiVersionInUri=v1))
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.mod.NFProfileProducer] (main) getNfApiRootUrl(nfApiRoot=http://192.168.128.62:8283)
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.mod.NFProfileProducer] (main) createNFProfile(nfApiRoot=http://192.168.128.62:8283, heartBeatTimer=10, nfApiData, nfService)
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.mod.NFProfileProducer] (main) getNfApiRootUrl(nfApiRoot=http://192.168.128.62:8283)
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFManagementBean] (main) setNFProfile(nfProfile)
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFHeartBeatRunnable] (main) NFHeartBeatRunnable()
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFManagementBean] (main) setNfHeartBeatRunnable(nfHeartBeatInstance)
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.nfp.api.NFProfileServiceDecorator] (main) NFProfileServiceDecorator(decorated)
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.nfp.imp.NFManagementConsumerNFProfileServiceDecorator] (main) NFManagementConsumerNFProfileServiceDecorator()
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFManagementBean] (main) setNfProfileService(nfProfileService)
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFManagementBean] (main) setNrfApiRoot(nrfApiRoot=http://192.168.128.62:8080)
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFManagementBean] (main) onStartup(startupEvent)
2020-11-20 16:19:46,195 INFO [com.bco.new._3g._5g.nf.com.nfp.imp.NFProfileServiceImpl] (main) NFProfileServiceImpl()
2020-11-20 16:19:46,196 INFO [com.bco.new._3g._5g.nf.com.nfp.api.NFProfileServiceDecorator] (main) NFProfileServiceDecorator(decorated)
2020-11-20 16:19:46,196 INFO [com.bco.new._3g._5g.nf.com.nfp.imp.NFManagementConsumerNFProfileServiceDecorator] (main) NFManagementConsumerNFProfileServiceDecorator(decorated, restClientBuilder)
2020-11-20 16:19:46,196 WARN [org.jbo.res.res.i18n] (main) RESTEASY002160: Provider instance io.smallrye.opentracing.SmallRyeClientTracingFeature is already registered. 2nd registration is being ignored.
2020-11-20 16:19:46,196 INFO [com.bco.new._3g._5g.nf.com.nfp.imp.NFManagementConsumerNFProfileServiceDecorator] (main) createOrUpdate(nfProfile[nfInstanceId]=82830000-0000-0000-0000-000000000000)
2020-11-20 16:19:46,197 INFO [com.bco.new._3g._5g.nf.com.nfp.api.NFProfileServiceDecorator] (main) update(nfProfile) nfInstanceId=82830000-0000-0000-0000-000000000000
2020-11-20 16:19:46,197 INFO [com.bco.new._3g._5g.nf.com.nfp.imp.NFProfileServiceImpl] (main) NFProfileServiceImpl()
2020-11-20 16:19:46,197 INFO [com.bco.new._3g._5g.nf.com.nfp.imp.NFProfileServiceImpl] (main) createOrUpdate(nfProfile[nfInstanceId]=82830000-0000-0000-0000-000000000000)
2020-11-20 16:19:46,197 INFO [com.bco.new._3g._5g.nf.com.nfp.imp.NFProfileServiceImpl] (main) get()
2020-11-20 16:19:46,206 INFO [com.bco.new._3g._5g.nf.com.jax.fil.log.LoggingWriterInterceptor] (main) LoggingWriterInterceptor()
2020-11-20 16:19:46,233 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFHeartBeatRunnable] (pool-4-thread-1) NFHeartBeatRunnable(defaultDuration=86400, minDuration=3600, nfProfileService)
2020-11-20 16:19:46,233 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFHeartBeatRunnable] (pool-4-thread-1) setHeartBeatTimer(heartBeatTimer=10)
2020-11-20 16:19:46,233 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFHeartBeatRunnable] (pool-4-thread-1) setNFProfileService(nfProfileService)
2020-11-20 16:19:46,233 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFRuntimeAttributesServiceProducer] (pool-4-thread-1) createNFRuntimeAttributesService()
2020-11-20 16:19:46,233 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.SimulatedNFRuntimeAttributesService] (pool-4-thread-1) SimulatedNFRuntimeAttributesService()
2020-11-20 16:19:46,233 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFHeartBeatRunnable] (pool-4-thread-1) setRuntime(nfRuntimeAttributesService)
2020-11-20 16:19:46,233 INFO [com.bco.new._3g._5g.nf.com.nrf.nfm.NFHeartBeatRunnable] (pool-4-thread-1) run()
2020-11-20 16:19:46,233 INFO [com.bco.new._3g._5g.nf.com.nfp.api.NFProfileServiceDecorator] (pool-4-thread-1) get()
2020-11-20 16:19:46,233 INFO [com.bco.new._3g._5g.nf.com.nfp.imp.NFProfileServiceImpl] (pool-4-thread-1) get()
2020-11-20 16:19:46,234 INFO [io.quarkus] (main) 5gc-amf-mt-server 5.5.4-SNAPSHOT native (powered by Quarkus 1.8.3.Final) started in 0.051s. Listening on: http://0.0.0.0:8080 and https://0.0.0.0:8443
2020-11-20 16:19:46,234 INFO [io.quarkus] (main) Profile prod activated.
2020-11-20 16:19:46,234 INFO [io.quarkus] (main) Installed features: [cdi, hibernate-validator, jaeger, rest-client, resteasy, resteasy-jsonb, servlet, smallrye-health, smallrye-metrics, smallrye-opentracing, swagger-ui]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment